Connect

Setting up Citrix XA/XD with an Acropolis Hypervisor cluster


Userlevel 7
Badge +35
This post was authored by Raghu Nandan, Director of Product Management

Nutanix and Citrix recently announced support for running XenApp and XenDesktop instances on a Nutanix Acropolis cluster, with the Acropolis Hypervisor. We followed this announcement up with support for Citrix’s Workspace Cloud as well.

The ability to integrate with the XA/XD 7.6 controllers, for VM provisioning and power management is something that is being worked on. In the interim, this article describes how such a setup can be configured with scripted provisioning of instances. Using steps in this article, XenApp/ XenDesktop environments can be configured to work with Nutanix Acropolis Hypervisor clusters.

NOTE: If the Nutanix Acropolis clusters have been imaged with ESXi or Hyper-V, then native integration with the XenDesktop/ XenApp components is already available. This support has been shipping for several years now, with hundreds of successful deployments

Steps to integrated with the Acropolis Hypervisor (AHV) clusters -
  • Prepare the base image, with the right client or server VDA installed
  • Sysprep this instance with OOBE, Generalize and Shutdown options selected
  • This base image would be the basis for the clone operation
  • Create an ISO with the unattend.xml (Samples at https://technet.microsoft.com/en-us/library/cc732280(v=ws.10).aspx) at the top level directory.
  • The script below (acc.sh) shows the commands that can be batched into the Nutanix CLI from an SSH connection.[list]
  • The script basically creates a VM with incrementing numbers at the end of the name prefix
  • You can change the vCPU and memory to values that you want
  • One disk on the clone will be the base image prepared in step #3 above
  • A second disk will be based on the ISO created in step #4 above
  • When these VMs are powered on, it should come up with a random hostname, domain join, and then be registered with the Studio – so connection brokering to the instances can happen[/list]Code Sample

    acc.sh (Sample)————————————————————————————————————————#!/bin/bashif [ $# -ne 4 ]; then echo echo "Usage: ./acc " echo "This script accepts name of VM, name of Image, number of Vms and the path to the unattend.xml ISO" echo " and creates the VMs" echo exitfiVM_NAME=$1IMAGE_NAME=$2NUM_VMS=$3ISO_PATH=$4for i in `seq 1 $NUM_VMS`do echo "Create VM" $VM_NAME-$i acli vm.create $VM_NAME-$i acli vm.update $VM_NAME-$i num_vcpus=1 memory=1G acli vm.disk_create $VM_NAME-$i clone_from_image=$IMAGE_NAME clone_min_size=100G acli.vm.disk_create $VM_NAME-$i cdrom=true clone_from_nfs_file=$ISO_PATH acli vm.on $VM_NAME-$idoneecho————————————————————————————————————————
    unattend.xml (Sample)———————————————————————————————————————— Admin Administrators;Users Password true Password true true 3 true 0809:00000809 en-GB en-US en-GB Domain Password Administrator xyz.domain.com OU=Computers,OU=OU1,OU=OU2,DC=xyz,DC=abc,DC=def,DC=domain,DC=com false * Organization Owner GMT Standard Time 10.30.144.27 Ethernet false ————————————————————————————————————————
    This blog article is superseded by the complete UI integration between Nutanix AHV clusters and Citrix XenApp/ XenDesktop - as detailed here - Moving the Nutanix-Citrix Product Integration for AHV to the Next Level
  • 1 reply

    Badge +3
    Hi, I ran through the unattend.xml procedure on a Windows 7 image and added the following line to the section to keep the network pop-up from coming up.

    Other

    Reply