Command Central 10.11 | Using the Command Line Interface | Stacks and Layers Commands | sagcc create stacks
 
sagcc create stacks
Creates a new product stack.
Syntax
*Command Central syntax:
sagcc create stacks alias=stackName release=version
[description=description] [platform=platformCode] [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
alias=stackName
Required. The name of the stack. Specify a name that is unique among all stacks this Command Central manages.
release=version
Required. The release version of the stack. For example, 10.1
description=description
Optional. A description of the new stack. If you type a description with spaces, place quotes around the description.
[platform=platformCode]
Optional. The ID of the operating system of the stack.
When you do not include this parameter, the command uses the operating system on the localhost machine.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
*Command Central automatically assigns an index number to a new stack. The index determines the order of positioning of stacks on the Stacks screen in the Command Central web user interface. You can change the index number of a stack using the sagcc update stacks index command.
*After creating a new stack, use the sagcc create stacks layers command to add infrastructure and run-time layers to the stack. A stack should typically have at least one infrastructure and one run-time layer.
Example
To create a new stack with alias "stack01", release version "10.1" and description "test environment stack", for installations running on Linux:
sagcc create stacks alias=stack01 release=10.1 description="test environment stack"
platform=lnxamd64 --password secret
Because the {--server | -s} and {--username | -u} options are not specified, the command uses the default server and user name. The command uses "secret" as the password for the user.