Configure a XenServer VM

Aug 14, 2017

This topic provides an example of using the Virtual Machine Configuration wizard to set up the virtual machine configuration for a XenServer virtual machine.

This example assumes the following:

  • Either you have set up the virtual machine as explained in Set up a XenServer VM for Install Capture. This requires Citrix XenCenter.
  • Or you have the pre-requisites and have performed the AppDNA machine setup tasks described in that topic, and you have a suitable virtual machine but have not performed the virtual machine setup tasks. This does not require XenCenter.
  1. Start AppDNA.

  2. From the AppDNA menus, choose Edit > Settings.

  3. In the Settings dialog box side bar, click Install Capture.

  4. On the Virtual Machines tab, click New and then click Next.

  5. In the Virtual machine configuration details step, enter a name and a description for the virtual machine configuration, select XenServer, and then click Next.

  6. In the XenServer host details step, specify the IP address or DNS name of the XenServer host server. Then enter the user name and password of the account to use to connect to XenServer. If this is your domain account, enter your domain-qualified user name (for example, domain\user or user@mydomain.com).

    Citrix recommends that you use a dedicated XenServer user account whose password is set to never expire rather than your standard domain account.

    Note: If the password changes in the future, you will need to run this wizard again to enter the new password.

  7. In the XenServer virtual machine step, select the virtual machine that you want to use, and then click Next.

    This should be a dedicated virtual machine for use with Install Capture run from this AppDNA client.

  8. In the Snapshot selection step, select the virtual machine snapshot that you want to use. If you set up the virtual machine as explained in Set up a XenServer VM for Install Capture, this is the snapshot you took as the final step. If there are no snapshots in the list, click Create to take a snapshot of the virtual machine now.

  9. Click Next to display the virtual machine in the console.

    The wizard performs a series of checks. If any of these fail, refer to Troubleshoot.

    If you did not perform the virtual machine setup steps described in Set up a XenServer VM for Install Capture, perform them in virtual machine when it opens in the console. You will have the option to take another snapshot at the end of working through the wizard.

  10. In the Virtual machine connection step, enter the IP address of the virtual machine. Generally you do not need to change the Remote Admin TCP port.

  11. In the Capture Output Location step, select Copy results to network share (faster) and specify the output folder that you created on the AppDNA machine earlier. Make sure you use a UNC path and identify the client or server machine by its host name or IP address – for example, \\AppDNAMachine\AppDNAOutput.

  12. In the Virtual machine state step, select Power off and take snapshot (recommended), click Next, and then click Finish.

    The Install Capture page in the Settings dialog box displays the virtual machine configuration.

  13. Click Save.

The virtual machine configuration appears in the list of virtual machine configurations on the Install Capture tab in the Import Applications screen.