Remote Logon to that Converter client Software installed
machine.
Go to start menu Ã
Program files à VMware
à Converter Standalone
Client
This will open the new window.
Click Convert Machine.
In this window we can choose which type of machine machine
we are going to convert.
For this conversion we are selecting Power on Machine
In the below panel we have to provide Admin or root Username
name and password for the conversion machine and click à Next.
In this window we have to provide the IP address of the ESX
/ VC Machine ,username and password
Click Ã
Next
In this window we can specify the Name of the Virtual
Machine and we have to choose Storage Details.
Click Ã
Next
In this option we can customize the VM Hardware.
For linux machine while converting we should not disturb the
HDD Related Informations.
And also we have to provide the IP Address and Config
details for the helper machine network.
Click Ã
Edit
Provide the IP And DNS Details.
Click Ã
Next
Finally click Finish To complete the Task.
Conversion process has been started.
Once completed VM is ready for the Operation in the
Specified VC / ESX Host.
To Export the Disks Kindly follow the Steps.
Before Going for the Export we have to identify what are all
the HDD has been used by the VM and also the Exact Path of that HDD Files in
Storage and where this files needs to be exported.
For example Kindly the Details
usplsvpea004.vmdk
usplsvpea004_1.vmdk
usplsvpea004_2.vmdk
The above said files are the HDD Used by the VM.
And Path of the Files are as follows
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004.vmdk
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_1.vmdk
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_2.vmdk
To mount USB Drive kindly follow the Procedure
First we need to identify Device Name. then we need to mount
the USB Drive as follows.
mkdir /mnt/usb
mount
/dev/[device_name] /mnt/usb -t ext3
Once we find all the Details we need to use vmkfstools
command to export the Disks.
For the Above said Disks find the Command to export HDD
files to usb Drive.
vmkfstools -i
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004.vmdk
/mnt/usb/USPLSVPEA004/usplsvpea004.vmdk -d 2gbsparse
vmkfstools -i
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_1.vmdk
/mnt/usb/USPLSVPEA004/usplsvpea004_1.vmdk -d 2gbsparse
vmkfstools -i
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_2.vmdk
/mnt/usb/USPLSVPEA004/usplsvpea004_2.vmdk -d 2gbsparse
To import the above said disks to some other Location kindly
follow the procedure.
In this example we are using
USPLSVPEA004 as a VM Name and the Path of the Exported disk files
is as follows.
/mnt/usb/USPLSVPEA004/
We are going to import the files in to the Below said path
of the ESX host.
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/
To import
vmkfstools -i
/mnt/usb/USPLSVPEA004/usplsvpea004.vmdk /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/usplsvpea004.vmdk
vmkfstools -i
/mnt/usb/USPLSVPEA004/usplsvpea004_1.vmdk /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/usplsvpea004_1.vmdk
vmkfstools -i
/mnt/usb/USPLSVPEA004/usplsvpea004_2.vmdk /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/usplsvpea004_2.vmdk
if we want to copy VM config files in the same way we can
copy the files in to USB and again move back to the Path in where we need to
import.
For the above said example we have done the same as follows.
Exporting Log and
Other files :
cp *.vmx *.log
*.nvram *.vmxf *.vmsd /mnt/usb/USPLSVPEA004
Importing Log and
Other files :
cd
/mnt/usb/[dir_name]
cp *.vmx *.log
*.nvram *.vmxf *.vmsd
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004
Once all this things done then the VM is ready to add to
Inventory.
We can done this using Command Line or thru Vi client.
Kindly follow the Procedure for the above said Task.
To register that Machine:
To register a virtual
machine in vCenter Server:
Open the vSphere / VMware
Infrastructure (VI) Client and log in with appropriate credentials.
If
connecting to vCenter Server, click on the desired host.
Click
the Configuration tab.
Click
Storage.
Right-click
on the appropriate datastore and click Browse Datastore.
Navigate to the folder named after
the virtual machine, and locate the <virtual machine>.vmx file.
Right-click
the .vmx file and click Add to inventory. The Add to Inventory wizard
opens.
Continue
to follow the wizard to add the virtual machine.
To
register a virtual machine from a command line:
Log in as root to the ESX host with
an SSH client.
From command Line:
vmware-cmd -s register <full
path to virtual machine>\<virtual machine name>.vmx
Comments
Post a Comment