During installation, a default configuration, which includes configuration templates, is provided to your system. You can make custom changes within the system configuration templates and also activate new templates using the Config Tool. When you apply the new template, it applies to all Java instances in the relevant cluster.
You can also export the custom template as a child, which derives the configuration of the default (parent) template. Then, you can deploy the child on the same or other systems.
More information: Configuration Templates
You can create a child template only if you make custom configurations on template level. Instance changes do not affect the template.
Before changing the template, make sure AS Java is stopped.
Activating a Configuration Template
Start the Config Tool by double-clicking the configtool script file in the <SAP_install_dir>\<system_name>\<instance_name>\j2ee\configtool directory.
From the dialog window, choose the relevant new template.
You have the following options, regarding the custom settings of your templates:
Apply existing custom settings of the new template - if the new template you want to apply has been previously customized, this option applies its custom settings. If it has never been used, its default settings are applied.
Delete custom settings from the new template
- if the new template has been previously customized, this option deletes its custom settings. If it has never been used, its default settings are applied.
Backup present custom settings of the new template - this option creates a backup of the available custom settings of the new template. This helps you if you want to retrieve these settings in your future configurations.
To restore the backup custom data, choose.
Copy current custom settings to the new template - the settings of the new template are overwritten by the custom settings of the template you have currently used.
Optional: You can enter description of the selected template.
Choose OK .
Start the AS Java.
Result: The new configuration template is activated.
Creating a Child Template
Activate the template you want to use as a basis.
Choose the property you need to change (service or manager property, VM parameter and so on).
To modify VM parameters, choose.
In the Custom Value field, enter the new value as a formula based on the parent value ( $parent ) .
If you choose Thread Manager and you need to increase the value of InitialThreadCount by 10, you have to enter $parent+10 .
Choose Set Custom Value .
When you are ready with all property configurations, choose .
To export the modified template, choose.
In the dialog box, enter a name and a vendor. Optionally, you can enter a template description.
The child is exported as an SDA file in the <SAP_install_dir>\<system_name>\<instance_name>\j2ee\configtool\templates directory.
To use the child template, deploy the SDA file. You can also deploy and use it on other systems.
More information: Using Shell Scripts to Work with SDAs
You can deploy the child only on systems on which the parent template is available.
In the Config Tool, activate the new template.
Start AS Java.
Result: The child template is activated and the changes have taken effect.