Service Manager SP1 Update Rollup 4 Error

I recently ran across some problems when trying to update System Center Service Manager SP1 with Update Rollup 4 (UR4) (http://www.microsoft.com/en-us/download/details.aspx?id=40836). Here is the error: “Microsoft System Center 2012 Service Pack 1 Service M has stopped working“.   There is a Temp folder on management servers with SCSM setup logs like in the screenshot. The … Read more

Remove Orphaned Connectors in Service Manager

PROBLEM: Recently I came across a Service Manager environment that had some old SCOM 2007 connectors that were no longer being used. These SCOM 2007 connectors would not remove from the SM console and would throw the following error when trying to remove. This is an easy fix. Use the SMLets to remove this connectors … Read more

Free SCSM, SCOM, DPM Tools for the Community

Wow what an exciting week in the System Center space! Lately there has been several free tools released for various System Center products in the community. I wanted to mention them here in one blog. Service Manager: Advanced Send Mail This one is very cool and something that has been needed for some time. Big … Read more

Launch a Runbook from a Service Manager Console Task

I recently ran across the question of “How Can I Launch a Runbook from a Console Task?” in this forum thread:

http://social.technet.microsoft.com/Forums/systemcenter/en-US/5cd957fa-5114-41fe-a727-3294df74a7b0/how-can-i-launch-a-runbook-from-a-console-task?forum=customization .

I started thinking about how this could be useful in certain scenarios and how this would work. I decided to figure this out and blog about it so here it is. First you will need a tool that can connect to Orchestrators web service and start runbooks. There is such a tool called Orchestrator Remote Tools 2.51.

With this tool you also have the ability to discover information about runbooks on an Orchestrator server, pass parameters to the tool and see the status on if the runbook started successfully or failed. This tool has a GUI and command line interface.

This tool only discovers runbooks that have an “Initialize Data” activity. This tool launches runbooks looking to a generated .XML template with information about the runbook or it can launch runbooks directly without the XML template file (CLI mode only). for The tool consists of three components:

  1. UI Generator (ORTUIGenerator.exe): This is what discovers all your runbooks and allows you to browse them. You also use this component to generate the XML template files.
  2. Remote Runbook Launcher (ORTRunbookLauncher.exe): Is the graphical way to launch runbooks.
  3. Remote Runbook Launcher CLI (ORTRunbookLauncherCLI.exe): Is the command line way to launch runbooks.

You can learn more about the tool here:

http://blogs.technet.com/b/yasc/archive/2011/11/17/orchestrator-remote-tools-2-0-fka-the-opalis-ui-generator.aspx

It can be downloaded here:

http://orchestrator.codeplex.com/releases/view/76983

Let’s work with the tool to prepare for using it with Service Manager. Create a share on your Service Manager management server. This can be something like \\SMSERVER\ORT\.

Copy the Orchestrator Remote Tools into it. You should have the following:

clip_image001[4]

Now click on ORTUIGenerator.exe . You will see this popup message:

clip_image002[4]

Click OK. This is telling you it is the first time you have run the tool and you need to put in your Orchestrator settings.

You will see the following window and will need to complete all the fields.

NOTE: Once you put in the data base server it will automatically pull in the Orchestrator database. If your SCORCH DB is not named Orchestrator you will be able to click the drop down and select it.

Click Save when you are done. Clicking Save will create a Config.xml file in your ORT directory.

clip_image003[4]

Now the UI Generator window will pop up. This is the window you use to generate the .XML template file.

On the left hand side you are able to browse through the discovered runbooks. Keep in mind it only finds runbooks that have an “Initialize Data” activity. To configure the template for a runbook browse to it on the right hand side, select it and click the “Get details for the selected runbook” button. It will then expose the settings of the “Initialize Data” activity for the runbook on the right hand side. Here is where you can configure values for the parameters and give the runbook a description for those that will be running it. Note you are not required to configure values for the parameters. When you are ready to generate the .XML template click on the “Create Runbook Launcher configuration file” button.

clip_image004[4]

You should now have a policy_template.xml in your ORT directory. By default when you run ORTRunbookLauncher.exe or ORTRunbookLauncherCLI.exe the policy_template.xml will be used allowing you to only have settings for one runbook at a time. You can elect to use another file by using the /ORTXML switch. What this does is allows you to store multiple XML templates in the same directory by different names and launch the specific one you want.

The /ORTXML switch only works using ORTRunbookLauncherCLI.exe as it is passed as a parameter. Another way around this if you are stuck on using the GUI component is to create multiple folders and put the exe’s, config file in each folder as it will have its own policy_template.xml file. That however could become a nightmare to manage and requires more space. I recommend using the /ORTXML switch.

Let’s look at the GUI component. In the ORT folder launch ORTRunbookLauncher.exe. The Runbook Launcher window will pop up. It should look similar to the following screenshot.

Input the parameters and click “Start Runbook” button.

clip_image005[4]

It is that easy to remotely launch a runbook using this tool. Using the ORTRunbookLauncherCLI.exe is basically doing the same thing except it is running from a command line allowing you to pass in the values for the parameters right in the command. The syntax for starting a runbook using the ORTRunbookLauncherCLI.exe would look like this:

ORTRunbookLauncherCLI.exe /LastName=Sinatra /Location=”Building 45″ /Department=Sales /Title=”VP of Sales” /FirstName=Frank /SamAccount=Franks /”Reporting To”=”John Adams”

 

NOTE: If the parameters’ names or values have spaces, you need to enclose them using double quotes.

clip_image006[4]

Ok, so now let’s combine the tool with Service Manager and its CMDB. Think about all the possibilities. There are a lot of useful scenarios in which these two could be utilized. A couple of possibilities I can think of off the top of my head are: Pass a user from Service Managers CMDB to this tool as a parameter and have a runbook disable a user in AD, pick up a computer from the CMDB pass it as a parameter to a runbook and move the computer from one OU to another in AD.

I don’t see this tool as a replacement for using Runbooks with Service Requests in Service Manager. I see this as more of a way to give the administrative team a quick and easy way to launch runbooks without ever leaving the Service Manager console.

Let’s look at how we can bring the Orchestrator Remote Tools and Service Manager together, create a console task and accomplish a task.

For this blog post we are going to use a very simple disable user runbook. To do this we need to create a console task using the ORT tool. Use the following steps to do this:

Read more

System Center 2012 Service Manager Unleashed

I am excited to be a coauthor of another System Center book. This book is on System Center 2012 Service Manager and is a part of the Unleashed series! The book is set to publish in June. The authors consist of: Microsoft System Center MVP Kerrie Meyler Microsoft System Center MVP Kurt Van Hoecke Sam … Read more

Service Manager: Request Offering Multiselect User Prompt

Background:

Recently at a client of mine I was building a new hire Request Offering for them. I ran into a roadblock because they needed a software list to be able to select software from that list that needed to be installed for certain users only. Yes they had SCCM and OSD with standard builds. The software on this list however was on a case by case basses and not a part of the main build. This information needed to be communicated through the Request Offering form so that the team member building the new computer would know what software outside of the main build needed to be installed.

Problem:

The problem is that when you create a user prompt with prompt type list on a Request Offering you can add the list of software but this cannot be a multi-select. You can only select one item in a prompt type list.

An alternative is to use a prompt type of query results. This prompt type allows multi-select. The query results prompt type queries Service Managers CMDB and presents a list of configuration items (CI’s) to a user on the actual Request Offering form like in the following screenshot.

clip_image001.png

I had the SCCM connector setup and was already pulling software into the CMDB. The problem here is that there are 2,000+ software CI’s and there is no way anyone wants to sift through that many CI’s when filling out a form.

There are only 10 software products that were needed on the build list for new hires. What I needed to do was get these 10 software products into the CMDB as CI’s or flag existing ones and expose only these 10 on the Request Offering for a user to select from.

Solution:

Here is what I did to get around this problem. Essentially I needed to accomplish two things and they were:

    1. Bring or flag the 10 software products in the CMDB.
    2. Create a Query Results prompt type that is filtered to the 10 software CI’s to be exposed in the Request Offering.

Read more

Custom Service Request Area

There is an issue that has been around for some time were you cannot delete items from the Service Request Area list in Service Manager 2012. You can do this to the Incident Classification and Change Area but not the Service Request Area. See references to this issue here: http://social.technet.microsoft.com/Forums/systemcenter/en-US/952d60eb-392f-4fa4-928f-c61da91616cc/how-to-delete-scsm-2012-by-default-service-request-area-and-service-request-priority?forum=customization http://social.technet.microsoft.com/Forums/systemcenter/en-US/b1d2255a-86bd-421a-9d81-2dfbf32854c1/how-do-i-edit-a-service-request-area-on-lists http://social.technet.microsoft.com/Forums/systemcenter/en-US/48086671-a7b8-4f1d-aafa-96e33d0fad26/why-can-you-modify-incident-classification-and-change-area-but-cant-modify-service-request-area http://www.systemcentercentral.com/forums-archive/topic/delete-service-request-area-list-entries/ Incident Management, … Read more

Display SCSM Management Group Name Script

The Service Manager Management Group name is not shown in the console. The Service Manager Management Group name can be found in the registry on a Service Manager Management Server. This is easy enough to do, but as a consultant working in different SCSM environments I need to get this information all the time for … Read more

Service Manager SP1 to R2 Upgrade

    Microsoft recently released System Center 2012 R2. I wanted to post about my experience upgrading System Center 2012 Service Manager SP1 to System Center 2012 Service Manager R2.

     

    The official upgrade steps for this can be found here on TechNet:

    http://technet.microsoft.com/en-us/library/dn520902.aspx .

    Release notes for System Center Service Manager R2 can be found here:

    http://technet.microsoft.com/en-US/library/dn299381.aspx.

     

    Before we get into Service Managers upgrade process we need to cover some housekeeping items. First off if you are using multiple System Center components (two or more) you need to upgrade them in a specific order. If you only have a single System Center component in your environment then don’t worry about this order. Here is the upgrade order:

    1. Service Management Automation (SMA)
    2. Orchestrator (SCORCH)
    3. Service Manager (SCSM)
    4. Data Protection Manager (SCDPM)
    5. Operations Manager (SCOM)
    6. Configuration Manager (ConfigMGR)
    7. Virtual Machine Manager (SCVMM)
    8. Service Provider Foundation (SPF)
    9. Windows Azure Pack for Windows Server
    10. Service Bus Clouds
    11. Windows Azure Pack (WAP)
    12. Service Reporting
    13. App Controller

    Here are links to upgrading all System Center components except for Service Manager because upgrading SCSM is being covered in this blog post.

  • Orchestrator
    Describes the sequence for upgrading Orchestrator.

NOTE: Some System Center components are not included on that list such as Service Management Automation .

This is because they will typically be new additions to your environment.

The upgrade order also applies if you plan on introducing new System Center components into your environment. For example if you plan to deploy DPM 2012 R2 at some point be sure to deploy this after Service Manager 2012 SP1 has finished being upgraded to R2.

More about this can be found here: http://technet.microsoft.com/en-us/library/dn521010.aspx.

 

Backup of Service Manager

Before any upgrade is started be sure to back up Service Manager and any customizations.

  • Backup encryption keys on the Self-Service Portal and management servers.
  • Export and backup all unsealed management packs these will include any customizations.
  • Backup management server and data warehouse databases. Here are the databases:

 

Service Manager Databases:

ServiceManager DB

DWStagingAndConfig DB

DWRepository DB

DWDatamart DB

 

  • Backup the SSRS database & RDL files.
  • Document any security that is setup.
  • Backup and document SharePoint web parts and customizations.

 

Before upgrading it is recommended to upgrade to the latest UR first… For example from SP1 –> UR4 –> R2 RTM. You need to be up to at least SP1 with UR2 or the upgrade will not run. If you don’t have a minimum of UR2 you will get the following message.

clip_image001

After the latest UR has been applied this is the order we will upgrade Service Manager in: 

  • Data warehouse server/s first
  • Management server/s second
  • Self-Service Portal server last

There is more detail for each server upgrade that we will go through in the following sections.. Now let’s jump into the Service Manager upgrade process.

Read more

SCSM Assignment/Re-Assignment Notify Options

Service Manager can email analysts when a work item is assigned to them or re-assigned to them. Assignment/re-assignment notification is a common requirement most Service Manager projects. To set this up is not an easy task. This is a topic that has been blogged about already and there are several solutions out for this. Some … Read more