Export (0) Print
Expand All

How to Deploy the Operations Manager 2007 Agent Using MOMAgent.msi from the Command Line

You can use the following command-line examples to deploy the Operations Manager 2007 agent by using MOMAgent.msi, also referred to as a manual install.

Bb309553.Important(en-us,TechNet.10).gifImportant
A Management Group must be configured to accept agents installed with MOMAgent.msi or they will be automatically rejected and therefore not display in the Operations console. For more information, see How to Configure Security for Manual Agent Installs Setting for an Operations Manager 2007 Management Group. If a Management Group is configured to accept manually installed agents after the agents have been manually installed, the agents will display in the console after approximately one hour.

The first command-line example does not use Active Directory Domain Services to assign computers to Management Groups, and the second example does use Active Directory Domain Services. The account used to run MOMAgent.msi must have administrative privileges on the targeted computers.

Bb309553.Important(en-us,TechNet.10).gifImportant
Each agent installed with MOMAgent.msi must be approved for a Management Group. For more information, see How to Approve an Operations Manager 2007 Agent Installed for a Management Group Using MOMAgent.msi.

MOMAgent.msi can be found in the Operations Manager 2007 installation media and the Management Server installation directory. For the list of MOMAgent.msi custom public properties, see Operations Manager 2007 Reference.

Bb309553.Important(en-us,TechNet.10).gifImportant
The Operations Manager 2007 agent requires the Microsoft XML 6.0 Parser. You can download the MSXML 6.0 Parser, also referred to as Microsoft Core XML Services (MSXML) 6.0, from http://go.microsoft.com/fwlink/?LinkId=76343. The MSXML 6.0 Parser is installed automatically with the agent if the agent is deployed from the Operations Manager 2007 Operations Console. For more information see about deploying the agent form the console, see How to Deploy the Operations Manager 2007 Agent to Windows-Based Computers from the Operations Console.

If an agent is manually deployed to a domain controller, and an Active Directory Management Pack is later deployed, errors might occur during deployment of the Management Pack. To prevent errors from occurring before deploying the Active Directory Management Pack, or to recover from errors that might have already occurred, you will need to deploy the Active Directory Management Pack helper object by deploying the file oomads.msi on the affected domain controller. The file oomads.msi can be found on the computer hosting the agent at C:\Program Files\System Center Operations Manager 2007\HelperObjects. For more information, see the section "Agent-Managed Domain Controllers" in the topic Configuring Objects to Be Managed by Operations Manager 2007

To deploy the Operations Manager 2007 agent from the command line

  1. Use local administrator privileges to log on to the computer.

  2. Open the command window.

  3. At the prompt, for example, type the following:

    Bb309553.Important(en-us,TechNet.10).gifImportant
    Microsoft Windows Installer public properties must be uppercase, such as PROPERTY=value. For more information about Windows Installer, see http://go.microsoft.com/fwlink/?LinkId=70004.

    %WinDir%\System32\msiexec.exe /i \\path\Directory\MOMAgent.msi /qn USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=MG1 MANAGEMENT_SERVER_DNS=MS1.Domain1.net SECURE_PORT=Port Number ACTIONS_USE_COMPUTER_ACCOUNT=0 ACTIONSUSER=AgentAction ACTIONSDOMAIN=Domain1 ACTIONSPASSWORD=Password#2007

  4. The preceding command-line example will install and configure the Operations Manager 2007 Agent:

    1. To get its Management Group settings from properties set on the command line (USE_SETTINGS_FROM_AD=0).
    2. Sets the Management Group the computer will be managed by to MG1 (MANAGEMENT_GROUP=MG1).
    3. Sets the Management Server FQDN to MS1.Domain1.net (MANAGEMENT_SERVER_DNS=MS1.Domain1.net). To use a gateway server, enter the gateway server FQDN as MANAGEMENT_SERVER_DNS.
      Bb309553.Important(en-us,TechNet.10).gifImportant
      If the computer's DNS and Active Directory names differ, the MANAGEMENT_SERVER_AD_NAME property would also need to be set to the fully qualified Active Directory Domain Services name.

    4. Sets the health service port number (SECURE_PORT)
    5. Sets the Agent Action account to a specified user account, as opposed to Local System (ACTIONS_USE_COMPUTER_ACCOUNT=0).
    6. Sets the Agent Action account to AgentAction (ACTIONSUSER=AgentAction).
    7. Sets the Agent Action account domain to Domain1 (ACTIONSDOMAIN= Domain1).
    8. Sets the Agent Action account password to Password#2007 (ACTIONSPASSWORD= Password#2007).

To deploy the Operations Manager 2007 agent from the command line and configure the agent to get Management Group settings from Active Directory Domain Services

  1. Use local administrator privileges to log on to the computer.

  2. Open the command window.

  3. At the prompt, type the following:

    %WinDir%\System32msiexec /i \\path\Directory\MOMAgent.msi /qn USE_MANUALLY_SPECIFIED_SETTINGS=0

  4. The preceding command line will install and configure the Operations Manager 2007 Agent to not get Management Group settings from the command line (USE_MANUALLY_SPECIFIED_SETTINGS=0).

See Also

Did you find this information useful? Please send your suggestions and comments about the documentation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft