Solstice Enterprise Manager 4.1 Installation Guide | ![]() ![]() ![]() ![]() ![]() |
Removing Solstice Enterprise Manager Software
This chapter describes how to remove Solstice Enterprise Manager (Solstice EM) software from a local machine or server.
This chapter describes the following topics:
- Section 7.1 Why Remove the Software?
- Section 7.3 Example Uninstall Session
- Section 7.2 Removing Solstice EM Software With the Uninstall Program
- Section 7.4 Removing Solstice EM Software With the pkgrm Command
- Section 7.5 Removing the License Software
7.1 Why Remove the Software?
You might want to remove Solstice EM software to free disk space on a particular system.
Note In order to remove Solstice EM software, you must be logged in as root. All procedures in this chapter, unless otherwise noted, require that you access the system as root.
If you are installing Solstice EM software on a system on which a version prior to 2.0 is already installed, you must remove the existing packages before installing the new version of Solstice EM.
In addition to removing the software, you should remove configuration files that may reside in your home directory, such as $HOME/.em_viewer.cf. These configuration files only exist if you made changes to a tool's default settings. If these configuration files are not removed, then the tools will use the settings in these old configuration files rather than the new configuration files in the
/install directory/SUNWconn/em/config directory.When you remove Solstice EM software, you might want to keep some Solstice EM files and directories - for example, configuration files that you have edited or files you might use with another application. The Uninstall program asks if you want to remove these files and directories.
- The base directory is the directory where you installed Solstice EM (/opt is the default). The runtime directory is /var/install directory/SUNWconn/em for example, if you installed Solstice EM in /opt (base directory) and /var/opt/SUNWconn/em is the runtime directory, the Uninstall program removes the files and directories listed in the following table.
7.2 Removing Solstice EM Software With the Uninstall Program
You can use the Uninstall program to remove most of the Solstice EM software. You must use the pkgrm utility to remove the following:
- STE License Installation Tool (SUNWlit package)
- FlexLM License System (SUNWlicsw package)
See Section 7.4 Removing Solstice EM Software With the pkgrm Command."
![]()
To Remove Solstice EM Software With the Uninstall Program
1. Log in as root or become superuser.2. Type the following command to start the Uninstall program.
/install directory/SUNWconn/em_uninstall
- The Uninstall program lists all Solstice EM components. The components that are installed on your system are marked with an X.
3. To remove a component, type its number and press Return.
- To remove all components, type all and press Return. The Uninstall program again lists Solstice EM components. The component(s) you removed are no longer marked with an X. You can continue removing components.
- If you type all, the Uninstall program removes all installed Solstice EM components except the license software, and then removes itself. Instructions for removing the license software can be found in Section7.5 Removing the License Software." You receive a message for each package that is successfully removed.
4. If you chose to remove the SUNWsnmag package, you are asked if you also want to remove the SNM log files in /var/opt/SUNWconn/snm.
- Type y to remove the SunNet Manager log files and remove the SUNWsnmag package. Type n to keep the SunNet Manager log files and remove the SUNWsnmag package.
5. If you have installed licenses for Solstice EM components, the Uninstall program asks if you want to save the licenses. If you type y, the Uninstall program copies the licenses to /etc/opt/licenses. Type n to remove the licenses.
- The Uninstall program then asks if you want to remove the runtime and base directories.
6. If you want to remove these directories, type y. If you do not, type n to keep them.
- The base directory is the directory where you installed Solstice EM (/opt is the default). The runtime directory is /var/install directory/SUNWconn/em
- See TABLE 7-1 for a list of the files and directories that are removed.
7. When you finish removing components, type quit and press Return.
- The Uninstall program displays the message Uninstallation complete.
7.3 Example Uninstall Session
The following is a sample session using the em_uninstall command to remove Solstice EM software.
7.4 Removing Solstice EM Software With the pkgrm Command
This section provides instructions for removing the Solstice EM software from your machine using the pkgrm command.
7.4.1 Finding Installed Packages
To remove the Solstice EM software from your machine using pkgrm, you must know which packages are installed. To determine which Solstice EM packages are installed on your machine, type:
pkginfo | grep Manager
Note You do not need to be root to use the pkginfo command.
The preceding command locates the existence of all Solstice EM packages, as well as the SunNet Manager packages SUNWsnmag and SUNWsnmpd, which are included with the Solstice EM product.
The Cooperative Consoles packages SUNWcccrv and SUNWcccfg are also included with the Solstice EM product. To see if these packages are installed, type:
pkginfo | grep Cooperative7.4.2 Removing the Packages
To remove Cooperative Consoles packages using the pkgrm command, type the pkgrm command followed by the packages you want to remove. For example:
# pkgrm SUNWccrcv SUNWcccfg
Note The packages should be removed in the reverse order in which they were installed, due to package dependencies.
The packages are removed one-by-one. Before each package is removed, you are asked to confirm the removal of the package. During the removal of the packages, you might be asked if you want to continue because of one of the following reasons:
- The package contains scripts that will be executed with superuser permission.
- Another package depends on the one you are trying to remove.
For any of these questions, type y at the prompt to continue with package removal, n to skip this package and remove the next package, or q to quit and not remove any more packages.
The removal of the SUNWsnmag package produces one extra question:
Do you want to remove the SNM log files in /var/opt/SUNWconn/snm (y/n) [y]
Press Return or type y to this question if you want to remove the SunNet Manager log files, or type n if you do not. Regardless of your answer to this question, the removal of the SUNWsnmag package continues. Only the SNM log files are affected by your answer to this question.
A given machine might have a subset of all the product packages. You must specify only those packages that are installed. If you specify uninstalled packages, the pkgrm command fails.
7.5 Removing the License Software
By default, the Uninstall program does not remove the Solstice EM license software because it can be shared by multiple products. To remove the STE License Installation Tool (SUNWlit package) and the FlexLM License System (SUNWlicsw package), type the following command:
pkgrm SUNWlicsw SUNWlit
Note The pkgrm command does not remove all of the licensing data on the machine. In addition to removing the two licensing packages, you also need to remove the data in /etc/opt/licenses. As root, type the following command:
rm -r /etc/opt/licenses
Before each package is removed, you are asked to confirm the removal of the package. During the removal of the packages, you might be asked if you want to continue because of one of the following reasons:
- The package contains scripts that will be executed with superuser permission.
- Another package depends on the one you are trying to remove.
For any of these questions, type y at the prompt to continue with package removal, type n to skip this package and remove the next package, or type q to quit and not remove any more packages.
Sun Microsystems, Inc. Copyright information. All rights reserved. |
Doc Set | Contents | Previous | Next | Index |