Tuesday, June 3, 2014

Installing SCOM 2012x Gateway Server From CMD Prompt? Don’t Forget EULA!!!

Issue
When following this TechNet article all about installing a SCOM 2012x Gateway Server, also by using the command prompt (header To Install the gateway server by using the Command Prompt window), you’ll certainly bump into the situation where the Gateway Server won’t install. Ever!

Problems
The log file only becomes a few KBs big and it will every time show the message that the installation failed without stating a clear reason why.

And double checking the earlier mentioned KB article will show you nothing since you followed that TechNet article to the smallest detail.
image

Cause
Gladly the Application event log of the failing SCOM Gateway Server told me more:
image

Solution
Add the switch AcceptEndUserLicenseAgreement=1 to the syntax used for installing the SCOM Gateway Server and you’ll be fine:

%WinDir%\System32\msiexec.exe /i path\Directory\MOMGateway.msi /qn /l*v path\Logs\GatewayInstall.log ADDLOCAL=MOMGateway MANAGEMENT_GROUP="<ManagementGroupName>" IS_ROOT_HEALTH_SERVER=0 ROOT_MANAGEMENT_SERVER_AD=<ParentMSFQDN> ROOT_MANAGEMENT_SERVER_DNS=<ParentMSFQDN> ACTIONS_USE_COMPUTER_ACCOUNT=0 ACTIONSDOMAIN=<DomainName> ACTIONSUSER=<ActionAccountName> ACTIONSPASSWORD=<Password> ROOT_MANAGEMENT_SERVER_PORT=5723 [INSTALLDIR=<path\Directory>] AcceptEndUserLicenseAgreement=1

No comments: