vmware / vmware/pyvmomi

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

Open
#898 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked vSphere power-management guide and the pyVmomi API entry points for VM power management. Determine whether pyVmomi exposes an equivalent setting that can be applied across several VMs, then document the relevant method or limitation with a clear usage example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, infrastructure
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.