Install > Uninstall ITOC > Uninstall an agent

Uninstall an agent

This section describes how to uninstall an agent from a resource.

  1. Run the following command to uninstall an agent:

    <itoc_install_directory>/.uninstall_itoc_minion.sh (for Linux)

    C:/salt/uninst.exe (for Windows)

  2. Remove the following files from the /tmp directory:

    • rm -f /tmp/ITOC*
    • rm -f /tmp/*minion*
  3. Delete the agent key using the following command:

    $<itoc_install_directory>/scripts/minion_reg.sh –d <agent_identifier_key_string> -y

  4. The agent_identifier_key_string typically is the host name of the target agent host. To confirm, enter:

    $<itoc_install_directory>/scripts/minion_reg.sh -L

    The agent_identifier_key_string is in the command output.

  5. From the HPE ITOC server, run the following command to unregister the agent on the SA slice host:

    <itoc_install_directory>/scripts/minion_reg.sh -d minion_key