The following tools are provided on the MOM CD, and are automatically copied to the MOM installation directory.
Management Module Utility
Use this tool to export Management Pack objects to an AKM file, import Management Pack objects from an AKM file, or regenerate knowledge in rule groups.
Type: Command line.
Prerequisites: None
How to use: From the command-line prompt, use the tool according to the result that you want. To obtain examples, enter the following command at the prompt:
ManagementModuleUtil.exe /?
To export Management Pack objects into an AKM file:
ManagementModuleUtil.exe -O|-Ox|-Ov|-Ot MOMServerName MPObjectName|MPObjectGUID AKMFileName [-V 00.0.0000.0000] [-Vm 00.0.0000.0000] -W|-A [DescriptionFile]
Parameters and options:
-O //Export the specified Rule Group in full AKM file
-Ox //Export the specified Rule Group in retail AKM file
-Ov //Export saved view
-Ot //Export task
-V 00.0.0000.0000 //Add version information to the management pack file and Rule Groups.
Note: Indicate the version number that you want to assign using the following format: 00.0.0000.0000
-Vm 00.0.0000.0000 //Add MOM Server version dependency. This option attaches the version number of the MOM Server that the Management Pack is exported from
-W //Write to a new AKM file
-A //Append to an existing AKM file
To import Management Pack objects from an AKM file:
ManagementModuleUtil.exe -I MOMServerName AKMFileName [-F|-R] [-V]
Parameters and options:
Note: You can run ManagementModuleUtil.exe with the -I parameter and get a full merge import without using the -F and -R parameters.
-I //Import MP Objects from specified AKM file
-F //Force the existing management pack objects to be merged with the ones in AKM file.
Note: Merges are limited to the following settings within the existing Management Pack, Customer Knowledge is retained, The Enable/Disable setting is retained, and Customer rules are retained. All others are overwritten.
-R //Replace the existing Management Pack objects with the ones in AKM file.
Note: All customizations of the existing Management Pack objects are overwritten.
-V //Disable import version verification
To regenerate knowledge in rule groups:
ManagementModuleUtil.exe -K|-Kp MOMServerName ProcRuleGroupName
Parameters and options:
-K //Regenerates Vendor Knowledge for all rules in the Rule Group specified as well as all child Rule Groups
-Kp //Regenerates Vendor Knowledge for all rules in the Rule Group
Operational Data Reports
Use this tool to send operational reporting data to Microsoft. There are rules that do this automatically if you enable them.
Type: Command line
Prerequisites: Reporting must be installed for this to work.
How to use: From the command line prompt, use the tool as follows:
OperationalDataReports.exe /senddata
Report Utility
Use this tool to import from, or export to, reports to the Reporting Database.
Type: Command line
Prerequisites: None
How to use: From the command prompt, use the tool as follows:
RptUtil.exe [options]
Options:
/action: // Action - import or export. (Default=export)
/file: //Full path to the import or export file. (Default=C:\MOMReports.XML)
/url: //Url of the report server. (Default=http://localhost/ReportServer/ReportService.asmx)
Note: Url can end with or without ReportService.asmx./reportpath: //Path to the report or report folder to be exported. (Default=/)
Note: Valid only when action=export
/fromdsref: //Name of the "from" datasource reference to fixup. (Default=SCDW)
Note: Valid only when action=import
/todsref: //Name of the "to" datasource reference to fixup. (Default=/SCDW)
Note: Valid only when action=import
/datasource: //Name of the datasource to fixup. (Default=SCDW)
Note: Valid only when action=import/dwserver: //Name of the datawarehouse server used to fixup the datasource. (Default=.)
Note: Valid only when action=import
/dwdb: //Name of the datawarehouse database used to fixup the datasource. (Default=SystemCenterReporting)
Note: Valid only when action=import
/noprompt //Do not prompt for user input. (Default is to prompt if needed)
Note: Use this option when running from an automated script.
Set Action Account
Use this tool to query the current Action account settings or to change the Action account.
Type: Command line.
Prerequisites: Administrator privileges.
How to use: From the command prompt, use the tool as follows:
SetActionAccount.exe <management group> [options]
Options:
-query //returns the current Action Account settings for the specified management group.
-set <domain> <username> //sets the Action Account for the specified management group.
Note: The tool will prompt you for the new password.
Note: The management group must be specified, even if the agent is not multihomed.