4

Customizing Virtual Machine Templates for VMware and Hyper-V

ASM supports cloning virtual machines (VM) or virtual machine templates in VMware, and cloning virtual machine templates in Hyper-V. For ASM virtual machine or virtual machine template cloning, the virtual machine or virtual machine templates must be customized to make sure virtual machine or virtual machine templates have a unique identifier and can communicate back to the ASM appliance upon completion of the cloning process. This requires several customizing steps that depends on virtual machine which is needed to be cloned.

Customizing Virtual Machine Templates or Virtual Machines for VMware or Hyper-V

ASM can clone existing virtual machines and virtual machine templates in vCenter, or virtual machine templates in Hyper-V. The source virtual machines and virtual machine templates must be customized according to the instructions provided in this section. After customization, you must shut down the virtual machine and you cannot restart the virtual machine. For VMware virtual machines or virtual machine templates, cloning is supported as long as you are cloning within the same datacenter. For SCVMM the virtual machine templates must exist in the SCVMM library. Cloning virtual machines directly is not currently supported for Hyper-V.

NOTE: After customization, if you restart the virtual machines, the virtual machine will no longer be valid for cloning, and in that case, the verification file must be deleted. See later in this section about deleting the verification file.

The following customization is required only for VMware virtual machines:

Install VMWare Tools on the virtual machine:

If the virtual machine being used does not have a DVD drive, you must add one. To do this, edit the settings of the virtual machine and add a DVD drive through your VMware management console.

Once a DVD drive is available, right-click the virtual machine and select Guest-> Install/Upgrade VMware Tools. This will mount the media for VMware tools.

Log into the operating system of the virtual machine and run the VMware tools installer within the OS running on the virtual machine. See VMware documentation for further information on installing VMware tools.

The following customization is required for both VMWare and Hyper-V virtual machine

Install the puppet agent on the virtual machine:

If the virtual machine being used was successfully created by ASM, the puppet agent will already be installed.

29

Page 29
Image 29
Dell 8 manual Customizing Virtual Machine Templates for VMware and Hyper-V