7.1
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
Table 4‑8. LifecycleState Elements
Property Description Format and Values Examples
state Contains workflow
name and state name.
{workflowName}.{stateName}
n
VMPSMasterWorkflow32.Requested
n
VMPSMasterWorkflow32.MachineActivated
n
BasicVmWorkflow.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.
{workflowName}.{stateName}.EVENT.
{eventName}
n
VMPSMasterWorkflow32.Requested.EVEN
T.OnProvisionMachine
n
VMPSMasterWorkflow32.VMPSMasterWor
kflow32.EVENT.OnBuildSuccess
n
BasicVmWorkflow.CreatingMachine.EVENT
.OnCreatingMachineComplete
VMPS Master Workflow Life Cycle States
The VMPS master workflow life cycle states represent an IaaS virtual machine life cycle, from request to
destruction .You can use the VMPS master workflow 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 different provisioning types, such as create, clone, kickstart, or WIM.
n
Manage. Includes actions, such as power on, power off, or snapshot.
n
Destroy. Includes deactivating, unprovisioning, and disposing of the machine.
These basic stages are included in the master workflow. You can use the VMPSMasterWorkflow32 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 Workflow. Global
events can be triggered at any time.
Life Cycle Extensibility
VMware, Inc. 30