You could do that without vSphere client, you knew that?!?
Provided that SSH is enabled on ESXi (link opens another window), log in to the root prompt the follow the steps below:
Links:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1038043
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=9639912
Provided that SSH is enabled on ESXi (link opens another window), log in to the root prompt the follow the steps below:
- first, verify that the host is/isn't in Maintenance mode:
# vim-cmd hostsvc/hostsummary | grep Maintenance
inMaintenanceMode = false,
- obviously, if it is, exit Maintenance mode:
# vim-cmd hostsvc/maintenance_mode_exit
'vim.Task:haTask-ha-host-vim.HostSystem.exitMaintenanceMode-415392973'
- then, check which VMs are available (output edited):
# vim-cmd vmsvc/getallvms
Vmid Name File Guest OS Version
1 name_1 [storage_1] Debian 64 6.x/vmx1.vmx LinuxGuest vmx-08
2 name_2 [storage_2] Windows XP 1/vmx2.vmx winXPProGuest vmx-07
3 name_3 [storage_3] Windows XP 2/vmx3.vmx winXPProGuest vmx-08
- VMs can be started as follows:
# vim-cmd vmsvc/power.on 2
Powering on VM:
Links:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1038043
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=9639912
No comments:
Post a Comment