Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Landscape Commands | sagcc create landscape nodes
 
sagcc create landscape nodes
Adds an installation (also known as a node) that you want to manage via Command Central.
Syntax
*Command Central syntax:
*To specify the data for the new landscape on the command line:
sagcc create landscape nodes  alias=node_alias url=url [name=name]    
[description=description]  [options]
*To specify the data for the new landscape in an input data file:
sagcc create landscape nodes  {--input | -i} filename{.xml|.json}    
[options]
     
 options:        
[{--debug | -d}]        
[{--error | -r} file]        
[{--log | -l} file]        
[{--media-type | -m} content-type]        
[{--password | -p} password]        
[{--quiet | -q}]        
[{--server | -s} url]        
[{--username | -u} user_name]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
alias=node_alias
Required. Specifies the alias name you want to assign to the installation. The name must be unique among all installations that Command Central manages.
Valid characters are ASCII characters, numbers, hyphen (-), underscore (_), and period (.). Spaces are not allowed.
url=url
Required. Specifies the URL of the Command Central that manages the installation. For example:
http://rubicon:8092
When specifying the URL, if you omit the port number, the command uses “8092”, which is the default port for a Command Central server.
[name=name]
Optional. Specifies the display name you want to assign to the installation. If you use a value that includes spaces, place quotes around the value, for example:
name="my installation"
If you do not specify a display name, the command uses the value you specify for the alias name.
[description=description]
Optional. Specifies a description for the installation. If you use a value that includes spaces, place quotes around the value, for example:
description="A description with spaces"
[installationType={Production|Development|Test}]
Optional. The type of installation for which to retrieve license key information. Values are:
*Production
*Development
*Test

[{--input | -i}
filename{.xml|.json}]
Optional. Identifies an input file that contains the data for the new node. For more information, see input.
Tip:
To determine how to specify the data in the input file, use sagcc get landscape nodes to retrieve data for an existing node. For example, if you want to use an XML input file, use sagcc get landscape nodes with the --format xml option to retrieve the data in XML format.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Usage Notes
*Use the sagcc create landscape nodes command to create an installation that is not associated with an environment. After creating the installation, you can use the sagcc add landscape environments nodes command to associate the installation with an environment.
Example When Executing on Command Central
To add an installation managed by the Platform Manager with the URL “http://spm:8092”, and assign it the display name “My webMethods Server” and alias name “mws01”:
sagcc create landscape nodes name="My webMethods Server" alias=mws01       
url=http://spm:8092 --password secret
Because the {--server | -s} and {--username | -u} options are not specified, the command uses the default server and user name. For more information, see server and username. The command specifies “secret” for the user’s password