This chapter describes procedures for uninstalling the N1 Service Provisioning System 4.1 in the following sections:
The procedure to uninstall the N1 Service Provisioning System 4.1 depends upon the method that you used to install the software.
If you installed the application as packages on the Solaris OS, use the instructions in How to Uninstall Package-Based Applications on a Solaris OS System.
If you installed the application as files Solaris OS or if you have a Red Hat or IBM AIX system, use the instructions in How to Uninstall File-Based Applications on Solaris OS, Red Hat, and IBM AIX Systems.
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.
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.
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.
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.
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.
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.
Stop the application that you want to uninstall.
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.
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
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.
To uninstall applications on Windows systems, use the Add and Remove Programs function available in the Windows Control Panel. When you perform an uninstallation, ensure that the Microsoft Management Console with Services snap-in, also know as the Services console, is not open. Otherwise, the Master Server, Remote Agent, or Local Distributor might not uninstall properly.