VMware-learners

Thursday, March 6, 2008

VMware Tools fails to install in a VM which was migrated from ESX 2.5.x to ESX 3.0.x

VMware Tools fails to install in a VM which was migrated from ESX 2.5.x to ESX 3.0.x as it cannot remove the old tools. The following error message is displayed when trying to install tools. "The file VMware Tools.msi is not a valid installation package for the product VMware Tools. Try to find the installation package 'VMware Tools.msi' in a folder from which you can install VMware Tools.Error 1714: The older version of VMware Tools cannot be removed. Contact your technical support group."



Solution:

SR# 1:
- Open a console to a VM running in a ESX 2.5.X server- Initiate installation of vmware-tools- Cancel it.- Go to my computer and select the cdrom- Copy the files from the cdrom to the local disk- Copy these over to the vm seeing this issue (Error 1714)- Go to the directory and initiate the installer to uninstall the tools- Install the updated tools again

SR# 2:

1) Delete the subkey similar from the registry as follows and Search for vmware tools.msi in the registry.
[HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\8E24D35BB278E034284D0860A513CF1E that appears in the search with the vmware tools.msi info inside.
Please replace the last key with the one you have in your environment. The folder name may be different.
2) Try running setup.exe from the D: which is having vmware tools installation setup files.
3) Finish the installation and restart the virtual machine
4) If the above doesn't work then try installing the tools through following commandmsiexec.exe /i "VMware Tools.msi" /qf REINSTALLMODE=vamus REINSTALL=ALL REBOOT="ReallySuppress"

SR# 3 :
This may vary if you have applied updates – if this is the case – download the UPDATE in lieu of the ISO.
You will know this if the rpm –qf results in a varying build number (please see below for example):
1. On the ESX server go to - /usr/lib/vmware/isoimages/
[root@bsib014 isoimages]# ls
freebsd.iso linux.iso netware.iso windows.iso
2. Run “rpm -qf linux.iso” (without the quotes)
This returns the rpm, VMware-esx-2.5.4-32233
This is located on the ESX install cdrom under E:\VMware\RPMS\VMware-esx-2.5.4-32233.i386.rpm
3. Put the ESX cd for the version of ESX that the VM is from into the cdrom of the ESX server (or mount the ISO)
4. Copy the rpm to /tmp
5. Cd /tmp
6. Run the following command without the quotes “rpm2cpio VMware-esx-2.5.4-39751.i386.rpm cpio -id”
This will extract this into the directory you are in (/tmp/usr/lib/vmware/isoimages/)
7. Mount this iso (windows.iso) to the VM and uninstall the vmware tools


Saturday, February 2, 2008

How to update from ESX3.0.1 to ESX3.0.x

Well this is a very easy task to accomplish.........
First download the required version from www.vmware.com, next copy it to the esx update folder then
type esxupdate -n update in command line
thats it the upgradation will start automatically.
after this process is complete reboot the ESX server once.
Now you have an upgraded ESX host.

Friday, January 25, 2008

Migration of VMs from older version to newer one--issues

Hi guys,
First posting is about an issue which all those first times dont know ,
Migration of VM from older ESX version(say 2.5.x) to a newer ESX version(3.0.1)- the migration procedure we adapted for this is
1. Take down the VM using GUI(VC or VIC) before that take a note of all the settings of target VM.
2. COpy the folder which contains VM files from ESX2.5.x host to ESX3.0.1
3. Create a VM in ESX3.0.1 and associate the .vmdk file that you have coiped from the ESX2.5.x host.
4. check that all the settings and change as per the older VM setings and then power on the VM.

Well this seems to be easier than i have taken to write it hear, but,.........
Try the same for a VM having two hard disks- U will not able to associate the 2nd hard disk to this VM, it will not highlite the option of adding new harddisk to this VM
we searched the net for solutions but ended up with all rubbish.
Then one fine day we found that there is a hardware upgrade that needs to be done which can be done on VIC simply by right clicking on the VM that was migrated and select the option "upgrade VM hardware". Thats it now we were able to add the 2nd hard disk also.

Thats it issue is resolved......