Follow these steps to remove the product software from your system.
Make a full backup of your system before continuing.
Log in to the system from which you want to remove Solaris Resource Manager, and become the superuser:
$ su Password: # |
Bring the system down to single-user system administration mode using the shutdown command:
# shutdown -i 1 |
This step is not necessary on Sun Enterprise 10000, Sun Fire 15K, and Sun Fire 12K servers.
Verify that Solaris Resource Manager is not running.
Although not mandatory, it is best if Solaris Resource Manager is not running when you remove it.
# srmadm show fileopen # no |
Mount the Solaris Resource Manager CD as described in Installing From CD-ROM, and change directories to the location where the CD has been mounted:
# cd /cdrom/cdrom0 |
On Sun Enterprise 10000, Sun Fire 15K, and Sun Fire 12K servers, you must NFS mount the CD from the System Service Processor (SSP) that has the internal CD-ROM drive before changing directories:
# mkdir -p /cdrom/cdrom0 # mount -F nfs ssp:/cdrom/cdrom0 /cdrom/cdrom0 # cd /cdrom/cdrom0 |
Start the package removal tool, Uninstaller:
# ./Uninstaller |
The first package to be removed will be displayed. Type y to continue with the removal of Solaris Resource Manager:
Removing.....Solaris Resource Manager 1.3 (SRM) The following package is currently installed: SUNWsrmr Solaris Resource Manager (sparc) 1.3,REV=2002.09.12.12.52 Do you want to remove this package? y |
You will be warned that the package contains scripts that will be run with superuser privileges. Since these scripts are part of the normal package removal process and are required to remove the software correctly, type y when asked if you want to continue:
## Removing installed package instance <SUNWsrmr> 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] y |
The package will now be removed from your system, and you will see various messages about the removal process:
## Verifying package dependencies. ## Processing package information. ## Removing pathnames in class <shadow> ## Removing pathnames in class <pamconf> ## Removing pathnames in class <etcsystem> ## Removing pathnames in class <passwd> ## Removing pathnames in class <devlinktab> ## Removing pathnames in class <none> /usr/lib/srm/srmscru /usr/lib/srm/liblim.so.1 /usr/lib/srm/liblim.so /usr/lib/srm /usr/lib/security/pam_srm.so.1 /usr/lib/security/pam_srm.so /usr/lib/security <shared pathname not removed> /usr/lib/class/SHR/SHRpriocntl /usr/lib/class/SHR/SHRdispadmin /usr/lib/class/SHR /usr/lib/class <shared pathname not removed> /usr/lib <shared pathname not removed> /usr <shared pathname not removed> /kernel/sched/SHR /kernel/sched <shared pathname not removed> /kernel/misc/srmlim /kernel/misc <shared pathname not removed> /kernel/drv/srmdrv.conf /kernel/drv/srmdrv /kernel/drv <shared pathname not removed> /kernel <shared pathname not removed> /etc/srm/nolnode /etc/srm/limconf /etc/srm /etc/rc2.d/S10srm /etc/rc2.d <shared pathname not removed> /etc/rc1.d/K52srm /etc/rc1.d <shared pathname not removed> /etc/rc0.d/K52srm /etc/rc0.d <shared pathname not removed> /etc/init.d/init.srm /etc/init.d <shared pathname not removed> /etc <shared pathname not removed> ## Executing postremove script. ## Updating system information. |
After the package has been removed successfully, you will see this message:
Removal of <SUNWsrmr> was successful. |
and the next Solaris Resource Manager package for removal will be displayed.
Continue the removal process for each Solaris Resource Manager package being removed.
If you encountered any errors or problems during the package removal process, refer to Chapter 4, Troubleshooting.
Reboot the system so that device reconfiguration can complete the removal of Solaris Resource Manager from your system:
# reboot |
The Solaris Resource Manager database file /var/srm/srmDB will not be removed from the system by the normal package removal process. If you will not need this file, remove it manually.
You have now removed Solaris Resource Manager from your system.