You can use the following command-line example to deploy the Operations Manager 2007 database. The account used to run MOM.msi must have administrative rights on the targeted computer. This account must also have database owner privileges on the master and msdb databases on the instance of Microsoft SQL Server that will host the database. For the list of MOM.msi custom public properties, see Operations Manager 2007 R2 Reference.

Important
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.

To deploy an Operations Manager 2007 database using the command line

  1. Open the command window.

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

    %WinDir%\System32\msiexec.exe /i <path>\MOM.msi /qn /l*v %Temp%\MOMDB_install.log ADDLOCAL=MOMDB USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=MG1 SQLSVR_INSTANCE=ODB1\Instance1 DB_SIZE=500 ADMIN_ROLE_GROUP=“Domain1\MOM _Admins” DATA_DIR=E:\OpsMgr2007\Data LOG_DIR=E:\OpsMgr2007\Log

  3. The preceding command-line example does the following:

    1. Installs the Operations Manager 2007 database (ADDLOCAL=MOMDB).

    2. Gets management group settings from properties set on the command line (USE_SETTINGS_FROM_AD=0).

    3. Sets the management group name to MG1 (MANAGEMENT_GROUP=MG1).

    4. Sets the instance of SQL Server for the Operations Manager database to ODB1\Instance1 (SQLSVR_INSTANCE= ODB1\Instance1).

    5. Sets the initial database size to 500MB (DB_SIZE=500).

    6. Sets the Operations Manager Administrators role to Domain1\MOM_Admins (ADMIN_ROLE_GROUP=“Domain1\MOM _Admins”).

    7. Sets the Operations Manager database data file location to E:\OM2007\Data (DATA_DIR=E:\OpsMgr2007\Data).

    8. Sets the Operations Manager database log file location to F:\OM2007\Data (DATA_DIR=E:\OpsMgr2007\Log).

See Also


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