Uninstalling manually on UNIX operating systems
Steps to take when uninstalling HCL Workload Automation master domain manager manually on a UNIX operating systems.
To manually remove a HCL Workload Automation master
domain manager complete the following steps.
Note: If your RDBMS is
based on Oracle, run the showDataSource wastools command
before uninstalling the master domain manager and take note of the
net service name used for your database.
- 1. Shut down all HCL Workload Automation operations and processes
- On a system prompt, go to the HCL Workload Automation installation path.
- Set the environment by running the twa_env.sh command.
- Stop the dynamic agent by running the ShutDownLwa command.
- Stop netman, conman, and their child processes by running the conman “shut;wait” command.
- Stop the event process by running the conman stopmon command.
- Stop the application server process by running the conman stopappservman command.
- To verify that the following processes are inactive run the command ps
-ef | grep process_name.
netman appservman java mailman monman
- 2. Delete the HCL Workload Automation profile on WebSphere Application Server
- Go to the bin subdirectory under the HCL Workload Automation installation path, and run the
command:
manageprofiles.sh –delete –profileName your_profile_name
- Check the name of the profile used by your HCL Workload Automation instance
by running these steps:
- Go to the /etc/TWA directory. This directory contains several files, one for each HCL Workload Automation instance that is installed.
- Look for the file whose properties include the path of the profile to delete. The profile_name property contains the name of the profile to delete.
- Check in the log file that the profile was deleted successfully.
- Delete manually the TWSProfile from the WebSphere Application Server directory under the installation path.
- Go to the bin subdirectory under the HCL Workload Automation installation path, and run the
command:
- 3. Delete the registry in the Installation Manager (IM)
- Launch Installation Manager.
- Select the HCL Workload Automation package that you want to uninstall.
- 4. Delete the HCL Workload Automation and the HCL Workload Automation registries
- Edit the /etc/TWS/TWSRegistry.dat file.
- Delete the lines tagged with TWS_user.
- Go to the /etc/TWA directory which contains two files for each HCL Workload Automation instance installed.
- Look for the properties file that applies to the HCL Workload Automation instance to remove.
- Delete the properties file and the file with the same filename and extension .ext.
- Delete the /etc/init.d/tebetl-tws_cpa_agent_TWS_user directory.
- 5. Delete the HCL Workload Automation files
- Delete all the files under the TWA_install_dir directory.
- 6. Drop the HCL Workload Automation tables into the RDBMS
- On DB2:
- Complete the following steps:
- Connect as DB2 administrator.
- Look for the database name by running the command:
list db directory
- If you see an entry named your_db_name associated
to the HCL Workload Automation instance,
run the command:
drop db your_db_name
- If you see an entry named your_db_name_DB associated
to the HCL Workload Automation instance,
run the command:
uncatalog db your_db_name_DB
- See which is the node attached to the master domain manager system
by running the command:
list node directory
- Run the command:
uncatalog node your_node
- On ORACLE:
- Complete the following steps:
- Login as oracle user by running the command su - oracle.
- Run the command:
sqlplus system/password@net_service_name
- Delete all the tables related to the HCL Workload Automation instance
by running the command:
Drop user ORACLE_TWS_user cascade;
- 7. Remove the Common Platforms Agent configuration file
- Remove the file named /etc/teb/teb_tws_cpa_agent_TWS_user.ini.