Manage Device Collections, Target Devices, and vDisks
Convert Private Mode vDisk to Standard Mode vDisk
Power down the VM to remove the lock associated with the VM. In the Provisioning Services Console open the vDisk Properties and change Access Mode from Private Image to Standard Image.
Automation process for creating multiple VMs for Machine Catalog
Launch Streamed VM Setup Wizard
- Requirements: Hypervisor connection and plate VM
- Existing Provisioning Services Device Collection
- A standard-mode vDisk for the selected VM template
A template VM in XenServer needs to be created prior because a container needs to exist for the settings that correspond with VM hardware.
In XenCenter:
- Create new VM.
- Name it Master Template
- Boot from Network
- Diskless VM
- Do not start automatically
- Convert to Template
In Provisioning Services Console:
- Launch Streamed VM Setup Wizard
- Hypervisor connection to Citrix XenServer (or other Hypervisor)
- Select template
- Select vDisk
- Identify Collection
- Select number of VMs to create
- Choose to Create New Accounts in AD
- Choose proper AD OU and specify naming scheme (pvsdesktop##)
Process takes less than MCS.
In Citrix Studio Create Machine Catalog that interfaces with Provisioning Services:
- Create Machine Catalog
- Desktop OS Catalog
- Citrix Provisioning Services
- Choose Random Desktop
- Identify Provisioning Services server to connect to
- Identify Site and Collection
- Name Machine Catalog
- Associate with Delivery Group to deliver desktops to users
To add machines at a later time, run the Streamed VM Setup Wizard and add additional VMs. Afterward, add them in Citrix Studio Machine Catalog.
Automation using XenDesktop Setup Wizard – create VMs in Provisioning Services and create Machine Catalogs in Citrix Studio
XenDesktop Setup Wizard can be launched in Provisioning Services Console under Site.
Requirements:
- XenDesktop Controller with permissions for current user
- Configured XenDesktop Host Resources
- Standard-mode vDisk for the selected VM template
Steps:
- Launch XenDesktop Setup Wizard
- Connect to XenDesktop Controller
- Select XenDesktop Host Resources
- Select VM template and identify VDA version
- Choose the vDisk
- Create a new catalog or use an existing catalog
- Select the number of machines to create
- Choose the boot mode
- Select the AD OU
Â
Update Tasks
vDisk Update Management Tool – to be discussed later
Updating a Base vDisk in Provisioning Services Console
- Create new vDisk Version – Creating a new vDisk Version, creates a new differencing disk off of the base disk.
The differencing disk becomes a location on which to apply changes to.
The new version is created as a maintenance version.
- In device collections, a target device can be selected and the Type can be changed from Production to Maintenance. Once the VM is started up, it provides a menu from which to boot into maintenance mode. The VM is then operating off of the differencing disk. It provides for changes without impacting the base disk used by other users.
- After updating the VM it should be powered down.
- In Provisioning Services vDisk Pool, there are now two version. The maintenance version has been updated. Click Promote to Test or promote it to Production. The base version still exists. Users need to reboot the VM to be using the new version. Once all VMs have been rebooted, the Merge function is used to get rid of unnecessary .vhd files by selecting Merged Base and Production.
The two previous versions will have a red X and can be kept in case you need to revert back.
Â
Â