Systems, consultation and development 

Facebook E-mail

VM (vSphere) CLI for powering VM’s

Start with ~ # vim-cmd vmsvc/getallvms use the ID returned for the VM in question to ~ # vim-cmd vmsvc/power.getstate <ID> then ~ # vim-cmd vmsvc/power.on <ID> And we’re done…   If you want to kill a machine remotely (lets say you want to shutdown your teenage daughters machine because it’s past her curfew) net…

Restart ESXi management service

Now and again ESXi (or ESX) may stop you connecting via the remote management interface. If you have ssh enabled (emergency back door) this should kickstart everything back into touch. — ./sbin/services.sh restart This does NOT restart any VM’s and so should be safe on a production server, middle of the day etc, etc. Easy…

Home Posts tagged "restart"