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
Table 1‑13. Global Events
State(Topic) Events [Triggering String] (Topic)
Global
n
onBuildFailure [BuildFailure] (Provision)
n
OnBuildSuccess [BuildSuccess] (Provision)
n
OnFinalizeMachine [Destroy] (Provision)
n
OnForceUnregisterEvent [ForceUnregister] (Provision)
n
RecongureVM.Pending [RecongureVM.Pending]
(Active)
n
RecongureVM.ExecutionUpdated
[RecongureVM.ExecutionUpdated] (Active)
n
RecongureVM.RetryRequestMade
[RecongureVM.RetryRequestMade] (Active)
n
RecongureVM.Failed [RecongureVM.Failed]
(Active)
n
RecongureVM.Successful
[RecongureVM.Successful] (Active)
n
RecongureVM.Complete [RecongureVM.Complete]
(Active)
n
RecongureVM.Canceled [RecongureVM.Canceled]
(Active)
The active global states are actions that you can run on provisioned machines.
Table 1‑14. Active Events
State Events [Triggering String] (Topic)
Active
n
OnExpireLease [Expire] (Active)
n
OnForceExpire [ForceExpire] (Active)
n
onReprovision [Reprovision] (Active)
n
onResetBuildSuccess [ResetBuildSuccess] (Active)
In the master workow, provision events occur during the machine provisioning life cycle. Active events are
actions you can run on provisioned machines. For an illustration of the master workow, see “Example of
VMPS Master Workow,” on page 26.
Each machine type has its own provisioning workow. For information about individual machine types, see
“Provisioning Life Cycle States by Machine Type,” on page 27.
Table 1‑15. VMPSMasterWorkflow32 States and Events
State(Topic) Events [Triggering String] (Topic)
BuildingMachine
n
Pre(Provision)
n
Post(Provision)
DeactivateMachine
n
Pre(Provision)
n
Post(Provision)
Disposing
n
Pre(Provision)
n
Post(Provision)
n
OnDisposeComplete(Provision)
n
OnDisposeTimeout(Provision)
n
OnUnregisterMachine [Unregister] (Provision)
Expired
n
Pre(Active)
n
Post(Active)
n
OnActiveExpiredMachine [ActivateExpiredMachine]
(Active)
n
TurnOFromExpired [TurnOExpiredMachine]
(Active)
Life Cycle Extensibility
24 VMware, Inc.