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…

Lost VM connection?

One issue I’ve had recently is random drops between client and ESX vSphere server VM’s.    On inspection the ARP table was dropping the MAC of the client (strangely on that MAC, the other VMs and other network neighbours are fine??) Quick fix : netsh interface ipv4 add neighbors  “Local Area Connection” <client ip> <mac…

Home Posts tagged "VM"