Installing multiple instances of the Gen Unix/Linux Implementation Toolset (IT)
search cancel

Installing multiple instances of the Gen Unix/Linux Implementation Toolset (IT)

book

Article ID: 30749

calendar_today

Updated On:

Products

Gen

Issue/Introduction

Situations occur where a second instance of the Gen Implementation Toolset is needed on Unix or Linux.
Perhaps users need instances for different Gen versions, or users may need multiple instances of the same release level containing different configurations.
If users installed the first instance using the default instance name, two methods exist to add a second instance.

Environment

Gen Unix/Linux Implementation Toolset (IT)

Resolution

1.  Uninstall the first instance containing the default instance name and reinstall each instance specifying a unique instance name for each at install time.
Use the -I parameter documented in Install Gen on UNIX and Linux > IT or CSE Installation to make the instances unique i.e.
./setup -I <instance_name>

2.  A work-around exists to allow users to install a second instance of the IT without uninstalling the first instance. The work-around renames the existing instance from the default name to something unique, allowing users to add a second instance.  Here are the instructions to rename the existing instance from the default name to a unique name.

As root user, perform the following tasks:

  1. cd /opt/CA/installer/administration/admi

  2. Use ls to list the set of products that have been installed using CA’s PIF tool. 
       - It should show a CAGen directory.  This represents an installation using the default  instance name.
       - If see other CAGen.* directories, these represent other installations that used  the –I instance flag when installing.

  3. Rename the CAGen directory to give it a unique instance name, such as CAGen.1:
       - mv CAGen CAGen.1

  4. cd to newly renamed directory CAGen.1

  5. cd to next directory (this should be the actual installed build number)

  6. Rename the prm file to match the newly named directory:
       - mv CAGen.@prm CAGen.1.@prm

  7. Edit CAGen.1.@prm and make 2 changes:
       - Change #phead: CAGen , to #phead: CAGen.1 ,
       - Add new line #instancename: 1; after line #multiinst

  8. Perform lsm –l |grep CAGen to verify that installed CA Gen instances show this instance name as CAGen.1, and that instance name CAGen is no longer found.

At this point the user should be able to install a second instance using the –I instance name flag mentioned above.