Thursday, August 26, 2010

New in VMware vSphere 4.0

What's New in VMware vSphere 4.0
VMware Data Recovery — VMware Data Recovery leverages virtual machine snapshots to make a precise copy in a short amount of time, and it includes data deduplication to save on disk storage that is consumed by backups. See the VMware Data Recovery Administrator’s Guide http://www.vmware.com/pdf/vdr_10_admin.pdf
More vQuotes

Sunday, August 15, 2010

5 methods to kill a hung VM

5 methods to kill a hung or stuck VM:
1. vmware-cmd -l
vmware-cmd [.vmx config filename] stop trysoft
2. vm-support -x or cat /proc/vmware/vm/*/names
vm-support -X [vmid]
3. vmware-vim-cmd vmsvc/getallvms
vmware-vim-cmd vmsvc/poweroff [vm id]
4. ps -auxwww | grep [vm name]
kill [process id]
5. ps -auxwww | grep [vm name]
kill -9 [process id]
http://kb.vmware.com/kb/1004340
More vQuotes

Thursday, August 5, 2010

Second root user account

How to create a second root user account

1) Run the following command:
adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M root2
(omit the -M if you want a home directory created)

2) Create a password for the new account with the following command:
passwd root2

http://kb.vmware.com/kb/1005278
More vQuotes

Wednesday, August 4, 2010

Extensive path errors

If you receive extensive path errors when trying to run the vmware-cmd command at the ESX Service Console, try running the command vmware-config.pl which rebuilds/reinstalls the VMware VmPerl Scripting API.

You may have guessed by now that vmware-cmd is actually a Perl script which lives in /usr/bin/.
More vQuotes

Tuesday, August 3, 2010

Recover the root password

How to recover the root password on an ESX 3.x host in single user mode

Reboot the host.
At the ESX boot menu, highlight the Service Console Only mode and press the A key.
Type a space followed by the world 'single' and hit enter.
At the bash prompt, type the command 'passwd' to reset the root password.
http://kb.vmware.com/kb/1317898
More vQuotes

Monday, August 2, 2010

vCenter Lab Manager 4

On this date in 2009, VMware releases the next generation vCenter Lab Manager 4, and two new brand products vCenter AppSpeed and vCenter Chargeback. The releases hit the streets with list prices of $1,495/cpu, $1,250/cpu, and $750/cpu respectively.
More vQuotes

Sunday, August 1, 2010

CPU Affinity

Setting CPU Affinity on a per VM basis is not a great idea. Here are three reasons why:

1) Administrative burden to configure, track, and document
2) Not compatible with VMotion
3) Not compatible with DRS
4) It makes the scheduler's job more difficult when scheduling CPU time for VMs
More vQuotes