How to reinstall vmware tools

Reading Time: < 1 minute

The easiest way to reinstall vmware tools on a vmware server:

1) Uninstall vmware tools via the control panel add remove programs
2) You may be prompted for a reboot. Reboot the server.
3) Access VI client and locate the server you wish to reinstall vmware tools on
4) Right click the server and click install/upgrade vmware tools
5) Follow the wizard to install

Kill Virtual Machine vmware 3.5

Reading Time: < 1 minute

If you come across an issue where a Virtual Machine (Vmware) is not responding and you are unable to power down, shut down, logon etc, the below instructions will help you shutdown the virtual machine.

1) Launch Putty.exe
2) Type the ESX server name where the machine resides on (You should be able to check this by right clicking the Virtual Machine and clicking properties and then the summary tab.
3) Click Open
4) Type the username and password.
5) Once logged in type su – and press enter
6) Type the root password
7) Browse to the location where your Virtual server is located. To locate the path to the vmware machine type vmware-cmd -l (Note: letter l not number one)
8.) If you wish to know the state of the machine type vmware-cmd <path.vmx> getstate
9) Type; ps -efww |grep ‘servername’ (You may need to type efwww if you’re using ESX 3.5. An additional ‘W’)
10) Press Enter
11) You should now be presented with something like the below (See code below output). It needs to be in a similar format. If after running the above command the output is one line, then this has not run correctly. The output needs to be similar to the below (not one line of output but approx 3 lines).
12) If the above command does not work for you, try the following command: ps -auxwww |grep -i <VMNAME>.vmx

Output

root  65345    1  0 15:24   ?     /usr/lib/……………..path continued…………………..
path continued………………..path continued………………………..
root    1234    5678  0 12:25 grep ‘servername’

13) Type kill -9 (the number highlighted above. This number will change each time you run the command in step 7)
14) Press Enter
15) Your Virtual Server should power off
16) Power the Virtual server backup

Convert Physical machine to Virtual VMWARE

Reading Time: < 1 minute

Automate and simplify physical to virtual machine conversions as well as conversions between virtual machine formats with VMware vCenter Converter. Use the intuitive wizard-driven interface of VMware vCenter Converter to convert your physical machines to virtual machines.

  • Convert Microsoft Windows and Linux* based physical machines and third party image formats to VMware virtual machines
  • Complete multiple conversions simultaneously with a centralized management console
  • Easy to use wizards to minimize the number of steps to conversion

VMWARE are providing a free tool called VMware Convertor – click here to visit the site.

Guest OS: The device, \Device\ScsiPort0, did not respond within the timeout period

Reading Time: < 1 minute

If you come across an issue where your virtual machine becomes unresponsive, halts, or is inaccessible from the console, try the below fix from Vmware:

Windows guest operating systems that are using virtual disks on non-local datastores might experience unexpected blue screens.
This problem occurs when the responses from the storage array take longer than the guest operating system expects to wait. The default disk timeout period in Windows is too short to handle the longer delays that can occur in a SAN, NFS, or iSCSI environment, and a blue screen error is the result of exceeding this timeout.

Increase the disk timeout to 60 seconds in the Windows virtual machines by editing the Windows registry as described below:

In the registry,

  • Go to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Disk.
  • Click Edit/Add value.
  • Set the value name to TimeOutValue.
  • Set the data type to REG_DWORD.
  • Set the data to 0x03c hex (or 60 decimal).
  • Reboot the virtual machine.

Read more at: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1014