Application Server Command-Line Options
Use the Command-Line Configuration (CLC) /appserver major command to access all sub-commands to configure, start, stop, and uninstall the Application Server.
/appserver
Example:
/appserver /connection="[Common]Cherwell Browser" /connectionPort:8001 /connectionhostingmode:AppServer /connectionProtocol:$env:Protocol_AppServer
Sub-command | Description |
---|---|
/connection |
Name of the CSM connection. Accepted values: string Required: Yes |
/connectionservername |
The server name for the specified connection. Accepted values: string |
/connectionport |
The port to host the Application Server connection. Accepted values: {0 - 65535} Default: 80 |
/appservercertificatesubject |
The display name of the certificate subject. This is not used for searches. Accepted values: string Examples: CN=myhost.cherwell.com, OU=NA, O=NA, L=Colorado Springs, S=CO, C=US. |
/appservercertificatethumbprint |
Certificate thumbprint used to look up certificates in the store configured by option /appservercertstorename. Accepted values: string Example: 99C732FBDD70D798AE2AB23D862835D144C658F4 |
/appservercertificatevalidationmode |
Certificate validation mode to pass to auto-clients. Accepted values: {server | chain | peer | trust | peerorchain} Default: peerorchain |
/appservercertstorelocation |
The location on the machine with the X.509 certificate store. Accepted values: {currentuser | localmachine} Default: currentuser |
/appservercertstorename |
The name of the certificate store that the /appservercertstorelocation option is configured to use. Accepted values: {addressbook | authroot | certificateauthority | disallowed | my | root | trustedpeople | trustedpublisher} Default: my |
/appserverlogtoevent |
If true, log to the event log. Accepted values: {true | false} Default: True |
/appserverlogeventloglevel |
The minimum level at which logs will be sent to the event log. Accepted values: {fatal | error | warning | info | stats | debug} Default: warning |
/appserverlogtofile |
If true, log to the log file. Accepted values: {true | false} Default: False |
/appserverlogfileloglevel |
The minimum level at which logs will be sent to the log file. Accepted values: {fatal | error | warning | info | stats | debug} Default: warning |
/appserverlogfilepath |
The path to the log file. Accepted values: string Default: Path to the directory that contains CSM executables. |
/appserverlogmaxfilesbeforerollover |
Maximum number of log files before files roll over. Accepted values: integer Default: 20 |
/appserverlogmaxfilesizeinmb |
Maximum log file size in MB. Accepted values: integer Default: 10 |
/appserverlogtoserver |
If true, Service Host will log to the log server (Splunk). Accepted values: {true | false} Default: False |
/appserverlogserverloglevel |
The minimum log level at which logs will be sent to the log server (Splunk). Accepted values: {fatal | error | warning | info | stats | debug} Default: warning |
/appserverrecoverylocation |
Overrides the patch to the Application Server recovery file. Accepted values: string |
/appserversecuritymode |
Application Server security mode for encryption. Normal equals none. Accepted values: {normal | signed |encrypted | server} Default: normal |
/appserveruserest |
If true, the Application Server will attempt to bind WCF calls to REST. Accepted values: {true | false} Default: False |
/appserverinstall
Use the /appserverinstall sub-command to install the Application Server.
Example:
/appserver /appserverinstall /connection="[Common]Cherwell Browser" /appserverinstalluserid="domain\userloginID" /appserverinstallpassword="password"
Sub-command | Description |
---|---|
/appserverinstalluserid |
The Windows domain account the service will use to log in. Format: domain\useraccount. Accepted values: string Required: Yes |
/appserverinstallpassword |
Password for the Windows domain account. Accepted values: string Required: Yes |
/appserverinstallautostart |
If true, the service starts automatically during installation. Accepted values: {true | false} Default: False |
/appserverstart
Use the /appserverstart sub-command to start the Application Server. There are no options for this sub-command.
Example:
/appserver /appserverstart
/appserverstop
Use the /appserverstop sub-command to stop the Application Server. There are no options for this sub-command.
Example:
/appserver /appserverstop
/appserveruninstall
Use the /appserveruninstall sub-command to uninstall the Application Server. There are no options for this sub-command.
Example:
/appserver /appserveruninstall