Software AG Command Central 10.2 | Command Central Developer Reference | Using the Command Line Interface | Options for the Commands | server
 
server
Identifies the Command Central or Platform Manager server on which to execute a command.
Syntax
{--server | -s} url
Arguments
Argument
Description
url
Identifies the URL of a Command Central or Platform Manager server on which to execute the command.
*When specifying the URL of a Command Central server, if you omit:
*Protocol, the command uses “https://”.
*Port number, the command uses “8090”, which is the default port for a Command Central server.
*Context, the command uses “cce”.
*You must always provide the full URL, including the protocol, when identifying a Platform Manager server.
Usage Notes
*If you omit the {--server | -s} option, the command uses the value from the CC_SERVER environment variable. If the CC_SERVER environment variable is not set, the command executes on localhost:8090.
*If you want to execute a command on a Platform Manager server, either specify the {--server | -s} option on the command or ensure the CC_SERVER environment variable specifies a Platform Manager server.
Examples
*To execute a command on the Command Central server with host name rubicon and port number 8090 using the http protocol:
--server rubicon                      
--server rubicon:8090                      
--server http://rubicon:8090                      
--server http://rubicon:8090/cce
*To execute a command on the Platform Manager server with host name rubicon2 and port number 8092 using the http protocol:
--server http://rubicon2:8092/spm

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release