You can use LCSCmd.exe to install and activate three Edge Server roles in the perimeter: the Access Edge Server, A/V Edge Server, and Web Conferencing Edge Server. You can activate each server role together or you can activate individual server roles on different servers. Office Communications Server 2007 R2 requires that all of these server roles be consolidated on the same Edge Server.

Use the following syntax example to install Edge Servers.

Copy Code
LCSCmd.exe /Server[:<Server FQDN>] /Action:Activate
/Components:{AP,DP,MR} /Password:<Account Password> /Role:AP
[/User:<Account Name>] [/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}] [/GroupDomain:<Group Domain FQDN>]
[/GroupDomainDC:<Group Domain domain controller FQDN>]
[/User:<Account Name>]  [/NoStart[:{TRUE|FALSE}]]
[/Force[:{TRUE|FALSE}]] [/L:<log file path>]
[/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

Copy Code
LCSCmd.exe /Server /Action:Activate /Role:AP /Components:AP,DP
/Password: My$tr0ngPwd

Where:

Parameter Description

/Server

Executes the action for the specified server FQDN.

/server - activates the local server.

/server:<remoteComputerFQDN> - activates a role on the remote computer.

/Action

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

/Components

Specifies the component roles available on an Office Communications Server 2007 R2 Edge Server. Components are separated by commas. You must specify at least one Edge Server role, or activation will fail.

Valid values are:

AP to activate Access Edge Server

DP to activate Web Conferencing Edge Server

MR to activate A/V Edge Server

/Role

Specifies the role of the server.

/Password

Specifies the service account password for the server.

/RefDomain

Specifies the reference domain FQDN.

/User

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

/NoStart

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

/Force

Specifies whether to force task execution.

/L

Specifies the log file path. If not specified, %TEMP%\<ActionName>[<Date>][<Time>].html is used. To disable logging, use a dash character (-) as the log file name.

/XML

Specifies whether the log file to be generated should be in XML format instead of HTML.

/?

Shows Help on usage.