Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Common Use Cases with Command Central | Update Licenses on a Number of Nodes with Templates
 
Update Licenses on a Number of Nodes with Templates
After completing the steps in this topic, you will have updated the licenses for the products in all installations managed by Command Central.
Before you begin, make sure that you have the license files for the product licenses that you want to update.
Step 1 Import the new product license keys in Command Central
Import the new license keys for the products (and optional, assign an alias to each license key): Import Product License Keys for Instances or Components and sagcc add license-tools keys.
Step 2 Prepare a composite template to update the licenses
Choose one of the following options:
*Use a template with only a templates: licenses: section, see “licenses” in Templates. The template will copy the licenses (based on the alias defined for each license key in Command Central) to the correct location on the target file system.
This template is very simple but requires you to specify the exact target location to which to copy each license file.
Tip:
You can use the sagcc get configuration data <node_alias> <component_ID> COMMON-LICLOC-<instanceID> command to get the license location for a product instance.
*Use a template with:
*A templates: licenses: section to copy the licenses (based on the aliases defined for the licenses in Command Central) on the remote target hosts
*For each product instance, define a COMMON-LICLOC configuration instance to assign the license to the product. For the template syntax, see "products" in Templates or the default templates in sagdevops-templates.
This template is more complex, but does not require you to specify the target location to which to copy the product license files.
Step 3 Apply the template
Apply the license update template using the sagcc exec templates composite apply command.