Two tools are required to convert an Operations Manager 2005 management pack to an Operations Manager 2007 management pack: the Operations Manager 2005 Resource Kit tool, MP2XML, and the MPConvert conversion tool. The following sections describe the prerequisites for installing and the syntax needed to run each of these tools.

Note
Before distributing a converted management pack to users or customers, it should first be imported to an Operations Manager 2007 management group and fully tested.

MP2XML Syntax

The Operations Manager 2005 Resource Kit tool, MP2XML, is used to convert an Operations Manager 2005 management pack from .akm format to XML. MP2XML must be run on an Operations Manager 2005 management server. The following table describes the parameters needed to run MP2XML.exe.

MP2XML.exe [Source Directory\]Source2005MPName.akm [Destination Directory\]Destination2005MPName.xml

Parameter Description

Source2005MPName.akm

Specifies the name of the AKM-formatted Operations Manager 2005 management pack that you intend to convert.

Destination2005MPName.xml

Specifies a name for the newly created Operations Manager 2005 XML management pack file.

Source Directory

Specifies the path to the directory folder that contains the source management pack. If omitted, MP2XML looks in the current directory.

Destination Directory

Specifies the path to which the newly created XML management pack is saved. If omitted, the file is saved to the current directory.

For example, an Operations Manager 2005 management pack file is named MicrosoftSQLServer2000.akm, and you want to convert this management pack to XML using MP2XML. If the name of the management pack remains the same, you could use the following syntax:

MP2XML MicrosoftSQLServer2000.akm MicrosoftSQLServer2000.xml

The resulting file is an Operations Manager 2005 management pack in XML format.

MPConvert Syntax

The conversion tool, MPConvert, can run on any workstation running Windows XP or Windows 2003 Server that has the .NET Framework 2.0 installed. It does not require the installation of any Operations Manager 2005 or Operations Manager 2007 components. The following table describes the parameters needed to run MPConvert.exe.

MPConvert.exe Source Directory\OpsMgr2005XMLFile Destination Directory\OpsMgr2007XMLFile

Parameter Description

OpsMgr2005XMLFile

Specifies the file name of the Operations Manager 2005 management pack that is in XML format.

OpsMgr2007XMLFile

Specifies a name for the newly created Operations Manager 2007 management pack file.

Source Directory

Specifies the path to the directory folder that contains the source management pack. If omitted, MPConvert looks in the current directory.

Destination Directory

Specifies the path to which the newly created XML management pack is saved. If omitted, the file is saved to the current directory.

For example, an Operations Manager 2005 management pack file is named MicrosoftSQLServer2000.xml, and you want to convert this management pack from an Operations Manager 2005 format to an Operations Manager 2007 format using MPConvert. You must change the name of the converted management pack if it is saved to the same folder as the original management pack because they have the same .xml suffix. The following example shows this syntax:

MPConvert MicrosoftSQLServer2000.xml MicrosoftSQLServer2000.OpsMgr2007.xml

MPConvert.exe validates the input file against the Operations Manager 2005 schema, so it must be a valid Operations Manager 2005 XML file for the conversion to complete successfully.


Did you find this information useful? Please send your suggestions and comments about the documentation.