Command Central 10.15 | Template Definition Reference | Infrastructure Micro Template Reference
 
Infrastructure Micro Template Reference
You can find sample infrastructure micro templates at sagdevops-templates
alias: sag-spm #REQUIRED A unique alias for the template. Validated, do not use ^\w+[\w\-\.]*$
description: #Optional description of the template.

environments:
default:
nodes: ${} #REQUIRED For local bootstrap: The unique alias of a new node. Example: dev${spm.port}
#For remote bootstrap: a list of the hostnames of the remote hosts. Example: host1,host2
install.dir: ${} #REQUIRED For local bootstrap: A unique installation directory. Example: /home/user/dev${spm.port}
#For remote bootstrap: the installation directory on the remote hosts. Example: /home/user/softwareag
cc.installer: ${} #REQUIRED The file name of the Command Central bootstrap installer to use for bootstrapping Platform Manager.
spm.port: 8092 #The HTTP port of Platform Manager. Default: 8092
subst.credentials.alias: ${} #For remote bootstrap: The substitute user credentials to use to install and start Platform Manager.
os.credentials.alias: ${} #For remote bootstrap: The SSH credentials to use to connect to the remote hosts.
spm.credentials.alias: #The credentials alias for the Platform Manager "Administrator" user. Default: ADMINISTRATOR
param1: ${@credentials.credentialsAlias.username} # OPTIONAL Existing credentials alias that matches the username for different sets
# of credentials, such as repo or product user credentials.
param2: ${@credentials.credentialsAlias.password} # OPTIONAL Existing credentials alias that matches the password for different sets
# of credentials, such as repo or product user credentials.
spm.username: ${@credentials.credentialsAlias.username} # OPTIONAL Existing credentials alias that matches the username that Command Central
# uses to connect to Platform Manager nodes.
spm.password: ${@credentials.credentialsAlias.password} # OPTIONAL Existing credentials alias that matches the password that Command Central
# uses to connect to Platform Manager nodes.


layers:
infra: #REQUIRED The definition of the infrastructure layer.
templates:
- spm #The alias of the Plaform Manager inline template defined in "templates".

templates:
spm: #An alias for the Platform Manager inline template. Validated, do not use ^\w+[\w\-\.]*$
products:
SPM: #The product ID of Platform Manager.
OSGI-SPM: #REQUIRED Registers OSGI-SPM as an infrastructure layer instance.

provision:
default:
infra: ${nodes} #A node (for local bootstrap) or a list of nodes (for remote bootstrap) on which to provision the infrastructure layer.

nodes: #Details about how to install Platform Manager.
default:
${node}:
host: localhost #For local bootstrap: The same host as the host on which Command Central runs.
port: ${spm.port} #The number of the Platform Manager port.
secure: false # Whether to use HTTPS (true) or HTTP (false). Always start with HTTP.
credentials: ${spm.credentials.alias} #The credentials alias for the Platform Manager "Administrator" user.
bootstrapInfo:
installer: ${cc.installer} #The Command Central bootstrap installer to use for bootstrapping Platform Manager.
installDir: ${install.dir} #The installation directory of Platform Manager.
substituteUserCredentials: ${subst.credentials.alias} # Optional. For remote bootstrap: the substitute user credentials to use to install and
# start Platform Manager.
credentials: ${os.credentials.alias} #For remote bootstrap: the SSH credentials to connect to the remote hosts.
version: "${release}" # The release version of the Platform Manager node. For backward compatibity when "cc.installer" is not available.