...building hybrid clouds that can support any device from anywhere
Today we are going to take an in depth look at a specific example Runbook – Virtual Machine Startup by Priority
Ability to query Virtual Machine Manager for Virtual Machines (for more than 1 Virtual Machine) within a Cloud, then start up those Virtual Machines in a specified order (often used in Disaster Recovery Scenarios, like this one: Automation–Orchestrating Hyper-V Replica with System Center for Planned Failover).
Click here for the TechNet Gallery Contribution for these Example Runbooks!
Initiate VM Start by Priority:
Invoke Start VMs:
Get VM Status:
Get VM Status – Looping (General Tab):
Get VM Status – Looping (Exit Tab):
Get VM Status – Looping (Do Not Exit Tab):
Send Platform Event (Complete):
Initiate VM Start:
Run .Net Script (Delay Start by Priority):
Return Data (Return VM Status):
Runbook 2 (0.2 VM Startup by Priority Example - Start VMs) – Job Concurrency Settings:
VM - spftest03 (Priority 3):
VM - spftest02 (Priority 2)
VM - spftest01 (Priority 1)
For more information and tips/tricks for Orchestrator, be sure to watch for blog posts in the Automation Track!