This year I have written three articles on using Citrix XenDesktop 7.x, Provisioning Services (PVS) 7.x and the XenDesktop Setup Wizard with Write Cache and Personal vDisk (PvD) Drives. In those articles I show how to use the XenDesktop Setup Wizard to create three virtual machines, create a Machine Catalog with the three machines and then create a Delivery Group to deliver the three machines. One reader asked what the process was to add additional machines to a Machine Catalog and a Delivery Group that are based on using PvD. In this article, I will document that process.
Since I had just completed the XenDesktop and PVS 7.6 article, that lab was still completely configured and running.
In PVS 7.6, the lab had a vDisk already created, configured, updated and running as shown in Figure 1.
A Device Collection with the three Target Devices as shown in Figure 2.
In XenDesktop 7.6 Studio, the lab already had a Machine Catalog created with the three machines and all three machines had been allocated to the machine catalog as shown in Figure 3.
A Delivery Group to deliver the three machines to users as shown in Figure 4.
Adding Additional Machines
From the PVS console, right-click the Site and select XenDesktop Setup Wizard… as shown in Figure 5.
Click Next as shown in Figure 6.
If it is not already there, enter the name of the XenDesktop Controller and click Next as shown in Figure 7.
Select the XenDesktop Host Resources and click Next as shown in Figure 8.
Make sure the host resources are the same as used for the original machines.
Enter the credential and click OK as shown in Figure 9.
Select the same Template and VDA version as used for the original machines and click Next as shown in Figure 10.
Select the same vDisk as used for the original machines and click Next as shown in Figure 11.
Select Use an existing catalog, select Catalog name of the existing PvD Machine Catalog and click Next as shown in Figure 12.
Enter the Number of virtual machines to create and use the same settings for the write cache drive, PvD drive and PvD driver letter are the same as the original machines and click Next as shown in Figure 13.
Select Create new accounts and click Next as shown in Figure 14.
Select the Domain, the same OU as the original machines, the same Account naming scheme (if it is not already there) as the original machines and click Next as shown in Figure 15.
Note: Do not worry about the sample account name shown. The wizard “know” where and how to increment the new account names in Active Directory.
Verify the Summary information, click Finish, as shown in Figure 16, and the wizard will begin creating the following:
- Additional Virtual Machines
- Additional AD computer accounts
- Additional Target Devices
When the wizard is complete, click Done as shown in Figure 17.
Looking at the Device Collection in the PVS console (you may need to right-click the Site and select Refresh) shows the three additional target devices as seen in Figure 18.
Note: The target devices will reboot two or three times. This is normal.
Looking in Active Directory Users and Computers shows the new computer accounts as seen in Figure 19.
In the XenDesktop Studio console, refresh the Machine Catalogs and the Machine Catalog now shows 6 machines but only 3 allocated machines as shown in Figure 20.
Click Add Machines in the right Actions pane as shown in Figure 21.
Enter the IP address of the PVS 7.6 server (if it is not already there), Active Directory domain and click Connect as shown in Figure 22.
Select the correct Device Collection, VDA version and or features as used for the original machines and click Next as shown in Figure 23.
Verify the Summary information and click Finish as shown in Figure 24.
Click the Machines tab to see that the machines have been added added to the Machine Catalog as shown in Figure 25. The machines have not been allocated to a Delivery Group yet.
Select the Delivery Group in Studio and then click Add Machines in the right Actions pane as shown in Figure 26.
Enter the number of machines to be allocated to this Delivery Group and click Next as shown in Figure 27.
Verify the Summary information and click Finish as shown in Figure 28.
The Delivery Group now shows that it has 6 machines as shown in Figure 29.
The Machine Catalog now shows 6 allocated machines as shown in Figure 30.
Because of the following PowerShell command used in the original article, the 3 newly allocated machines will power on in a few seconds.
Get-brokerdesktopgroup | set-brokerdesktopgroup -PeakBufferSizePercent 100
Refresh the Delivery Group and as shown in Figure 31, all 6 machines are now registered and ready for use. Look back in Figure 29 and only 3 of the machines were registered as they had not powered on at that time.
Logging in to one of the new desktops, Figure 32 shows the desktop has the settings from the original master template and the application that was added when the master vDisk was in Maintenance mode.
And there you have it. Adding additional machines to a Machine Catalog and Delivery Group using PvD is not that hard.
Let me know if you have any additional questions.