vmware/pyvmomi-community-samples

How to setup the power management of a VM to avoid its standby mode?

Open

#640 geöffnet am 5. Mai 2020

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (914 Forks)batch import
help wanted

Repository-Metriken

Stars
 (972 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

The guest operating system is placed on standby. Then, the vm.guess.guessState is shown as "notRunning" although the VM is on. I would like to know how to change the power management related to this standby mode, using pyVmomi. Following the link below I can do it manually. https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-879FA851-2B24-49E6-B58F-F25D0E923D17.html

The question is, which method of the pyVmomi API allows me to apply this setup to several VMs automatically?

Thanks.

Contributor Guide