How to Automate VM Provisioning in 20 Minutes using Service Manager and Opalis

How to Automate VM Provisioning in 20 Minutes using Service Manager and Opalis

  • Comments 6
  • Likes

Jim Pitts and I presented a session at Tech Ed Europe 2010 last week on how to use Service Manager and Opalis together to automate the process of provisioning VMs.  The session was the #4 rated session for the entire event last time I checked.  Apparently people really like this integration and the power of Opalis + SCSM (because a score that high is certainly not reflective of our presentation skills! Smile)!  Since it was such a hit we decided to record it again and post it here on the blog so everybody could see it.

In this demo we show how you can automate the provisioning of Virtual Machines using Service Manager to control the automated part of the process and using Opalis to do the automated provisioning of the VMs via SCVMM.  This pattern of creating automation can be repeated over an over to automate all kinds of other things like:

  • User provisioning/de-provisioning
  • VM moves
  • VM clones
  • New VMs
  • Start/Stop VMs
  • Software distribution via SCCM
  • Maintenance Windows with SCOM
  • and on and on….

The pattern is this:

  1. Create a new automated activity work item class in the SCSM data model using the SCSM Authoring Tool.  Derive this new class from the ‘Activity’ class so that it can be included in the Change Request process as an activity.
  2. Define the properties you need to have the user input information for that will be used by the workflow activities (either SCSM workflow or Opalis workflows).
  3. Optionally, create a custom form in the Authoring Tool to make data input easier.  You can also skip this step and just use the generic form.
  4. Import the MP into SCSM.
  5. Create a new template (or templates) for your new automated activity work items.
  6. Create new change request templates that use the new automated activity work item templates you created in step #5.
  7. Author your Opalis workflow by using a monitor activity to look for objects of your new automated activity work item class to have their status updated to ‘In Progress’.
  8. Author the rest of the Opalis workflow as needed to automate things.  Use the properties on the new custom automated activity work item class as inputs to the workflow activities so that the user input can be used to do exactly what the user wants.
  9. When the automation is done successfully change the status of the activity work item in SCSM to ‘Completed’ so the next activity (if any) in the change request process can start.

Here’s the demo video:

 

Customizing Service Manager and Opalis from Adam Hall on Vimeo.

Note: there is even a (intentional ?) chance to see how to debug a workflow when there is a mistake in the workflow.

Enjoy!

P.S. – check out Ander’s recent blog post on SCSM + Opalis to automate the creation of new users in AD:

http://contoso.se/blog/?p=1945 

Huge thanks to Adam Hall and Sean Christensen for taking the time to capture this demo video again and encode and post it for us!

 

Opalis 6.3 is going to RTM in the next couple of weeks!!!  Are you ready to automate your data center AND have process control!!?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Cool demo video guy's! Kudo's to Travis, Jim, Sean & Adam ;-) PS: Great acting skills :-p

  • Cool demo video guy's! Kudo's to Travis, Jim, Sean & Adam ;-) PS: Great acting skills :-p

  • Yes, I can confirm that the score definitely also relates to the presentation skills of you guys ;-) Thanks for the video..

  • This was awesome!  If you want to know how to do this with VMware vCenter - I did a write up on it on my blog using what Travis and Jim did here as the template:

    blogs.technet.com/.../how-to-automate-vm-provisioning-for-scvmm-and-vcenter-in-20-minutes-using-service-manager-and-opalis.aspx

  • Kindly share Automate VM Provisioning with system center service manager 2012 sp1 and system center Orchestrator 2012 sp1.

  • hi unable to see service manager in object selection