Quantcast
Channel: User Root Loop - Server Fault
Viewing all articles
Browse latest Browse all 47

VM restarted by HA after powered off from PowerCLI

$
0
0

I am using PowerCLI to "PowerOff" VMs when there is a certain event detected. When this even happens, the only thing we can do is to power off the VM and power it on again.

I use Stop-VM -VM xxxx -Kill -Confirm:$false to power off the VM but I noticed that HA will restart the VM after the VM powered off.

But if I manually do "Power off" in vSphere GUI on this VM when HA is turned on, it stays "powered off"

Any idea why HA will start a VM which "powered off" by PowerCLI? or Stop-VM is not the command for "Power Off"?


Viewing all articles
Browse latest Browse all 47

Trending Articles