sabato 29 gennaio 2011

ESXi 4.1 TSM (TechSupport Mode) start/stop VM

Hi all,
I'm studying for the VCAP-DCA exam, and I have a LAB.

My lab is a HP DC7800P with 6 GB of RAM and ESX4.1 for the core. Inside I run some Vm like 2ESXi and vCenter.
Today I want to start the VM from the cmd line.... but where is vmware-cmd???

In ESXi you need to enable TSM, then login through a SSH client like putty or term in Mac OSX then with thsi command you have the list of the vm

# vim-cmd vmsvc/getallvms

is the equal of vmware-cmd -l
and than with the VMID you can run this command

vim-cmd vmsvc/power.on VMID

my 2 cent

aLex