AIX operating systemsLinux operating systems

Uninstalling monitoring agents and application support files

If you installed Tivoli® Monitoring for Tivoli Storage Manager agents by using the IBM® Tivoli Monitoring installer, you can uninstall the agents by using the command-line interface.

Procedure

To uninstall Tivoli Monitoring for Tivoli Storage Manager agents, complete the following steps:

  1. From a command line, go to the following directory:
    cd install_dir/bin
    where the install_dir is the IBM Tivoli Monitoring installation directory. The default directory is /opt/IBM/ITM.
  2. Stop all of the Tivoli Storage Manager agent instances by using the CandleManage application, or the command-line interface.
    Tip: Always stop processes by issuing the itmcmd commands, or from the Manage Tivoli Enterprise Monitoring Services application. Do not kill processes by using the operating system.
    Stop the agent by using CandleManage:
    1. Run the CandleManage program by issuing the following command:
      ./CandleManage &
    2. Right-click each agent and click Stop.
    Stop the agent instances by using the command-line interface:
    1. Display the agents that are running by issuing the following command, and then refer to the output:
      ./cinfo  -r
    2. Issue the following command for each agent instance:
      ./itmcmd agent -o instance_name stop sk
  3. Issue the following command:
    ./uninstall.sh
  4. In the list of features, locate an agent to uninstall. Agents are identified by the name Reporting Agent for Tivoli Storage Manager. Uninstall an agent by entering the feature number of the agent and pressing the Enter key. To confirm your choice, enter 1 and press the Enter key. An updated list of features is displayed. Repeat this step to uninstall all monitoring agents.
  5. Exit the window by entering 99 and pressing the Enter key.
  6. Identify the support files for the monitoring agents. Issue the ./cinfo command, for example:
    /opt/IBM/ITM/bin # ./cinfo -i -t sk
    The result is similar to the following list:
    PC   APPLICATION SUPPORT DESC                          PLAT    APP VER
    
    sk   Monitoring Agent for Tivoli Storage Manager       tpd     07.10.00.
    sk   Monitoring Agent for Tivoli Storage Manager       tps     07.10.00.
    sk   Monitoring Agent for Tivoli Storage Manager       tpw     07.10.00.
  7. Uninstall the support files for the monitoring agents by using the ./uninstall.sh command. For example, if the entry in the PLAT column is tpd, enter the following command to uninstall the corresponding support files:
    /opt/IBM/ITM/bin # ./uninstall.sh sk tpd
  8. For each support file that you uninstall, confirm the choice by entering 1 and pressing the Enter key.
  9. When you finish the uninstall process, to exit the window, enter 99 and press the Enter key.
  10. Restart any agents that you stopped.