03-11-2020 12:33 AM
Hi Experts,
we have a power outage activity in our DC and it will be expected to finish within 20 minutes and our UPS backup is upto 30 minutes incase if the outage activity prolonged then we need to shutdown redundant devices
to extend the UPS backup, however if incase we lose the network connectivity then how can we access the VMs and gracefully shutdown it ?
Regards
Awad
03-11-2020 02:29 AM
Depends on your network design, most of the DC network have OOB ( out of band management). this will connect to CIMC or Esxi vCenter for you to manage, Just like any other LoM in blade Servers.
03-11-2020 06:19 AM
Greetings.
If your network devices go down, then I am assuming your inband and out-of-band access will be cut, meaning no CIMC or remote shell sessions to the esxi hosts or guests.
Ideally, your UPS vendor would have some agents that either run in ESXi, guestVMs, or on a NMS/monitoring type workstation, that would be aware of UPS capacity, and used defined threshholds to start shutting down guestVMs gracefully before network access was lost.
If you don't have any network access at all, and you don't have a UPS aware monitoring tool setup,,, then you may need to physically log into the servers with crash cart/KVM, log into esxi to power down guests.
Some common esxi cli syntax would be:
vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.getstate X (where x is the guestVM # from the previous command)
See https://kb.vmware.com/s/article/1014165
Kirk...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide