As part of further learning how System Center 2012 works with Azure, I spent some time recently working with the Azure Integration Pack and seeing how that works for Orchestrator. This blog posts goes through installing/deploying the IP, Connecting Orchestrator to Azure, Validating that the connection works correctly, and what actions are available in the Integration Pack.

Installing and deploying the Integration Pack:

The Azure Integration Pack is available at: http://technet.microsoft.com/en-us/library/jj721956.aspx.

The first step is to download and install the Integration Pack. Add the integration pack to Orchestrator through the Deployment Manager as shown below:

image

The next step is to deploy the Integration Pack (IP) to the server.

image \

Next in the runbook designer configure the Windows Azure settings as shown below:

image

Connecting Orchestrator to Azure:

To connect to Azure from Orchestrator we need the following:

  • Azure subscription #
  • PFX certificate file
  • Password for the PFX file

The subscription information is available as part of your Azure subscription, the PFX and password are the same ones used by Operations Manager to monitor Azure applications.

image

How to find out if you are connecting to Azure from Orchestrator correctly?

Once we have added the Azure configuration to Orchestrator we can add activities from the Azure IP as shown below to the Runbook Designer:

image

In this case I used the Azure Certificates action and chose the activity to List Management Certificate as shown below.

image

To validate the connection to Azure I used the Runbook Tester to test the Azure Certificate configuration I had shown above. Running this test indicated a failure as shown below.

image

After successfully configuring the Azure information in Orchestrator, the Runbook Tester showed that the runbook executed successfully (meaning that the configuration to connect to Azure was correct).

image

Activities included in the Integration Pack:

Once this is connected correctly there are whole lot of activities which can be done with Azure. Per (http://technet.microsoft.com/en-us/library/jj721977.aspx) the list of activities include:

Add Management Certificate

Add OS Image

Add Service Certificate

Add VM Data Disk

Add VM Disk

Add VM Endpoint

Add VM Instance

Capture VM Instance

Change Deployment Configuration

Change Deployment OS

Check Cloud Service Name Availability

Copy Blob

Create Affinity Group

Create Cloud Service

Create Container

Create Deployment

Create Storage Account

Create VM Deployment

Delete Blob

Delete Cloud Service

Delete Container

Delete Deployment

Delete Management Certificate

Delete OS Image

Delete Service Certificate

Delete Storage Account

Delete VM Data Disk

Delete VM Disk

Delete VM Instance

Download Blob

Get Deployment

Get Operating Systems

Get Operation Status

Get Storage Account Keys

Get Storage Account Properties

Get VM Data Disk

Get VM RDP File

Get VM instance

List Blob

List Cloud Service

List Container

List Management Certificate

List OS Images

List Service Certificate

List Storage Account

List VM Disks

Put Blob

Reboot Role Instance

Regenerate Storage Account Key

Reimage VM Instance

Remove VM Endpoint

Restart VM Instance

Rollback Update or Upgrade

Shutdown VM Instance

Snapshot Blob

Start VM Instance

Swap Deployment

Upgrade Deployment

Update Deployment Status

Update OS Image

Update Storage Account

Update VM Instance

Walk Upgrade Domain