Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Stacks and Layers Commands | sagcc create stacks layers nodes master
 
sagcc create stacks layers nodes master
Defines the master node in a layer. When you create a layer, Command Central sets a default master node to which it compares all other nodes defined for the layer. Use this command only if you want to assign as master another node instead of the default master node.
Syntax
*Command Central syntax:
sagcc create stacks stackName layers layerName
nodes master node_alias [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack to which the layer belongs.
layerName
Required. The name of the layer for which to define a master node.
node_aliases
Required. The alias of the Platform Manager node to set as the master node in the layer.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Example
To define the Platform Manager node with alias "sag01" as the master node for the layer with alias "layer01" in the stack with alias "stack01":
sagcc create stacks stack01 layers layer01 nodes master sag01 --password secret
The command uses "secret" as the password for the user.