HCL Workload Automation, Version 9.4

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
  1. On a system prompt, go to the HCL Workload Automation installation path.
  2. Set the environment by running the twa_env.sh command.
  3. Stop the dynamic agent by running the ShutDownLwa command.
  4. Stop netman, conman, and their child processes by running the conman “shut;wait” command.
  5. Stop the event process by running the conman stopmon command.
  6. Stop the application server process by running the conman stopappservman command.
  7. 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
  1. Go to the bin subdirectory under the HCL Workload Automation installation path, and run the command:
    manageprofiles.sh –delete –profileName your_profile_name
  2. Check the name of the profile used by your HCL Workload Automation instance by running these steps:
    1. Go to the /etc/TWA directory. This directory contains several files, one for each HCL Workload Automation instance that is installed.
    2. 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.
  3. Check in the log file that the profile was deleted successfully.
  4. Delete manually the TWSProfile from the WebSphere Application Server directory under the installation path.
3. Delete the registry in the Installation Manager (IM)
  1. Launch Installation Manager.
  2. Select the HCL Workload Automation package that you want to uninstall.
4. Delete the HCL Workload Automation and the HCL Workload Automation registries
  1. Edit the /etc/TWS/TWSRegistry.dat file.
  2. Delete the lines tagged with TWS_user.
  3. Go to the /etc/TWA directory which contains two files for each HCL Workload Automation instance installed.
  4. Look for the properties file that applies to the HCL Workload Automation instance to remove.
  5. Delete the properties file and the file with the same filename and extension .ext.
  6. 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:
  1. Connect as DB2 administrator.
  2. Look for the database name by running the command:
    list db directory
  3. If you see an entry named your_db_name associated to the HCL Workload Automation instance, run the command:
    drop db your_db_name
  4. 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
  5. See which is the node attached to the master domain manager system by running the command:
    list node directory
  6. Run the command:
    uncatalog node your_node
If the master domain manager was installed on the DB2 client, run the steps 1 and 5 also on the system where the master domain manager is installed.
On ORACLE:
Complete the following steps:
  1. Login as oracle user by running the command su - oracle.
  2. Run the command:
    sqlplus system/password@net_service_name
  3. 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.