Updated 10/26/2012 - Runbook Commander 2.0 has been released. Information can be found and the following links.
Download Location - http://gallery.technet.microsoft.com/Runbook-Commander-20-116ec91c
Runbook Commander 2.0 Overview - http://blogs.technet.com/b/neilp/archive/2012/10/19/runbook-commander-2-0-system-center-orchestrator-console-extension-for-configuration-manager.aspx
Deployment and Administration Guide - http://blogs.technet.com/b/neilp/archive/2012/10/23/runbook-commander-2-0-deployment-and-administration-guide.aspx
Note - Some of this content (screen shots, Video, etc.) is outdated, however conceptually the informaiton is still valid.
Introduction and Disclaimer -
Building off of topics previously discussed in this blog (Programming for the Orchestrator Web Service, and Configuration Manager Console Extensions) I would like to introduce a new tool I have been developing that provides an interface into System Center Orchestrator directly from the Configuration Manager console. I am tentatively calling the application Runbook Commander and a Beta Release can be found below. In this blog posting I will discuss how Runbook Commander functions, the configuration of Runbook Commanded, and will close out with a short recorded demo.
Before doing so – Runbook Commander nor any process demonstrated anywhere in this blog can be supported by myself or Microsoft. Application development is not what I do for a living. Runbook Commander was created during my own spare time and I cannot commit to any enhancements, feature additions, or support requests. That said I do intend on continuing development on this tool, tidying up any found bugs, and adding features / enhancements. I would appreciate any feedback about the tool and also welcome any feature requests. I would like to understand how the tool is being used and what can be added in order to improve the experience. Please provide feedback directly to this blog posting.
Overview –
Runbook Commander is a ‘Right Click Tool’ or Console Extension for Configuration Manager 2012 and performs exactly what you would expect. It allows you to right click on a computer object from within the Configuration Manager console and execute a specified Orchestrator Runbook passing to that Runbook the Computer Name as a parameter value. In addition, for any other parameters specified in the Initialize data activity for the targeted Runbook, Runbook Commander will dynamically create a form on which to input parameter values.
In these three screen shots you can see what the Initialize Data Activity looks like on the Orchestrator side of the house, and then the dynamically created Runbook Commander form in Configuration Manager.
Initialize Data Activity found in Orchestrator.
Runbook Commander Console Extension in action.
Dynamically Created form.
Components –
The Runbook Commander Configuration Manager console extensions consist of three main components.
RBCommander.exe – this is the working application in this process. RBCommander.exe is invoked through the Configuration Manager Console extensions (more on this below), and performs the following actions
RBCommander.XML – if you’ve worked with Configuration Manager Console extensions the function of this file will be familiar to you. See this blog posting on 2012 configuration Manager Console extensions for more information. Inside of RBCommader.xml file the following items are specified.
RBCXMLCreator.exe – this was quickly thrown together for the automated creation of the RBCommander.XML file. This was a quick job and will be improved in near future releases. That said, despite a few quirks, it helps elevate the need for manual construction of the XML file which while straight forward can be a bothersome task. See the attached video for a functionality demonstration.
Prerequisites –
Before deploying and or using Runbook Commander the following conditions must be met.
Installation –
To install Runbook Commander launch RBCSetup.MSI. This will install most components. You will notice however that once complete the console extensions have not yet been added to the Configuration Manager console. This is because target Runbooks have not been selected and the console extension XMl has not yet been created.
Next run Runbook Commander XML Creator (found under Runbook Commander in the all programs listing). Enter the URL to your Orchestrator Web Service and click Fetch. This will bring up a listing of Runbooks from the Orchestrator environment. If you have more than 50 Runbooks configured they may not all be displayed in the Runbook Commander XML Generator application. This is due to paging done on the Web Service (IIS). See the following article for an IIS workaround - http://msdn.microsoft.com/en-us/library/hh921660. I will also do my part to automate a work around in the next release of RBC.
With the Runbooks displayed select those you would like to include in the console extensions and click Next.
Runbook Commander XML Generator
You will now have available a text box for each Runbook selected. The Text Box will allow you to specify a friendly name for each Runook. This is the name that will appear when launching the console extensions in Configuration Manager. Enter the friendly names and click Generate.
Runbook Commander XML Generator with Friendly Name Prompts
At this point you can open up the Configuration Manager console and should see the extensions when right clicking on any computer from the devices node.
Configuration Manager console with new extenstions
Conclusion and Gotchas –
That is pretty much it, very simple. Here is a list of know issues or gotchas that I will be targeting for future development.
Video Demonstration -