Site icon BLOGS

Adding Nutanix Plugins for CVAD

by Ray Davis

We recently purchased a 28-Node Nutanix setup. We currently have a good chunk of Citrix VAD in VMware. During the design, I was a bit confused about what plugin went where. After looking back, it’s now very straightforward. With that in mind, I wanted to take the opportunity and put this little quick guide together so that people who go through this can understand what the plugins are and where they go. These plugins are what allow you to integrate Nutanix into CVAD infrastructure. Thank you, Kees Baggerman and Jarian Gibson, for all the advice.

  1. To get to the Nutanix Plugs for Citrix:  https://portal.nutanix.com/page/downloads?product=ahv
  1. The link will discuss: https://portal.nutanix.com/page/documents/details?targetId=NTNX-AHV-Plugin-Citrix:ahv-plugin-prereq-ahv-pvs-r.html
  2. FEATURES & SUPPORTED SOFTWARE | NUTANIX AHV PLUG-IN FOR CITRIX XenDesktop: https://portal.nutanix.com/page/documents/details?targetId=NTNX-AHV-Plugin-Citrix:nut-ntnx-ahv-plugin-features-mcs-r.html
  3. Director: https://portal.nutanix.com/page/documents/details?targetId=AHV-Plugin-Citrix-Director-Installation-Guide-v1_1_2_0:AHV-Plugin-Citrix-Director-Installation-Guide-v1_1_2_0


Nutanix Plugin for Delivery Controllers

You need to install the Nutanix AHV plugin for Citrix XenDesktop setup wizard on all of your delivery controller. Download the plugin as in the screenshot above.

  1. Install this for the MCS (Host connection Integration).
  1. You need to open PowerShell as an admin and install it in my experience lately.
  2. This part is for the HOST Connection for Studio. 

This plug is what will allow you to add the host connections for the Nutanix Hypervisor.

Nutanix Director plugin:

https://portal.nutanix.com/page/downloads?product=ahv

Issue 1:  https://discussions.citrix.com/topic/398878-nutanix-ahv-information-not-available-in-director/


Issue 2:

Citrix Director plugin “Unable to connect to the host.”

https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000LKiBCAW


How to:  Nutanix integration with Citrix Director


Issue 3:

 To run this plugin, you need to run as admin. Right-click run as admin (It threw errors when connecting for me when I didn’t do this.)

  1. The install is straightforward.
  2. Create a local account in PE/PC.
  1. To run this plugin, you need to run as admin. Right-click run as admin. (It threw errors when connecting for me when I didn’t do this.)
  1. Setup the Connection.

https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000LKiBCAW

The documentation says (I am a bit confused—however, it’s ok for me. I am submitting a feature request to get this adjusted):

Nutanix Plugin for PVS

Now, Select the install for MCS. For PVS, Select the install. This will allow you to integrate into the PVS console.

MCS and PVS Plugin overview

https://portal.nutanix.com/page/documents/details?targetId=NTNX-AHV-Plugin-Citrix:ahv-plugin-overview-c.html

Deploying Machines with XD wizard.

If you are used to using the streaming setup in PVS, this section will help you. 

https://docs.citrix.com/en-us/provisioning/1912-ltsr/citrix-provisioning-1912-ltsr.pdf

Important considerations when using Nutanix Acropolis hypervisors

When using Nutanix, consider the following:


Process Change from VMware Streamed to PVS XD Deployment Wizard.


The problem I had:

Typically, we attach a D drive to a VMware Image, then copy the machine and convert it to a template. Then, we use that template when deploying devices. We used the awesome BIS-F to move logs, WEM and to add some third party tools integrated into BIS-F. What we found was that the XenDesktop wizard adds a D drive during the creation of the PVS targets (which was cool). Before that, when I tried to seal it, it wouldn’t work and would error out because the Snapshot (which is a template in AHV) didn’t have a Drive. When I changed it not to use a D Drive in the BIS-F GPO settings, it would seal but leave everything in place on the C Drive. There may be a better way to do this, but I was used to how I did it and wanted something similar. I could have created a GPO and placed it on the targets, and maybe it would have moved it? I am not sure. So, we came up with these steps to achieve what we wanted:

  1. Take a snapshot of the VM in AHV before adding the Drive. We don’t want the template pushing the D Drive because once you provision machines, you will have a D Drive and an E drive (PVS will create it write cache in the wizard).
  2. Now after the snapshot, Add the Drive-in Prism Elect.
  3. Make sure you put the vDisk in Private mode so that we can add the Drive. 
  4. Log in as Local Admin. 
  5. When adding the D drive, only MBR is supported GPT will not work.)
  6. The Cache disk must be Basic Disk, not Dynamic. 
  7. The format is with NTFS. 
  8. Please give it a Drive letter, Shutdown the machine, Put it back into Standard mode.
  9. Boot back up into a maintenance mode.
  10. Now you can run the BIS-F, and this will get moved to the D Drive.
  11. Now when deploying new machines, select the Snapshot in the that PVS wizard shows form AHV (which doesn’t have the Drive). You took this before adding the hard disk.
  12. Deploy the machines. They allow PVS to create its unique write-cache drive.
  13. Once the PVS Targets are up, you will see it has a D Drive (created by the PVS wizard). You will also notice it will have what you did in the image with the logs etc.

This is really a Snapshot. AHV will use it as a template from the PVS side.

Exit mobile version