Uninstalling a dynamic domain manager or its backup

Authorization requirements to verify before uninstalling.

Before you begin

  1. Ensure that all HCL Workload Automation processes, services and the WebSphere Application Server Liberty process are stopped, and that there are no active or pending jobs. For information about stopping the processes and services, Starting and stopping processes on a workstation.
  2. To maintain a correct hierarchy of the HCL Workload Automation network, see Uninstalling a dynamic domain manager maintaining a correct hierarchy in the network.

About this task

To uninstall a dynamic domain manager or its backup, 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 dynamic 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 dynamic domain manager system run the command:
      list node directory
    6. Run the command:
      uncatalog node your_node
    If the dynamic domain manager was installed on the DB2® client, run the same on the system where the dynamic 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.