Software AG Command Central 10.2 | Automation and Template-based Provisioning | Using Composite Templates | Creating a New Environment Using a Composite Template
 
Creating a New Environment Using a Composite Template
You use the Command Central command line tool to provision a new environment through a composite template.
* To create a new environment through a composite template
1. Open the Command Prompt or shell window and change the working directory to the directory that contains the composite template definition file. For example, C:\CommandCentral\templates\myTemplate
2. Verify that the local Command Central command line tool is running with the following command:
sagcc list landscape nodes local -e ONLINE
3. Import the template in Command Central using the sagcc exec templates composite import command. For example:
sagcc exec templates composite import -i template.yaml
4. Optional. Verify that your template is now registered in Command Central with the sagcc list templates composite command, for example:
sagcc list templates composite -e myTemplate
5. Apply the template by executing the sagcc exec templates composite apply command with the template alias name, for example:
sagcc exec templates composite apply myTemplate -i my.properties
If the composite template definition contains parameters with variables, you must specify the values for those parameters in the composite template apply command.
You can check the status of the composite template apply job and view the composite-templates.log file in the Command Central web user interface or using the jobs and log diagnostic commands of the Command Central command line tool. For more information see, Monitoring the Status of a Composite Template.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release