Can the AUTOSERV for a Workload Automation AE instance be renamed

Document ID : KB000111413
Last Modified Date : 23/08/2018
Show Technical Document Details
Introduction:
Can the AUTOSERV for a Workload Automation AE instance be renamed?
Environment:
Product - Workload Automation AE 11.3.x
Platform - Windows, Unix, Linux
Database - Oracle. Sybase, SQL
 
Instructions:
It is not recommended to rename a Workload Automation AE instance name, $AUTOSERV. 
Support recommends to install AE and specify the desired instance name.
Export all the jobs, calendars, and machine definitions etc... from the old instance and import them to the new instance.

NOTE - The autobcp and datamover utilities only support environments where the AUTOSERV values for the source and target are equal.

The reason support does not recommend renaming an AE instance is that the AUTOSERV value is in many places.
Below are a few examples:
1. /etc/auto.$AUTOSERV
2. /etc/profile
3. /etc/profile.CA
4. /etc/init.d/waae* and /etc/init.d/CA-WAAE
 The start up files.
5. $AUTOUSER
 It has the instance name as part of its folder name.
6. $AUTOUSER/config.$AUTOSERV
 The config file inside the AUTOUSER folder
7. $AUTOUSER/autosys.<shell>.<hostname>
 The script files inside $AUTOUSER contain references to $AUTOSERV
8. /opt/CA/SharedComponents/installer/administration/admi/CAWorkloadAutomationAE//CAWorkloadAutomationAE.@prm
 The prm files contain replies provided during the install and will be seen during future upgrade attempts.
9. /opt/CA/SharedComponents/installer/administration/admi/CAWorkloadAutomationAE-SDK//CAWorkloadAutomationAE-SDK.@prm
 The prm files contain replies provided during the install and will be seen during future upgrade attempts.
10. In the database
select type, str_val from aedbadmin.alamode where type='AUTOSERV';

NOTE - For Windows there are many additional references in the registry to AUTOSERV.