Command Central 10.15 | Using Composite Templates | Migrating a Product Instance | Changing an Instance Name During Migration
 
Changing an Instance Name During Migration
When migrating a product instance you can control whether the instance has the same name in the target installation as the name it had in the source installation. If you want to keep the name of a product instance, define only an instance.name: instruction in the template that you intend to use for migrating the product installation. For example, to keep the name of the source instance "is1":
templates:
is-server:
products:
integrationServer:
is1: # The name of the source instance that gets migrated and
# the new product instance in the target installation have the same name, "is1".
If you want to change the name of a product instance in the target installation, define instance.name: and src.instance.name: in the template. The instance.name is used as the name of the new instance and the value of src.instance.name is the name of the old instance. For example, to change the name of the source instance from "is1" to "is2":
templates:
is-server:
products:
integrationServer:
is2: # The name of the new product instance
# in the target installation will be "is2".
src.instance.name: is1 # The name of the source instance that gets migrated is "is1".