Command Central 10.3 | Command Central Developer Reference | Using the Command Line Interface | Stacks and Layers Commands | sagcc create stacks layers
 
sagcc create stacks layers
Creates a layer in an existing stack.
Syntax
*Command Central syntax:
sagcc create stacks stackName layers alias=layerName layerType=type
nodes=node_aliases [repoProduct=repoName repoFix=repoName
repoAsset=repoName][templateProperty1=templateValue1 ...]
[description=description] [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack in which to add the layer.
alias=layerName
Required. The name of the layer. Specify a name that is unique among the layers in the stack.
layerType=layerTypeId
Required. The alias of a configuration instance of a layer definition, for exampleINFRA-LOCAL is the alias of the instance with ID CCE-LAYER-TYPES-infra-local. Go to Command Central Server > Configuration > Layer Types in the Command Central web user interface or use the CLI configuration commands to create configuration instances of layer definitions.
nodes=node_aliases
Required. A comma separated list of the Platform Manager nodes to include in the layer.
[repoProduct=repoName repoFix=repoName repoAsset=repoName]
Optional. The name of a product, fix, and asset repository to include in the layer.
When creating an infrastructure layer, you can use the cc.installer=repoName parameter to point to the bootstrap installer from which to provision Platform Manager
[templateProperty1= templateValue1...]
Optional. User-defined parameters for the micro template referenced in the layer definition.
description=description
Optional. A description of the new stack. If you type a description with spaces, place quotes around the description.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Example
To create a new layer with name "layer01" in the stack with alias "stack01", using the layer definition with alias "INFRA-CONNECT", and include the nodes with alias "sag01" and "sag02" in the layer:
sagcc create stacks stack01 layers alias=layer01 layerType=INFRA-CONNECT
nodes=sag01,sag02 --password secret
The command uses "secret" as the password for the user.