Use the following syntax example to activate Archiving Server.
Copy Code | |
---|---|
LCSCmd.exe /Archiving:<Archiving Server FQDN> /Action:Activate /backend:<SQL Server instance name (computer\instance name)> /dbname:<database name> /DBDataPath:<DB data file path> /DBLogPath:<DB log file path> [/Password:<Account Password>] [/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>] [/NoStart[:{TRUE|FALSE}]] [/clean[:{TRUE|FALSE}]] [/L:<log file path>][/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]] |
Such as:
Copy Code | |
---|---|
LCSCmd.exe /Archiving /Action:Activate /Password:My$tr0ngPwd /backend:ArchivingServer\Live /dbname:Archive /DBDataPath:"e:\Microsoft\LC Data" /DBLogPath:"e:\Microsoft\LC Archiving Log" |
Where:
Parameter | Description |
---|---|
|
Executes the action for the specified archiving computer. If no FQDN is specified, the current computer is used. |
|
Takes a string that specifies the action name. Valid action
names include
|
|
Specifies the service account password for the server. |
|
Specifies the full SQL Server instance name where the Archiving 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). |
|
Specifies the name of the database on the SQL Server instance specified for the Archiving Server. |
|
Specifies the folder where the database data file will be located. |
|
Specifies the folder where the database log file is located. |
|
Specifies the reference domain FQDN. |
|
Specifies the global setting location. |
|
Specifies whether to delete all existing service principal names registered for the service on the specified computer. |
|
Specifies the service account name for the server. It defaults
to
|
|
Specifies whether to start the service on the server during activation. |
|
Specifies whether to do a clean setup for backend creation actions. |
|
Specifies whether to force task execution. |