Uninstalling a master domain manager

About this task

To uninstall a master domain manager, perform the following steps:

Procedure

  1. Run the uninstall script.
    1. Change directory using the following command:
      cd TWS_home/TWS/tws_tools
    2. Start the uninstallation process by running the script as follows:
      Windows operating systems
      cscript uninstall.vbs --prompt no --wauser user_name 
      UNIX® and Linux® operating systems
      ./uninstall.sh --prompt no --wauser user_name 
      where, user_name represents the user for which you want to uninstall the master domain manager. The procedure runs without prompting the user to confirm the uninstallation.
  2. Drop the HCL Workload Automation tables to the RDBMS.
    On DB2®:
    Run the following steps:
    1. From the program menu, open the DB2® command-line processor (CLP).
    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. To see which node is attached to the master domain manager system run 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 same on the system where the master domain manager is installed.
    On ORACLE:
    Run the following steps:
    1. Access the ORACLE command line.
    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;
  3. Delete the HCL Workload Automation administrative user that was created at install time.

Results

The log files generated from this command are located in the following path:
On Windows operating systems
TWA_home\logs
On UNIX operating systems
TWA_DATA_DIR/installation/logs