Installing the VMM Components from the Command Line

Applies To: Virtual Machine Manager 2008, Virtual Machine Manager 2008 R2, Virtual Machine Manager 2008 R2 SP1

For System Center Virtual Machine Manager (VMM) 2008 or VMM 2008 R2, you can install each component from the command line by using the setup.exe command. An .ini file is provided for each component. You can modify the .ini files to customize your installation.

Installing the VMM Server

You can install the VMM server from the command line by using the VMServer.ini file to customize the installation options. You can set the optional parameters listed in the following table.

Parameter Value

CreateNewSqlInstance

0 : Use an existing instance of Microsoft SQL Server. You have to provide a value for the SqlInstanceName parameter or accept the default.

1 : Create a new instance of SQL Server by installing Microsoft SQL Server 2005 Express Edition SP 2 for VMM 2008, or SQL Server 2005 Express Edition SP 3 for VMM 2008 R2. By default, the new instance is named MICROSOFT$VMM$.

CreateNewSQLDatabase

0 : Use an existing SQL Server database. You have to provide a value for the SQLDatabaseName parameter or accept the default.

1 : Create a new SQL Server database. You have to provide a value for the SQLDatabaseName parameter or accept the default.

OnRemoteServer

0 : Specify the local SQL Server installation.

1 : Specify a remote SQL Server installation. You have to provide a value for the SqlDBAdminName, SqlDBAdminPassword, and SqlDBAdminDomain parameters in the command unless the user running Setup is an administrator of the instance of SQL Server.

Ports

Verify the values of the IndigoTcpPort, WSManTcpPort, and BitsTcpPort. For more information about ports, see VMM Ports and Protocols (https://go.microsoft.com/fwlink/?LinkID=128912).

CreateNewLIbraryShare

0 : Use an existing library share. You have to provide values for the LibraryShareName and LibrarySharePath parameters or accept the default.

1 : Create a new library share. You have to provide values for the LibraryShareName, LibrarySharePath, and LibraryShareDescription parameters or accept the default.

SQMOptin

0 : Do not opt in to the Customer Experience Improvement Program (CEIP).

1 : Opt in to CEIP.

For more information about CEIP, see https://go.microsoft.com/fwlink/?LinkID=127770

For CEIP privacy information, see https://go.microsoft.com/fwlink/?LinkID=93635

For VMM privacy information, see https://go.microsoft.com/fwlink/?LinkID=110828

MUOptIn

0 : Do not opt into Microsoft Update.

1 : Opt into Microsoft Update.

For more information about Microsoft Update, see https://go.microsoft.com/fwlink/?LinkID=115474

For Microsoft Update privacy information, see https://go.microsoft.com/fwlink/?LinkID=115475

For VMM privacy information, see https://go.microsoft.com/fwlink/?LinkID=110828

VmmServiceLocalAccount

0 : Start the VMMService service under a domain account. You have to provide values for the VMMServiceDomain, VMMServiceUserName, and VMMServiceUserPassword parameters in the command.

1 : Start the VMMService service under the Local System account.

To install the VMM server from the command line

  1. Copy the VMServer.ini file from the amd64\Setup folder to a local folder.

  2. Remove the comment indicator (#) only if you want to edit the entry. Otherwise, the setup uses the values in the .ini file as the default values.

  3. From the product media, type the following command at the command prompt:

    setup.exe /server /i /f <path>\VMServer.ini [/SqlDBAdminName <administrator user name> /SqlDBAdminPassword <password> /SqlDBAdminDomain <domain> /VmmServiceDomain <domain> /VmmServiceUserName <service user name> /VmmServiceUserPassword <password>]

    For example:

    setup.exe /server /i /f C:\VMServer.ini /SqlDBAdminName SQLAdmin /SqlDBAdminPassword SQLPassWord /SqlDBAdminDomain CONTOSO /VmmServiceDomain CONTOSO /VmmServiceUserName VMMAcct /VmmServiceUserPassword VMMPassWord

Installing the VMM Administrator Console

You can install the VMM Administrator Console from the command line by using the VMClient.ini file to customize the installation options. You can set the parameters as follows.

Parameter Value

ProgramFiles

Specify the location in which to store program files.

IndigoTCpPort

Specify the port number used to communicate with the VMM server.

MUOptIn

0 : Do not opt in to Microsoft Update.

1 : Opt in to Microsoft Update.

For more information about Microsoft Update, see https://go.microsoft.com/fwlink/?LinkID=115474

For Microsoft Update privacy information, see https://go.microsoft.com/fwlink/?LinkID=115475

For VMM privacy information, see https://go.microsoft.com/fwlink/?LinkID=110828

VmmServerForOpsMgrConfig

Specify the name of the System Center Operations Manager server.

To install the VMM Administrator Console from the command line

  1. Copy the VMClient.ini file from the amd64\Setup folder to a local folder.

  2. Remove the comment indicator (#) only if you want to edit the entry. Otherwise, the setup uses the values in the .ini file as the default values.

  3. From the product media, type the following command at the command prompt:

    setup.exe /client /i /f <path>\VMClient.ini

Installing the Self-Service Portal

You can install the VMM Self-Service Portal from the command line by using the VMEup.ini file to customize the installation options. You can set some parameters, as follows.

Parameter Value

VMMServerName

Specify the name of the VMM server.

IndigoTcpPort

Specify the port number used to communicate with the VMM server.

SelfServicePortalTcpPort

Specify the TCP port for the portal.

SelfServicePortalHeader

Specify the host header name for the portal.

MUOptIn

0 : Do not opt in to Microsoft Update.

1 : Opt in to Microsoft Update.

For more information about Microsoft Update, see https://go.microsoft.com/fwlink/?LinkID=115474

For Microsoft Update privacy information, see https://go.microsoft.com/fwlink/?LinkID=115475

For VMM privacy information, see https://go.microsoft.com/fwlink/?LinkID=110828

To install the Self-Service Portal from the command line

  1. Copy the VMEup.ini file from the amd64\Setup folder to a local folder.

  2. Remove the comment indicator (#) only if you want to edit the entry. Otherwise, Setup uses the values in the .ini file as the default values.

  3. From the product media, type the following command at the command prompt:

    setup.exe /eup /i /f <path>\VMEup.ini

Uninstalling VMM

You can uninstall each component by using the setup.exe command together with the /x switch.

To uninstall the VMM components from the command line

  1. Copy the VMServerUninstall.ini file from the amd64\Setup folder to a local folder.

  2. From the product media, type the following commands at the command prompt:

    setup.exe /server /x /f <path>\VMServerUninstall.ini

    setup.exe /client /x

    setup.exe /eup /x

See Also

Concepts

Installing the VMM Server
Installing the VMM Administrator Console
Installing the VMM Self-Service Portal