Jump to content
Welcome to our new Citrix community!
  • Adding Nutanix Plugins for CVAD


    cugcblogs

    raydavis22rnd-1.jpg 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
    davis111320-01.png.cfe2662df47d51b243810fa862d47251.png
    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. 
    davis111320-02.png.cbf5f99156d4087fb6dfd78f7a30a08e.png

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

    davis111320-03.png.c5d461360654673025581ae024dcfa76.png

    Nutanix Director plugin:

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

    davis111320-04.png.3ee69b4796e718b3e52826fecff13228.png

    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:  

     

    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.
    davis111320-05.png.2be80fc9efc22195a90bbab9cd95f32d.png
    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.)
    davis111320-06.png.b8f166a81dca6fbba3f5665a804b0ab7.png
    1. Setup the Connection.
    davis111320-07.png.726f5922cac5342ea5e236afcd6f3040.pngdavis111320-08.png.0516a112b99eaa184da60a494d246f99.pngdavis111320-09.png.c2acb7e20d5837f1f5f9ce0786f4c853.png

    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):

    davis111320-10.png.835d04b862a31db0034c9296dd0dc05c.pngdavis111320-11.png.456d55fc6d6917366fe8556f33412e7e.png

    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.

    davis111320-12.jpeg.05dba2b3798328b549334ba2c80a6e02.jpeg

    MCS and PVS Plugin overview

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

    davis111320-13.png.b10c512e62c6a40dccd2e6a7c022e47c.png

    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:

    • Please do not delete the NIC of a provisioned VM and then re-add them.
    •  Linux VMs and BDM partitions are not supported.
    • Only the Citrix Virtual Apps and Desktops Setup Wizard are supported, not the Streamed VM Wizard.
    • Acropolis hypervisors use snapshots for setup wizard device creation and not templates (like VMware) for VMs.
    •  Ideally, a snapshot used as a template for VDI does not have an attached hard disk because the Nutanix Acropolis hypervisor does not remove the hard disk during provisioning.
    • When you deploy machines that boot from BDM ISOs, the ISO is mounted in the snapshot. The
    • provisioned VMs are set to use PXE boot and must be manually changed to boot from virtual
    • optical Drive.
    •  For PXE booting, you must use a command-line option to set the VM boot order to network before imaging.
    •  When manually adding a Nutanix AHV host using the Virtual Host Connection Wizard, not enough information exists to communicate with the Nutanix AHV hosting unit effectively. This information, provided by the Citrix Virtual Apps and Desktops DDC, is not shared with the Virtual Host Connection Wizard. As a result, this information is not used to verify credentials. Therefore, the Verify Connection button in the Virtual Host Connection Wizard is disabled for Nutanix AHV hosts.
    • Acropolis hypervisors use snapshots and not templates for VMs. So, a snapshot will reflect in the PVS wizard as a template when using Acropolis. 
    • If using BDM iso, attach it and then deploy it with all the PVS Target.

    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.
    davis111320-14.png.26d8edc310f66b0f765d206e38283326.pngdavis111320-15.jpeg.c345da6c75a41b95c6fc1b9ed01a2e8e.jpegdavis111320-16.png.54718616aaa7e94bc006f2a57f3a1f6e.pngdavis111320-17.png.b8dc20dc55953c5fe6ada7c515337cb1.pngdavis111320-18.png.41d6203dca9efc6a7e0c2bca046436fa.png

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

    davis111320-19.png.539a361801dd5147ffdf6667d62e9727.pngdavis111320-20.png.af2bef4de8164e7dfc4833c2be7dbc02.pngdavis111320-21.png.c2b8e90b97d510dab9961216fc8c682a.pngdavis111320-22.png.330ad3b53132578c306ad7d12e21be39.pngdavis111320-23.png.cbcad9047bbc458020bebd8fc4150376.pngdavis111320-24.png.e5e676971614caf72f4b26727ffdeb42.pngdavis111320-25.png.782bd34fc7d70bc9da65b8e7332125e6.pngdavis111320-26.png.1db5d730e18a9d53ca918574fe6f8866.pngdavis111320-27.png.319210912cf10d0b3a7ae8c662ade586.png

    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...