N1 Service Provisioning System 4.1 Installation Guide

Uninstalling Applications on Solaris OS, Red Hat, and IBM AIX Systems

The procedure to uninstall the N1 Service Provisioning System 4.1 depends upon the method that you used to install the software.

ProcedureHow to Uninstall Package-Based Applications on a Solaris OS System

Only the Master Server and the CLI Client are available for installation as packages. The uninstall script removes only 4.1 versions of the Master Server or CLI Client.


Note –

The uninstall script is only installed if you installed the Master Server or the CLI Client as package. If the script is not in the directory, then uninstall by using the instructions in How to Uninstall File-Based Applications on Solaris OS, Red Hat, and IBM AIX Systems.


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

  2. Begin the uninstallation.


    # /N1SPS4.1-home/app_directory/bin/cr_uninstall_app.sh
    

    N1SPS4.1-home is the directory where you installed the application. The default directory is /opt/SUNWn1sps/N1_Service_Provisioning_System_4.1. app_directory is one of the following values:

    • server – uninstalls a Master Server

    • cli – uninstalls a CLI Client

    app is one of the following values:

    • ms – uninstalls the Master Server

    • cli – uninstalls the CLI Client

    The following message appears when the uninstallation is complete.


    Successfully removed SUNWspapp
        Successfully removed SUNWspsc1
        Successfully removed SUNWspsj1

    app is ms when uninstalling a Master Server and cl when uninstalling a CLI Client.


    Note –

    The SUNWspsc and SUNWspsj1 packages are not removed if another application is installed on this system. For example, if you have a Master Server and a CLI Client both installed on the same system, when you uninstall only the Master Server, the SUNWspsc and SUNWspsj1 packages remain on the system until you uninstall the CLI Client.


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

Steps
  1. On the system 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 /N1SPS4.1-home/agent/bin/protect
    

    N1SPS4.1-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 /N1SPS4.1-home/app-directory
    

    N1SPS4.1-home is the directory where you installed the application. The default directory is /opt/SUNWn1sps/. 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 N1SPS4.1–home directory contains no more application directories, delete the common/ directory.


    # rm -r N1SPS4.1-home/common
    

    The uninstallation is complete.