Categories
VMware

Pornire masini virtuale din linie de comanda prin SSH

Lista masinilor virtuale:

vim-cmd vmsvc/getallvms

Pornirea unei masini virtuale:

vim-cmd vmsvc/power.on <vmid>

Verificarea statusului unei masini virtuale:

vim-cmd vmsvc/power.getstate <vmid>

Mai multe:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2012964

 

Categories
VMware

Pornire automata a masinilor virtuale la pornirea serverului ESXi

vSphere Client > Configuration > Virtual Machines Startup/Shutdown > Properties

Trebuie bifat Allow virtual machines to start and stop automatically with the system, iar apoi in partea de jos se muta masinile virtuale in categoria necesara (in cazul meu Automatic Startup).