N1 Grid Service Provisioning System 5.0 Installation Guide

ProcedureHow to Uninstall File-Based Applications on Solaris OS, Red Hat Linux, and IBM AIX Systems

Steps
  1. On the server that you want to uninstall the application, verify that you are not in the directory of the application you want to uninstall.

  2. Stop the application that you want to uninstall.

  3. If you are uninstalling a Remote Agent, change the permissions on files in the /protect directory.


    % chmod -R 755 /N1SPS5.0-home/agent/bin/protect
    

    N1SPS5.0-home is the directory where you installed the Remote Agent.

  4. Delete the directory that contains the application that you want to uninstall.


    # rm -r /N1SPS5.0-home/app-directory
    

    N1SPS5.0-home is the directory where you installed the application. The default directory on Solaris OS and AIX is /opt/SUNWn1sps/. The default directory on Red Had Linux is /opt/sun.app-directory is one of the following values:

    • server – uninstalls a Master Server

    • agent – uninstalls a Remote Agent

    • cli – uninstalls a CLI Client

    • ld – uninstalls a Local Distributor

  5. If you are uninstalling all of the applications from the machine, when the N1SPS5.0–home directory contains no more application directories, delete the common/ directory.


    # rm -r N1SPS5.0-home/common
    

    The uninstallation is complete.