Although there’s a proper method for removing a MOM2005 management server, sometimes you just can’t do it that way. That’s what recently happened here – the primary MOM 2005 management server died, and since they were transitioning to OpsMgr 2007 anyway, they decided to leave it down.

So how to remove it? It’s actually really simple.

Open up SQL management studio and connect to the OnePoint database for MOM2005 server.

  1. Run the following sql query to pull up all of your MOM2005 management servers:
    1
    2
    select * from Computer
    where ISCollector = 1 and IsConfigManager = 1
  2. Now find the MS you want to remove and copy it’s GUID from the idComputer field, then run this query:
    1
    2
    3
    update Computer
    Set IsCollector = 0, IsConfigManager = 0
    Where idComputer = '<GUID>'
  3. Now it’s magically no longer a management server, and can be removed from the console like a normal agent-managed computer. But what about the the agents using it as it’s primary server? No worries – grab the GUID for the management server you’d like to use as the new primary, and run this query:
    1
    2
    3
    Update Computer
    Set idConfigManager = '<New management server GUID>'
    Where idConfigManager = 'Old management server GUID>'
  4. Now run the attribute and discovery scans on the management server, then just wait for the new configuration information to propagate to all the agents, and you’re good.
 

This is just a refresher course on how to convert an MS Operations Manager 2005 management pack into an OpsMgr 2007 management pack. It’s not tough, but I’m doing it so I figure I might as well document it!

1. Open your MOM 2005 Administration console, click on “Management Packs”, then select “Import/Export Management Packs” in the right hand pane.

2. Go through the wizard, selecting the export option, and choosing the rule group you’re looking for. You can choose to export views and tasks as well, but I recommend against that as it’s easy enough to recreate in OpsMgr and you have a lot more objects to choose from. Give it a file name – I usually use <Rule Group>.MP.2005 to make it obvious where it came from.

3. Next you’ll want to make sure you have the MOM 2005 Resource Kit installed on your management server and go to %PROGRAM FILES%\Microsoft Operations Manager Resource Kit\Tools\Convert Management Packs to XML. Copy the file MP2XML.exe to the same place you exported your management pack to.

4. Now get to that location via the command line, and lets take that binary AKM and make it useful. Converting it is pretty straightforward – just run MP2XML.exe MOM2005ManagementPack.akm MyNewXMLFile.xml.

Screen shot of MOM 2005 RK MP2XML

5. When it’s done, copy that new MOM 2005 XML document into your SCOM directory. In that directory lie 2 tools we need, MPConvert.exe and MPVerify.exe. You can copy these tools somewhere else if you like, but the verification tool needs access to other management packs so make sure it’s in your %PATH% otherwise.

6. Run MPConvert.exe against your XML file. The tool is looking for MPConvert.exe OLD_NAME NEW_NAME. For simplicity’s sake I use the same name, only appending _converted to the end to differentiate the 2.

Running MPConvert.exe against an XML file

7. When that’s done, run MPVerify.exe against the new managment pack. What this tool does is ensure that everything has been converted over to the new format properly. It’s as simple as MPVerify.exe New_Management_Pack.xml

Running MPVerify.exe against a newly converted management pack

8. From there, it’s up to you. You can open the new unsealed management pack in the Authoring Console to adjust things, or you can just import it in as it is – the choice is yours! That’s all there is to it!

Newly converted management pack imported into SCOM

 

Ian Blyth of the System Center Technologies blog has put together a quite extensive list of MOM & SCOM bloggers. I encourage you to check em out and add their feeds to your feed reader – and to make it even easier on you, I’ve created 4 OPML feeds for you to choose from. They’ve been lumped into 3 groups; MS Blogs, Community Blogs, and Useful Feeds. Most newsreaders allow you to choose which links you want to import from a feed, and they are in folders, so choose the grand list first and if that doesn’t work, try one of the other ones.

SCOM & MOM – All Feeds.opml

SCOM & MOM – MS “Official” Feeds.opml

SCOM & MOM – Community Feeds.opml

SCOM & MOM – Useful Feeds.opml

© 2012 Pavleck.NET Suffusion theme by Sayontan Sinha