Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | 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 Templates view in the Command Central web user interface or 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 and listed in the Templates view. You can also verify 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 default.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.