|Note: The latest release this documentation applies to is Fuji. For the Helsinki release, see Orchestration. Documentation for later releases is also on docs.servicenow.com.|
- 1 Overview
- 2 Why Use Orchestration?
- 3 What Systems Can Orchestration Automate?
- 4 How Orchestration Works
- 5 Orchestration Activities in Workflow
- 6 Activating Orchestration
- 7 Enhancements
Orchestration automates simple or complex multi-system tasks on remote servers that are normally done manually. An Orchestration process can cross all management disciplines and interact with all types of infrastructure elements, such as applications, databases, and hardware. Orchestration combines the ServiceNow graphical workflow with the MID Server to run Orchestration-specific workflow activities.
2 Why Use Orchestration?
Orchestration enables an IT organization to automate complex tasks on remote computers quickly and reliably, with best practices every time. Orchestration workflows employ the skills and knowledge of an entire organization, while requiring less skill and labor to execute.
3 What Systems Can Orchestration Automate?
- VMware (through vCenter)
- Amazon EC2 instances
- Any system presenting web services
- Windows Active Directory
- Microsoft Exchange mail servers
- Puppet Labs Puppet (with configuration automation)
- Opscode Chef (with configuration automation)
- Any system accessible from the command line
4 How Orchestration Works
When an Orchestration activity starts within a workflow, Orchestration launches a probe and writes a probe record to the ECC Queue. The workflow pauses as the MID Server picks up the request and executes the probe. When the probe reports back, the workflow resumes as the results are analyzed. The workflow can exit or continue at this point.
4.1 Orchestration Examples
Request the Orchestration - Examples plugin to install sample Orchestration workflows on your instance. The following Orchestration example workflows are installed in an inactive state to prevent them from running unexpectedly during routine operations:
- Request Password Reset Incident
- MySQL - Get processlist
4.1.1 Activating a Workflow in Version Prior to Fuji
- Navigate to Workflow > Workflow Editor.
- Select Open in the title bar and select an inactive workflow from the list.
- Click the gear icon in the title bar, and then select Set Active from the workflow menu.
4.1.2 Activating a Workflow in Fuji
- Navigate to Workflow > Workflow Editor.
- Select the Workflows tab in the palette and click on an inactive workflow in the list.
- The selected workflow opens in the workflow canvas.
- Click the menu icon and select Set Active from the context menu.
5 Orchestration Activities in Workflow
The Orchestration plugin adds these types of activities for use with workflows:
- Basic Orchestration activities
- SSH activities
- Active Directory activities
- VMware activities
- Amazon EC2 activities
- PowerShell activities
- Chef activities
- Exchange activities
6 Activating Orchestration
Orchestration is available as a separate subscription from the rest of the ServiceNow platform.
To purchase a subscription, contact your ServiceNow account manager. The account manager will arrange to have the plugin activated on your organization's production instance, generally within a few days.
|Note: If you do not have an account manager or decide to delay activation after purchase, use the steps below when you are ready to activate.|
You can evaluate the feature on a sub-production instance without charge by requesting it from the HI Customer Service System.
|Click the plus to expand instructions for requesting a plugin.|
- Enables creation of custom activities with the activity designer.
- The Active Directory activities Change AD User Password, Is AD Account Locked, Unlock AD Account, and Enable AD User Account are available.
- Exchange activities are available for working with Microsoft Exchange servers.
- The Run PowerShell activity can run a predefined script file and pass additional parameters to the script.
- Runbook Automation is now called Orchestration. See Orchestration Concepts for more information.
- Several new Active Directory activities are now available. The Create AD Object, Update AD Object, and Remove AD Object activities replace the Create AD User Account, Update AD User Account, and Remove AD User Account activities, respectively. The new activities can create, modify, and delete Active Directory data other than user accounts, such as computers or groups.
- The new activity Create Tag adds metadata in the form of key/value pairs to Amazon EC2 instances provisioned with ServiceNow cloud provisioning.
- PowerShell activities no longer contain inline PowerShell scripts. PowerShell activities now reference PowerShell scripts for improved readability. ServiceNow stores the referenced PowerShell scripts in MID Server > Script Includes.
- All activities that extend Run PowerShell can interpret HResult codes.
The following Orchestration activities are added as of the Calgary release:
- Change State: An Orchestration Amazon EC2 activity that sends commands to an instance to start, stop, or reboot the instance.
- Select Datacenter, Network, and Folder: An Orchestration VMware activity that selects a vCenter datacenter, network, and folder for a virtual machine (VM) being provisioned.
- Select ESX Host and Datastore: An Orchestration VMware activity that selects a specific ESX host and a vCenter datastore for a virtual machine (VM) being provisioned.
- Select IP Address: An Orchestration VMware activity that selects an IP address for a virtual machine (VM) being provisioned.
- Select Name: An Orchestration VMware activity that selects a name for a virtual machine being provisioned.
- Activity variable: The Snapshot MOR id variable is added to the Revert to Snapshot activity. This variable reverts the virtual machine to the snapshot with this ManagedObjectReference ID.