This article contains information about how to use the Provisioning Services Automatic vDisk Update process.
The vDisks assigned to the clients during the Automatic vDisk Update process are new versions of the vDisks currently assigned to the clients; allowing for the automatic distribution of the updated vDisk images to one or more clients. The vDisks can be marked for update at a specific time; allowing the clients to receive the new vDisk image upon boot after the specified time.
Complete the following steps to automatically update a vDisk:
Important: The following steps must be used for PVS version earlier than 6.0. For later versions of PVS (6.x and above), refer to eDocs - Updating vDisks on Physical Devices.Open Farm/Servers.
Right-click on the Provisioning Services (PVS) server.
Select Properties.
In the Option tab, select Check for new versions of a vDisk or Check for incremental updates for a vDisk. Depending on what is required to be updated, select both or either one.
Change the XP01update vDisk to Private Image access mode.
Assign the XP01update vDisk to a separate target device and start the target device to apply the changes.
After updating the XP01Update vDisk with the required software or file changes, shut down the target device.
Change the XP01update vDisk properties to match the original XP01 vDisk.
Change the access mode to match the XP01 vDisk (Standard Image).
Note: There is an option to schedule updates on a particular date.
Ensure that the Class and Type is the same on both XP01 and XP01update vDisk.
The following screen shot shows the version number for the XP01 vDisk:
The following screen shot shows the version number for the XP01update vDisk:
Enable automatic updates in the vDisk File Properties of both the XP01 and XP01update vDisks.
The Target Class has to match the vDisk Class on both the XP01 and XP01update vDisks.
Note: You can use Copy Target Device Properties to copy the Class to multiple targets.
For additional information on Provisioning Services 7.0, refer to Automating vDisk Updates.
In Provisioning Services 5.6, DEBUG or TRACE level logging is configured in the Server properties and the Stream log processes information on the Automating vDisk Update.
Log Location: C:\Documents and Settings\All Users\Application Data\Citrix\Provisioning Services\Log
Example log: The following entries indicate the four targets that were updated from vDisk XP01 to XP01update:
2010-12-22 13:29:46,673 [0x00000a24] TRACE CSSServerCache::DispatchAutoUpdateRequest Recv: LS_AUTO_UPDATE_REQUEST from device at IP:AC102865 2010-12-22 13:29:46,673 [0x00000a24] DEBUG CSSServerCache::DispatchAutoUpdateRequest autoupdate request function = 1 2010-12-22 13:29:46,673 [0x00000a24] TRACE CSSAutoUpdate::TriggerImmediateAutoUpdate AutoUpdate: TriggerImmediateAutoUpdate called 2010-12-22 13:29:46,673 [0x00000a24] TRACE CSSServerCache::DispatchAutoUpdateRequest Send: LS_AUTO_UPDATE_REPLY 2010-12-22 13:29:46,673 [0x0000078c] DEBUG In DoServerGetAllDiskPaths, for serverId = xxxxxxxx-eeee-aaaa-wwww-zzzzzzzzzzzzzz 2010-12-22 13:29:46,673 [0x0000078c] TRACE handing out connection = 0 2010-12-22 13:29:46,673 [0x0000078c] DEBUG In CServerDbAccess::DoGetAllDiskPaths 2010-12-22 13:29:46,689 [0x0000078c] DEBUG harvested storePathPair, storeId = 1dedd544-a53b-4c21-a057-dcc2b73d6600, path = <F:\IMGStore> 2010-12-22 13:29:46,689 [0x0000078c] INFO CSSAutoUpdate::PerformImmediateAutoUpdate Immediate Auto Update process started. 2010-12-22 13:29:46,689 [0x0000078c] DEBUG In DoServerGetAllDiskLocators, for serverId = xxxxxxxx-eeee-aaaa-wwww-zzzzzzzzzzzzzz 2010-12-22 13:29:46,689 [0x0000078c] TRACE handing out connection = 0 2010-12-22 13:29:46,689 [0x0000078c] DEBUG In CServerDbAccess::DoGetAllDiskLocators 2010-12-22 13:29:46,705 [0x0000078c] DEBUG harvested DiskLocatorListItem, storeId = 1dedd544-a53b-4c21-a057-dcc2b73d6600, diskLocatorName = <XP01update>, diskLocatorId = 0ab9a18b-5c87-4182-b782-59ce5a1d67b6 2010-12-22 13:29:46,705 [0x0000078c] DEBUG harvested DiskLocatorListItem, storeId = 1dedd544-a53b-4c21-a057-dcc2b73d6600, diskLocatorName = <XP01>, diskLocatorId = 3065b3bc-b496-4f63-b887-d956286b274e 2010-12-22 13:29:46,705 [0x0000078c] DEBUG In DoDeviceDiskLocatorUpdateDiskLocatorId 2010-12-22 13:29:46,705 [0x0000078c] TRACE handing out connection = 0 2010-12-22 13:29:46,736 [0x0000078c] DEBUG CSSProtocolModule::DoTraceEvent Auto Update: scheduled update of 4 devices from disk 'XP01' to disk 'XP01update'. 2010-12-22 13:29:46,736 [0x0000078c] DEBUG In DoUserGroupDiskLocatorUpdateDiskLocatorId 2010-12-22 13:29:46,736 [0x0000078c] TRACE handing out connection = 0 2010-12-22 13:29:46,767 [0x0000078c] INFO CSSAutoUpdate::PerformImmediateAutoUpdate Immediate Auto Update process finished.