In this exercise you will deploy and configure a Windows 2012 R2 XenApp gold image. Once the image has been created, you will create both the Machine Catalog and Delivery Group.
Using an SSH client, execute the following:
> ssh nutanix@<NUTANIX-CLUSTER-IP>
> acli
<acropolis> vm.create XA-Gold num_vcpus=4 num_cores_per_vcpu=1 memory=8G
<acropolis> vm.disk_create XA-Gold cdrom=true empty=true
<acropolis> vm.disk_create XA-Gold clone_from_image=<Windows 2012 Disk Image Name>
<acropolis> vm.nic_create XA-Gold network=<Network Name>
<acropolis> vm.on XA-Gold
Note
When using acli, you can use the Tab key to autocomplete fields. Pressing Tab twice lists available namespaces and values.
In Prism > VM > Table, select the XA-Gold VM and click Launch Console.
Complete the Microsoft Out of Box Experience (OOBE) wizard:
Log in to the XA-Gold VM as Administrator.
In Prism > VM > Table, select the XA-Gold VM and click Manage Guest Tools.
Select Enable Nutanix Guest Tools and Mount Nutanix Guest Tools, click Submit.
Note
If the Nutanix Guest Tools have already been installed into the base image, the CD-ROM image will be automatically unmounted once the Nutanix Guest Agent service is able to communicate with the Nutanix CVM. A reboot of the VM or restart of the Nutanix Guest Tools Agent may be required. If the Nutanix Guest Tools have not yet been installed into the base image, see Installing Nutanix Guest Tools for complete instructions.
In the XA-Gold VM console, install a few applications such as OpenOffice, Google Chrome, etc.
Note
If not using a fully patched Windows 2012 R2 image, you will need to install Microsoft patch KB2919355 before proceeding with XenDesktop installation (CTX220340).
Disable Windows Updates for your gold image by opening Control Panel > Administrative Tools > Services.
Right-click Windows Update > Properties.
Select Disabled from the Startup type down down menu.
Click Stop.
Click OK.
In Prism > VM > Table, select the XA-Gold VM and click Update.
Under Disks, eject any images currently attached to the CD-ROM device and select the Pencil icon to change the configuration.
Fill out the following fields and click Update:
Click Save.
In the XA-Gold VM console, open the XenDesktop Installer and click the Start button to the right of XenDesktop.
Click Virtual Delivery Agent for Windows Server OS.
Select Create a Master Image and click Next.
De-select Citrix Receiver and click Next.
Select all Additional Components and click Next.
Select Let Machine Creation Services do it automatically from the drop down menu and click Next.
Select Optimize performance (CTX125874) and click Next.
Select Automatically to allow the installer to configure the Windows Firewall service to allow traffic for selected XenDesktop components.
Review selections and click Install.
Select I do not want to participate in Call Home and click Next.
Click Finish and wait for the VM to restart.
In Prism > VM > Table, select the XA-Gold VM and click Update.
Under Disks, eject the XenDesktop installation .iso currently attached to the CD-ROM device.
Click Save.
In Prism > VM > Table, select the XA-Gold VM and click Power Off Actions.
Select Guest shutdown and click submit to gracefully shut down the VM.
Once XA-Gold is powered off, select the VM and click Take Snapshot
Specify a Name for the snapshot (e.g. “XA-Gold vYYYYMMDD-X - Post-VDA 7.15 Install”) and click Submit.
Available snapshots and associated actions can be found by selecting the VM Snapshots tab under the VM table.
In the XD VM console, open Citrix Studio.
Right-click Machine Catalogs > Create Machine Catalog.
Click Next.
Select Server OS and click Next.
Select Machines that are power managed and Citrix Machine Creation Services. Click Next
Select your Nutanix storage container and click Next.
Select your XA-Gold snapshot and click Next.
Fill out the following fields and click Next:
Select Create new Active Directory accounts. Under the NTNX.local domain, select the XenAppServers OU. Specify WS12XA-### as the Account naming scheme.
Specify a friendly Machine Catalog name and a description of the image (e.g. what types of applications or teams it will be used for). Click Finish.
MCS will now create a clone from the snapshot of XA-Gold.
Upon completion, view the details of the Machine Catalog in Citrix Studio.
Right-click Delivery Groups > Create Delivery Group.
Click Next.
Select your Persistent Machine Catalog and specify the maximum number of VMs available for the Delivery Group.
Select Restrict and click Add.
Specify XenAppUsers in the Object names field and click OK.
Click Next.
Select From start menu… from the Add drop down menu. This will boot on of the provisioned WS12XA-### VMs and register with the Delivery Controller in order to provide an introspective look at the available applications within that image’s Start Menu. You can also enter applications manually provided you know the path to the desired executable.
Select the desired applications and click OK.
Select an application and click Properties.
Note the pre-populated information such as executable path on the Location tab. Explore the additional configuration options, such as the ability to add shortcuts to a user’s desktop, limit visibility or simultaneous instances (which may be necessary for licensing compliance).
Click OK.
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 all of the WS12XA-### VMs been have powered on.
In Citrix Studio, right-click your Delivery Group and click Edit Delivery Group.
Select the different tabs in the Edit Delivery Group wizard and note the additional configuration options you have available, such as the ability to prelaunch application sessions to speed up application launch time and scheduled XA VM reboots to restore the VM to a freshly provisioned state.
In Citrix Studio > Citrix StoreFront > Stores, right-click the Store Service and click Configure Unified Experience.
Select Set the unified Receiver experience as the default for this store and click OK.
Open http://<XD-VM-IP>/Citrix/StoreWeb in a browser on the same L3 LAN as your XD VM.
Log in to Citrix StoreFront as NTNX\USER2
Select the Apps tab and click an application to launch the session.
Note that the application launches and appears as though it were running as part of your local operating system.
Return to the Desktops tab and launch your Personal Windows 10 Desktop.
We’ll now configure the Citrix Receiver client to run applications published by our XenApp server farm from inside of our virtual desktop.
Note
Newer versions of Citrix Receiver do not allow connections to non-secured (HTTP) StoreFront servers by default. Follow the instructions below (CTX134341) on your Personal Windows 10 Desktop to enable HTTP stores in Citrix Receiver:
From within the virtual desktop, open Citrix Receiver.
Specify http://XD.NTNX.local/Citrix/Store as the address for StoreFront and click Add.
Specify your credentials and click Log On.
Launch an application from the Apps tab of Receiver.
Close your Personal Windows 10 Desktop and launch your Shared Windows Server Desktop.
Without disconnecting any current sessions, log into StoreFront as USER1 or USER3 and launch applications or a Shared Windows Server Desktop.
In Citrix Studio > Delivery Groups > XenApp DG > View Machines, observe multiple sessions from multiple users leveraging the same shared compute assets.