Home Applications Provisioning Services: How to update a vDisk

Provisioning Services: How to update a vDisk

0
0
This article documents the steps I go through when updating a vDisk with new software, configuration changes, etc. The environment being referenced is using a distributed store. This means that there are multiple Provisioning Servers and each has a local copy of the vDisks. Once the image is created or updated, the vDisk must be copied to the other Provisioning Servers.
Step 20 shows a warning about completing certain steps before proceeding. It is critical that these steps are complete before moving to step 21. I have seen issues where keeping a vDisk in Private mode, then copying, then setting it to Private mode does not set that flag properly on the servers where the vDisk was copied too. It becomes very interesting where one server thinks it’s a Private mode image and the other server thinks it’s a Standard mode image.
In Explorer
1)      Copy current vDisk (.vhd and .pvp) files. Do not copy .lok file.
2)      Rename files
In Provisioning Services Console
3)      Right click on vDisk Pool, select Add Existing vDisk
4)      Click Search and uncheck Enable Load balancing on these vDisks
5)      Click Add
6)      Double click on new vDisk, click on Edit File Properties, click on Mode tab and put vDisk in private image mode.
7)      Go to the proper device collection, double click on target device, click on vDisk and attach new vDisk to target device
On Target Device
8)      Boot the target device
9)      Log on at the console as Administrator
10)   Make changes
11)   (Optional) Run PVS Optimizer (Optional if changing an image, a must if you are creating a brand new image).
12)   Stop, delete and reinstall XenAppPrep (assuming XenAppPrep is being used). – I use the lines below and created a batch file to run for ease of use. Please see Jarian Gibson’s article here for more information on XenAppPrep and ways to control it.
a.       c:
b.      cd program filescitrixxenappprep
c.       net stop xenappprep
d.      sc delete xenappprep
e.      xenappprep /pvs
f.        pause
13)   Clear Event Logs – I always clear the event logs when updating an image. You should seriously consider redirecting event logs to a static drive as well.
14)   Shutdown server
In Provisioning Services Console
15)   On the Provisioning Server, double click vDisk and click Edit File Properties
16)   Go to Identification Tab and increment version of vDisk – This is only necessary if you are using Automatic updates.
17)   Go to Mode tab and put Access Mode to Standard Image mode
18)   Change Cache Type to Cache on device’s HD or whatever caching mode you are using.
19)   Hit OK
20)   IT IS CRITICAL THAT STEPS 15 – 19 HAPPEN BEFORE STEP 21 BEGINS
In Explorer
21)   Copy vDisk (pvp and vhd files) to other Provisioning Server
22)   On the vDisk Properties page change the Load Balancing to Use the load balancing algorithm
23)   Right click on vDisk Pool and Check for updates/automatic
24)   Reboot servers and they should come up with the new rev of disk automatically – Assuming of course you have automatic updates configured correctly and the vDisk and target device setup correctly.

More Resources:

DABCC DABCC.com, the world leader in sharing the finest Virtualization & Cloud news and support resources. #Citrix, #VMware, #Microsoft, #Mobility and much more! Brought to you by @douglasabrown & team!

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

| LATEST RESOURCES

White Papers

    Remote Site Print Servers: The Last Stand for Onsite Servers? – White Paper

    Practical Considerations on Consolidation of Print Servers into the Data Centre and Alternative Deployment of Effective Local Print Appliances. Over the past decade, the methods we use to deploy IT services into remote sites has dramatically and irrevocably changed. Years ago, every remote site had its very own dedicated ‘server room’ equipped with a dedicated domain controller; a […]

    Downloads

      Download FREE Access Policy Tool for Citrix XenApp and XenDesktop from Wedel IT

      This is the first of many tools we are currently developing for making the job a bit easier for all the Citrix admins out there. Some of the more advanced configurations in Citrix XenApp and XenDesktop are performed via the PowerShell command line. For some, this might seem scary, as the commands are often somewhat […]

      On-Demand Webinars

        FSLogix Apps and Office 365 Container for Citrix – On-Demand Webinar

        In this Webinar, David Young, Solutions Architect and Product Champion for FSLogix, provides an overview of FSLogix Apps and Office 365 Container for Citrix. This webinar addresses the latest enhancements surrounding Office 365 Container for Citrix including Outlook Search on XenApp. Learn about the significant reduction on network and storage overhead along with drastically enhanced application […]

        Latest Videos

          Automate Patch Management Video

          This video is from the fine folks at ManageEngine Learn more at, https://www.manageengine.com/ About ManageEngine ManageEngine delivers the real-time IT management tools that empower IT teams to meet organizational needs for real-time services and support. Worldwide, established and emerging enterprises – including more than 60 percent of the Fortune 500 – rely on ManageEngine products to ensure […]

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com

          Visit our Sponsors


          Close