Uninstalling a master domain manager

Before you begin

Before uninstalling, verify that the user running the uninstallation process has the following authorization requirements:
Windows operating systems

If you set the Windows User Account Control (UAC), your login account must be a member of the Windows Administrators group or domain administrators with the right, Act as Part of the Operating System.

If you set the Windows User Account Control (UAC) on the workstation you must run the installation as administrator.

UNIX® and Linux® operating systems
root access

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