In this exercise you will use the Citrix Studio to deploy a pool of non-persistent virtual desktops based the same gold image as the previous lab exercise.
In the XD VM console, open Citrix Studio.
Right-click Machine Catalogs > Create Machine Catalog.
Click Next.
Select Desktop OS and click Next.
Select Machines that are power managed and Citrix Machine Creation Services. Click Next
Select Random and click Next.
Select your Nutanix storage container and click Next.
Select your W10-Gold snapshot and click Next. Note the XDSNAP* snapshot listed from the Preparation VM created by the persistent Machine Catalog previously. These snapshots will continue to exist as long as there are provisioned virtual desktops utilizing them.
Fill out the following fields and click Next:
Select Create new Active Directory accounts. Under the NTNX.local domain, select the Non-PersistentDesktops OU. Specify W10NP-### as the Account naming scheme.
Specify a friendly Machine Catalog name and click Finish.
MCS will now create a clone from the snapshot of W10-Gold and follow a similar preparation process as the in the previous exercise.
Upon completion, view the details of the Machine Catalog in Citrix Studio.
Note the clones exist in Prism but are not powered on. Select one of the VMs and observe both the OS vDisk and ID disk attached to the VM on the Virtual Disks tab below the VMs table. Similar to the persistent Machine Catalog, each VM appears to have its own unique read/write copy of the gold image. With VMs in a Machine Catalog spanning several Nutanix nodes, data locality for VM reads is provided inherently by the Unified Cache.
This MCS implementation is unique to AHV. For non-persistent Machine Catalogs, other hypervisors link to the base golden image for reads and apply writes to a separate disk, referred to as a differencing disk. In these scenarios, Nutanix Shadow Clones are used to provide data locality for VM reads. Shadow Clones is a feature that automatically provides distributed caching for multi-reader vDisks.
Note
To learn about MCS provisioning in greater detail, see the following articles:
To learn more about how Nutanix implements Shadow Clones, see the Shadow Clones section of the Nutanix Bible.
Right-click Delivery Groups > Create Delivery Group.
Click Next.
Select your Non-Persistent Machine Catalog and specify the maximum number of VMs available for the Delivery Group.
Select Restrict and click Add.
Specify NonPersistentUsers in the Object names field and click OK.
Click Next.
Click Next.
Click Add and fill out the following fields:
Click OK > Next
Specify a friendly name for the Delivery Group and click Finish.
Following creation of the pool, observe in Prism that 1 of the W10P-### VMs been has powered on.
In Citrix Studio, right-click your Delivery Group and click Edit Delivery Group.
Select Power Management from the left hand menu.
Click and drag the number of machines powered on during peak hours from 1 to 4. The peak hours period can optionally be modified by clicking and dragging to either the left or the right.
Note
For more granular control of registered, powered on VMs you can click the Edit link and provide the number or percentage of VMs you want available for every hour of the day. You can also configure the disconnected VM policy to free up disconnected VMs after a configurable time out period, returning the desktop to the pool for another user.
After increasing the number of powered on virtual machines, validate the W10NP-### VMs are powered on in Prism and appear as Registered in Citrix Studio.
Open http://<XD-VM-IP>/Citrix/StoreWeb in a browser on the same L3 LAN as your XD VM.
Log in as NTNXUSER2.
Select the Desktops tab and observe both your Personal Windows 10 Desktop and a Pooled Windows 10 Desktop are available. Click the Pooled desktop to launch the session.
After the virtual desktop has completed logging in, experiment by changing application settings, installing applications, restarting the VM, and logging in again. Try logging in as USER2 and USER3.