vApp Power State Transitions
search cancel

vApp Power State Transitions

book

Article ID: 329065

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Operations that change the power state of a vApp or any of its VMs can have different results when initiated from the vCloud API than they do when initiated from the vCloud Director Web Console. Understanding these state transitions and the operations that cause them can help you manage vApp and VM resource consumption and readiness.


Environment

VMware Cloud Director 5.1.x
VMware Cloud Director for Service Provider 8.10.x
VMware Cloud Director for Service Provider 5.6.x
VMware Cloud Director for Service Provider 8.0.x
VMware Cloud Director 5.5.x

Resolution

This simplified diagram covers most of the cases where a vApp contains a single VM. A vApp that contains multiple VMs can have a power state of Partially Running when some VMs are powered on and some are not.

As seen in the vCloud Director Web Console, a vApp can be Stopped, Running, or Partially Running. A VM can have any of the following states:

  • Powered Off
  • Powered On
  • Suspended
  • Partially Powered Off (deployed)
  • Partially Suspended (deployed).

The vCloud API returns information about VM power state in the Vm object’s status attribute:

VM Power State

Vm object status attribute value

Powered-on

4

Powered-off

8

Suspended

3