7.3
Table Of Contents
- Life Cycle Extensibility
- Contents
- Life Cycle Extensibility
- Machine Extensibility Overview
- Extending Machine Lifecycles By Using vRealize Orchestrator
- Configuring Workflow Subscriptions to Extend vRealize Automation
- Event Topics Provided With vRealize Automation
- Workflow Subscriptions and Event Broker Terminology
- Blockable and Replyable Event Topics
- Best Practices for Creating vRealize Orchestrator Workflows for Workflow Subscriptions
- Workflow Subscription Settings
- Working with Provisioning and Life Cycle Workflow Subscriptions
- Configuring vRealize Orchestrator Workflows for Provisioning and Life Cycle Workflows
- Workflow Subscription Life Cycle State Definitions
- Configuring the Timeout Values for States and Events
- Configuring the Error Behavior for States and Events
- Scenario: Take a Post-Provisioning Snapshot of a Virtual Machine
- Working with Approval Workflow Subscriptions
- Troubleshooting Workflow Subscriptions
- Troubleshooting vRealize Orchestrator Workflows That Do Not Start
- Troubleshooting Provisioning Requests That Take Too Much Time
- Troubleshooting a vRealize Orchestrator Workflow That Does Not Run for an Approval Request
- Troubleshooting a Rejected Approval Request That Should Be Approved
- Troubleshooting a Rejected Approval Request
- Extending Machine Life Cycles By Using vRealize Automation Designer
- Extending Machine Life Cycles By Using vRealize Automation Designer Checklist
- Installing and Configuring vRealize Automation Designer
- Customizing IaaS Workflows By Using vRealize Automation Designer
- Workflows and Distributed Execution Management
- CloudUtil Command Reference
- vRealize Automation Workflow Activity Reference
- Index
The element has the following structure in the message.
lifecycleState : {
state : STRING,
phase : STRING,
event : STRING
}
Table 1‑12. LifecycleState Elements
Property Description Format and Values Examples
state Contains workow
name and state name.
{workowName}.{stateName}
n
VMPSMasterWorkow32.Requested
n
VMPSMasterWorkow32.MachineActiv
ated
n
BasicVmWorkow.BuildComplete
phase Contains the phase
that triggered a
message.
PRE, POST, EVENT
n
PRE. An event is published when
entering this state.
n
POST. An event is published when
exiting this state.
n
EVENT. An event is published when an
IaaS event is received in this state..
event Contains the event.
This property is
optional and exists
only when the phase
is EVENT.
{workowName}.
{stateName}.EVENT.{eventName}
n
VMPSMasterWorkow32.Requested.EV
ENT.OnProvisionMachine
n
VMPSMasterWorkow32.VMPSMaster
Workow32.EVENT.OnBuildSuccess
n
BasicVmWorkow.CreatingMachine.EV
ENT.OnCreatingMachineComplete
VMPS Master Workflow Life Cycle States
The VMPS master workow life cycle states represent an IaaS virtual machine life cycle, from request to
destruction .You can use the VMPS master workow states and events when you create triggering
conditions based on life cycle state events and life cycle state names.
Each virtual machine goes through four basic stages.
n
Request. Includes approvals.
n
Provision. Includes dierent provisioning types, such as create, clone, kickstart, or WIM.
n
Manage. Includes actions, such as power on, power o, or snapshot.
n
Destroy. Includes deactivating, unprovisioning, and disposing of the machine.
These basic stages are included in the master workow. You can use the VMPSMasterWorkow32 states
when you create conditions for the following event topics:
n
Machine life cycle
n
Machine provisioning
The global event states are messages sent to the event broker by the VMPS Master Workow. Global events
can be triggered at any time.
Chapter 1 Life Cycle Extensibility
VMware, Inc. 23