How to convert IAG 2007 Virtual Appliance Machine from Hyper-V to VMWare workstation and VMWare ESX Created by Idan on 1/20/2011 4:03:54 PM Before you begin
I have heard this question so many times "Can I use IAG 2007 Virtual Appliance machine in my VMWare environment?", so my answer is ... yes, but lets first install Hyper-V :) if the customer insist you can find this document very useful
Important to know!
I will not demonstrate how to install and configure the VMWare environment, only how to convert IAG 2007 SP2 Virtual Appliance / Machine to VMWare workstation and VMWare ESX environment
Prerequisites
The most important thing in the process is to get the following drivers and DLLs before you start the entire conversion process
agp.inf, agp440.sys, cmbatt.sys, compbatt.sys, symmpi.sys, hidusb.sys, usbehci.sys(Windows 2003 SP2 CD), usbui.dll(Windows 2003 SP2 CD), usbhub.sys (Windows 2003 SP2 CD), usbdb.sys (Windows 2003 CD), USBCCGP.sys(Windows 2003 CD), battc.sys, i8042prt.sys (fro, the local machine c:\windows\system32\drivers), mouclass.sys(Windows 2003 SP2 CD)
Important Note: the "Base System Device" driver will be installed on the machine only after you will install the VMWare tools


If you want to convert the VHD to VMWare ESX you must have ESX environment up and running with vCenter Converter, you can download it for free from the following link:
http://www.vmware.com/download/converter
Configuration Procedures
Step 1: Convert the VHD to VMDK
Open WinImage, go to File->Open

Select the original IAG SP2 Virtual Hard Disk (.VHD)

On the "Select the partition to connect to" press "OK" and move to the next phase

Go to Disk->Convert Virtual Hard Disk image

Select the original IAG SP2 Virtual Hard Disk (.VHD) and press "Open"

Choose "Create Dynamically Expanding Virtual Hard Disk" and press "OK"

Select the destination file name of the converted .VMDK file

- Now you have VMWare Virtual Hard Disk !
Step 2: Create a new VMware workstation with the converted .VMDK File (Virtual Hard Disk)
Open the VMWare Workstation and go to New->Virtual Machine

Select "Custom" and press Next

On the Virtual Machine Hardware Compatibility select "Workstation 6.5" and press Next

On the Guest Operating System Installation select "I will install the operating system later" and press Next

On the Guest Operating System select "Microsoft Windows" on version section select "Windows Server 2003 Standard Edition" and press Next

On the Name the Virtual Machine select the name and location you want to user and press Next

On the Processor Configuration select the number of processors you want to use according to your system environment and press Next

On the Memory of the Virtual Machine choose 2048MB (Minimum!) and press Next

On the Network Type select "Use bridged networking" and press Next

On the I/O Adapter Types select "LSI Logic" and press Next

On the Disk Selection choose "Use an existing virtual disk" and press Next

Choose the .VMDK file that we converted on earlier phases and press Next

Choose "Convert" and press Next

Choose "Power on this virtual machine after creation" and press Finish

Now you have IAG SP2 Virtual Appliance up and running on VMWare workstation 6.5

Step 3: Install Windows drivers and VMware tools
Collect the following drivers:
agp.inf, agp440.sys, cmbatt.sys, compbatt.sys, symmpi.sys, hidusb.sys, usbehci.sys(Windows 2003 SP2 CD), usbui.dll(Windows 2003 SP2 CD), usbhub.sys (Windows 2003 SP2 CD), usbdb.sys (Windows 2003 CD), USBCCGP.sys(Windows 2003 CD), battc.sys, i8042prt.sys (fro, the local machine c:\windows\system32\drivers), mouclass.sys(Windows 2003 SP2 CD)
Important Note: the "Base System Device" driver will be installed on the machine only after you will install the VMware tools
- Create .ISO file from all the drivers so you will be able to read them from the VMware machine
After the you login for the first time to the IAG Machine you will see the following window, use the ISO file you created (with all the drivers) to install them from here

This is important phase, on the VMware Workstation go to VM->Install VMware Tools.
Important Note: you will need to upgrade your VMware tools when you will import this virtual machine into ESX environment

In the installation process of the VMware Tools you will see the following message, press Yes and move to the next phase

To enable hardware acceleration on the Virtual Machine please follow the instruction on the notepad

Step 4: Use vCenter Converter to convert the VMWare workstation VMDK to ESK
I will not finish this phase because I do not have ESX up and running in my LAB, but you will be able to finish it and run your IAG SP2 Virtual Appliance in ESX
Open the "Converter Standalone Client"

On the VMWare Converter choose "Convert Machine"

Select the source of the virtual machine type "VMware Workstation or other VMware virtual machine"

Select the .vmx (Virtual Machine configuration file) file from the VMWare workstation directory

Press Next to move to the next phase

Select the destination type according to your environment, write the ESX server name or IP address, the credentials and press Next, you will need to complete the entire process to import your VMware workstation IAG SP2 to the ESX environment

If you have any issues with this article please go to our Technical Forums in the following link: http://Forums.ForefrontSecurity.ORG
Idan Plotnik, Security Engineer
