Uninstalling Storage Resource agents manually

You can manually uninstall Storage Resource agents.

Procedure

To uninstall a Storage Resource agent, complete the following steps:

  1. If the Storage Resource agent is on the Virtual I/O system, complete the following steps:
    1. Log in with the padmin user ID.
    2. Run the following command to set up the AIX® environment:
      oem_setup_env
  2. Go to the directory where the agent is installed:
    agent_install_location
    where agent_install_location is where the Storage Resource agent is installed.
  3. Run the uninstallation command:
    Restriction: Do not delete the Storage Resource agent component from the IBM Spectrum Control server by using the GUI or the command-line interface. This component must exist on the server to complete the uninstall process.
    Read syntax diagramSkip visual syntax diagrambin/Agent-uninstall -force-serverNameTPC_server_name  -debug MAX
    Where:
    -uninstall
    Uninstalls the agent.
    -force
    This optional parameter forces an uninstallation. If you use this parameter, do not provide the serverName parameter.
    -serverName TPC_server_name
    TPC_server_name is the Data server name as defined in IBM Spectrum Control. You can check the configuration file for the server name:
    agent_install_location/config/Agent.config
    where agent_install_location is where is the agent is installed.
    -debug MAX
    This optional parameter is for debugging purposes. If you set the -debug parameter, then some files are not deleted.
    Tip: If you run the uninstallation program from the bin directory, the bin directory is not deleted.

    If you run the uninstallation program outside of the agent installation directory, then you must specify the full path.

    If the uninstallation fails, you must look at the return codes. For more information about return codes, see Return codes used by Storage Resource agent.