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
The script below (acc.sh) shows the commands that can be batched into the Nutanix CLI from an SSH connection.
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
if [ $# -ne 4 ]; then
echo "Usage: ./acc <vm-name> <image-name> <num-of-vms> <ISO-Path>"
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"
for i in `seq 1 $NUM_VMS`
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-$i