Use the following syntax example to activate Monitoring Server.

Copy Code
LCSCmd.exe /Monitoring:<Monitoring Server FQDN>
/Action:Activate /backend:<SQL instance name (computer\instance
name)> /qoedbdatapath:<QoE database data file path>
/qoedblogpath:<QoE database log file path>
[/cdrdbdatapath:<CDR database data file path>]
[/cdrdblogpath:<CDR database log file path>]
[/RefDomain:<Domain FQDN>] [/PDCRequired[:{TRUE|FALSE}]]
[/GlobalSettingsDC:<FQDN of a global settings domain
controller>] [/DC:<domain controller FQDN>]
[/GC:<Global Catalog FQDN>] [/Global:{Configuration |
System}] [/User:<Account Name>] [/Password:<Account
Password>] [/NoStart[:{TRUE|FALSE}]] [/clean[:{TRUE|FALSE}]]
[/L:<log file path>][/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

Copy Code
LCSCmd.exe /Monitoring /Action:Activate /Password:My$tr0ngPwd
/backend:ArchivingServer\Live /qoedbdatapath:"e:\Microsoft\LC QoE
Data" /qoedblogpath:"e:\Microsoft\LC QoE Log"
/cdrdbdatapath:"e:\Microsoft\LC CDR Data"
/cdrdblogpath:"e:\Microsoft\LC CDR Log"

Where:

Parameter Description

/Monitoring

Executes the action for the specified monitoring computer. If no FQDN is specified, the current computer is used.

/Action

Takes a string that specifies the action name. Valid action names include CheckLCServerState, Activate, and Deactivate.

/Backend

Specifies the full SQL Server instance name where the Monitoring Server back-end database will be set up. It can consist of a computer name and an instance name (for instance, Computer01\LCS), or just the computer name if the default instance on the back-end database is used (such as Computer01).

/qoedbdatapath

Specifies the folder where the QoE database data file will be located.

/qoedblogpath

Specifies the folder where the QoE database log file is located.

/cdrdbdatapath

Specifies the folder where the CDR database data file will be located.

/cdrdblogpath

Specifies the folder where the CDR database log file is located.

/RefDomain

Specifies the reference domain FQDN.

/Global

Specifies the global setting location.

/User

Specifies the service account name for the server. It defaults to RTCComponentService. If the specified user account does not exist, Office Communications Server 2007 R2 automatically creates the account.

/Password

Specifies the service account password for the server.

/NoStart

Specifies whether to start the service on the server during activation.

/Clean

Specifies whether to do a clean setup for backend creation actions.

/Force

Specifies whether to force task execution.