Site/SunNet/Domain Manager for Solaris 2.4/x86 Installation Guide
  Search only this book
Download this book in PDF

Removing the Software

B

This appendix provides the procedure for removing Site/SunNet/Domain Manager software from a local machine. If you have mounted via NFS, follow this same procedure, however, you will need access to the NFS server to remove some of the files.
You might remove the software if you need to free up some disk space on a particular system, or if you want to reinstall Site/SunNet/Domain Manager.
You remove Site/SunNet/Domain Manager software by running the pkgrm program to remove the packages you installed.
To remove Site/SunNet/Domain Manager software:
  1. Enter su and the password to become root.

  2. Start the pkgrm removal program:

    a. If you installed all the packages, enter this command:


  hostname# /usr/sbin/pkgrm SUNW86nmc SUNW86nma SUNW86nmp  
  SUNW86nml SUNWab86 SUNWccfg SUNWccrcv SUNWccsnd  


Note - When removing multiple packages it is important to remove the Core Tools package (SUNW86nmc) first. If it is not, a dependency failure message is generated. This is a non-fatal error, but can lead to confusion.

b. If you did not install the SNMP agent, enter this command:

  hostname# pkgrm SUNW86nmc SUNW86nma  

The pkgrm removal program starts the removal script and asks if you want to remove the SUNW86nmc package.
  1. Enter y to remove the SUNW86nmc package.

    The pkgrm removal program begins removing the SUNW86nmc package and asks if you want to continue with the removal.


  ## Removing installed package instance <SUNW86nmc>.  
  
  This package contains scripts which will be executed with super-user  
  permission during the process of removing this package.  
  
  Do you want to continue with the removal of this package [y, n,?,q]  

  1. Enter y to continue removing the SUNW86nmc package. The pkgrm removal program asks if you want to remove the the database files.


  ## Verifying package dependencies.  
  ## Processing package information.  
  ## Executing preremove script.  
  Do you want to remove the database files in /var/opt/SUNWconn/snm (y/n) [n]:  

  1. Press Return to accept the default, n, so that your database files will not be removed, or enter y if you want to remove the database files. The pkgrm removal program removes the SUNW86nmc package, and asks if you want to remove the SUNW86nma package.

  1. Enter y to remove the SUNW86nma package.

    The pkgrm removal program begins removing the SUNW86nma package and asks if you want to continue with the removal.


  ## Removing installed package instance <SUNW86nma>.  
  
  This package contains scripts which will be executed with super-user  
  permission during the process of removing this package.  
  
  Do you want to continue with the removal of this package [y, n,?,q]  

  1. Enter y to continue removing the SUNW86nma package. The pkgrm removal program asks if you want to remove the the log files.


  ## Verifying package dependencies.  
  ## Processing package information.  
  ## Executing preremove script.  
  Do you want to remove the log files in /var/opt/SUNWconn/snm (y/n) [y]:  

  1. Press Return to accept the default, y, so that your log files will be removed, or enter n if you do not want to remove the log files. The pkgrm removal program removes the SUNW86nma package, and asks if you want to remove the SUNW86nmp package.


Note - If you did not choose to remove the SUNW86nmp package when you started pkgrm, the pkgrm removal program returns your system prompt. Go to Step 11.

  1. Enter y to remove the SUNW86nmp package.

    The pkgrm removal program begins removing the SUNW86nmp package and asks if you want to continue with the removal.


  ## Removing installed package instance <SUNW86nmp>.  
  
  This package contains scripts which will be executed with super-user  


  permission during the process of removing this package.  
  
  Do you want to continue with the removal of this package [y, n,?,q]  

  1. Enter y to continue removing the SUNW86nmp package. The pkgrm removal program removes the SUNW86nmp package, and returns your system prompt.

  1. If you have removed the software from every system on your network, and you are running NIS/NIS+, edit the /etc/rpc and /etc/services files on the master NIS/NIS+ server and make the changes effective, as follows:

    a. Edit the /etc/rpc file to remove the section "Site/SunNet/Domain Manager agents."

    b. Edit the /etc/services file to remove the following lines:


  snmp       161/udp            # Simple Network Mgmt Protocol  
  snmp-trap  162/udp  snmptrap  # SNMP trap (event) messages  

c. If you are running NIS, update the maps using the ypmake command, then push the maps out to the slave NIS servers using the yppush command.
d. If you are running NIS+, use the nisaddent command.

Note - Refer to your system administration documentation if you need additional information on these commands.

You have removed the Site/SunNet/Domain Manager software from your system. If you want to remove the AnswerBook, enter a pkgrm command with SUNWab86 as its argument.