To fix this set the environment variable VMWARE_JAVA_HOME to proper path:
– SSH to vcenter # vi /usr/lib/vmware-vsphere-client/server/wrapper/conf/wrapper.conf
– Under Environment variables add: set.default.VMWARE_JAVA_HOME=/usr/java/jre-vmware
– Restart vsphere-client # /etc/init.d/vsphere-client restart
Stopping VMware vSphere Web Client...
Stopped VMware vSphere Web Client.
Starting VMware vSphere Web Client...
Intializing registration provider...
Getting SSL certificates
Service with name was updated.
Return code is: Success
Waiting for VMware vSphere Web Client......
In case you see an error: “Permission to perform this operation was denied”, right click and run the program as Administrator.
Provide the source and destination information, the source is the physical server to be converted and the destination vCenter.
Follow the steps, to do the conversion , a temporary OS will be started on the destination, by default it try to get an IP address from the DHCP server so that it can connect to the source machine and fetch the files required. But in case if you don’t have DHCP server you might see error like: “Unable to obtain the IP address of the helper virtual machine” . Fix this issue by setting up a static IP to the helper virtual machine during the conversion setup. Basically the helper VM IP should be able to communicate with the source machine which needs to be migrated
Proceed with the conversion, the duration will be based on the size of the VM and the connectivity if it belongs to another site/LAN.
You may need to change the network configuration (eg: HWADDR) and the MAC address mapping (/etc/udev/rules.d) to get it connected.