When services to be monitored have been installed in a non-global zone, uninstall PRIMECLUSTER from the non-global zone with the following procedure. If the non-global zone is shared between cluster nodes, uninstall it only in the active node. If not, uninstall it in all nodes.
Migrate the corresponding cluster application from the global zone to maintenance mode. It is possible to use GUI and CLI. For the procedure, refer to "7.3 Using maintenance mode" of the "PRIMECLUSTER RMS with Wizard Tools Configuration and Administration Guide."
Uninstall Wizard products. For the procedure for uninstalling Wizard products and its consideration, see the respective Wizard product manuals.
Boot the non-global zone in single-user mode. For the procedure, see the example for applying patches stated in "13.5.1 Maintenance Operations on the Non-Global Zone."
After that, uninstall PRIMECLUSTER with the following procedure.
Log in to the non-global zone and uninstall PRIMECLUSTER in the non-global zone with the following procedure. If you are asked to input some value while executing the pkgadd(1M) command, input the default value. If there is no default value, select "y."
# /usr/sbin/removef SMAWRhvto /opt/SMAW/bin/hvksh # /usr/sbin/removef -f SMAWRhvto # pkgrm FJSVhanet # pkgrm FJSVclsfw # pkgrm FJSVclrwz # pkgrm FJSVhvgd # pkgrm FJSVhvgl # pkgrm SMAWRhvde # pkgrm SMAWRhvdo # pkgrm SMAWRhvba # pkgrm SMAWRhvto # pkgrm FJSVclrms # pkgrm SMAWRdfw # pkgrm SMAWRrms # pkgrm FJSVclapm # pkgrm FJSVcldbm # pkgrm FJSVclapi # pkgrm FSUNclnet # pkgrm SMAWcf # pkgrm FJSVwvsfw # pkgrm FJSVwvucw # pkgrm FJSVwvfrm # pkgrm SMAWrcaja # pkgrm SMAWrcadm # pkgrm SMAWcj2re # pkgrm FJSVwvmpc # pkgrm FJSVwvbs # pkgrm FJSVwvcnf # pkgrm SMAWskel |
Delete FJSVsnap if unnecessary.
# pkgrm FJSVsnap |
Next, delete the environment definition file of PRIMECLUSTER according to the following procedure.
# cd /opt/SMAW # rm -r SMAWRrms # rm -r SMAWcf # cd /etc # rm cip.cf # cd /etc/default # rm cluster # rm cluster.config |
Delete the entry in /etc/inet/hosts added in "13.3.4.5 Installation of PRIMECLUSTER to the Non-Global Zone."
# vi /etc/inet/hosts |
Log out the non-global zone to execute the hvzonesetup script in a global zone.
# hvzonesetup -z zone-a -r NOTICE: Restoring original setup in zone zone-a. NOTICE: PCL setup removed in zone zone-a. |
Information
The following process is performed in this script.
Deleting PATH settings from /etc/profile