After cloning XenApp 6.5 servers in VMware and deploying them to the farm, IMA fails to start and servers are unable to join the farm and the following error appears:
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Complete the following steps to resolve the issue:
Open the registry editor on the cloned server having the issue and find the following registry key:
HKLM\SOFTWARE\Wow6432Node\Citrix\IMA\RUNTIME\HostName
Notice the hostname of the VM on the top left corner is a different name from the hostname in the regitry key. The hostname on this server is the hostname of the template server. Change the hostname key to match the actual hostname of the server.
Reseal the server with the new information after the hostname is changed. This can be done by opening the XenApp Server Role Manager.
Open the XenApp Server Role manager, select the Edit Configuration option.
Select the option Prepare this Server for Imaging and Provisioning.
Uncheck the option Remove the Current Server Instance from the farm, and Click Next.
Once completed “Server configured successfully!” is displayed.
Now you must select the option to Reboot the server, once selected and the server is backed up, the server should now be placed in your farm.
This error may occur if when cloning XenApp 6.5 servers from VMware through a template, the hostnames of the servers either hold their original hostname, or the hostname of the template server.