Uninstalling Veritas DBE/AC 3.5 for Oracle RAC involves the following tasks:
You do not have to remove the Oracle database or uninstall Oracle to upgrade SF Oracle RAC. Refer to the Veritas Database Edition / Advanced Cluster 3.5 for Oracle RAC documentation for more details on uninstalling the product.
For Oracle9i, you must stop the gsd processes on all nodes.
To determine if gsd processes are running, type:
$ $ORACLE_HOME/bin/gsdctl stat
To stop applications using CFS
To stop the processes using the CFS mount point, use the application-specific commands.
On each node, unmount any CFS file systems outside of VCS control.
To unmount CFS file systems that are outside of VCS control
# cat /etc/mnttab | grep vxfs | grep cluster
The output shows each line of the /etc/mnttab file that contains an entry for a VxFS file system mounted in cluster mode.
Depending on the Oracle version you use, you must take the appropriate resources offline.
# hares -offline VRT -sys galaxy
# hares -offline rac -sys galaxy
# hares -offline VRT -sys nebula
# hares -offline rac -sys nebula
# hares -offline LISTENER -sys galaxy
# hares -offline LISTENER -sys nebula
These commands stop the Oracle instances running on the specified systems.
To take the Oracle resources offline, run the following commands:
# hares -offline VRT -sys galaxy
# hares -offline rac -sys galaxy
# hares -offline VRT -sys nebula
# hares -offline rac -sys nebula
To take the cssd resources offline, run the following commands:
TO stop CRS outside of VCS control
If you uninstalled Oracle in your environment, proceed to take the Oracle service groups offline.
See Taking the Oracle service groups offline
To unlink the Oracle binary from Veritas libraries
/usr/lib/hpux64/libvcsmm.1 => /usr/lib/hpux64/libvcsmm.1
/usr/lib/hpux64/liblltdb.so.1 => /usr/lib/hpux64/liblltdb.so.1
To take the Oracle service groups offline
# hagrp -offline oradb1_grp -sys galaxy
# hagrp -offline oradb2_grp -sys galaxy
# hagrp -offline oradb1_grp -sys nebula
# hagrp -offline oradb2_grp -sys nebula
These commands take the Oracle service groups, including all their configured resources, offline.
The uninstallDBAC
script removes packages installed by installDBAC
on all systems in the cluster. This script stops VCS and takes all service groups in the VCS configuration offline on each node.
To remove the packages using the uninstallDBAC script
uninstallDBAC
program.
uninstallDBAC
:
Thank You for using the VERITAS Database Edition/Advanced
Cluster. Please ensure that you have read the uninstallation
chapter (to uninstall from the entire cluster) or the chapter
on removing DBE/AC cluster nodes (to uninstall from selected
VRTScavf VRTSdbac VRTSgab VRTSglm VRTSgms
VRTSllt VRTSodm VRTSperl VRTSvcs VRTSvcsag
VRTSvcsdc VRTSvcsmg VRTSvcsmn VRTSvcsor
The uninstallation procedure is interactive and requires
The following packages (and associated patches) used by DBE/AC are not removed by the uninstallDBAC script: VRTSvxvm
, VRTSvmpro
, VRTSfspro
, VRTSob
, VRTSobgui
, and VRTSvxfs
.
The packages will be removed on following nodes in the order
The output of the operations are temporarily being logged to
Checking communication with nebula
Checking remsh
connectivity............................... OK
VCS successfully stoppped on system galaxy
VCS successfully stoppped on system nebula
Unconfiguring DBE/AC drivers on galaxy
Unconfiguring CM driver ............................. Done
Unconfiguring VXFEN driver ...........................Done
Unconfiguring ODM ...................................Done
Closing CFS Port .................................... Done
Closing QLOG Port ................................... Done
Unconfiguring DBE/AC drivers on nebula
Unconfiguring CM driver ..............................Done
Unconfiguring VXFEN driver ...........................Done
Unconfiguring ODM ...................................Done
Removing VRTScavf VRTSglm VRTSgms VRTSodm from galaxy
Removing VRTScavf ...................................... Done
Removing VRTSglm ....................................... Done
Removing VRTSgms ....................................... Done
Removing VRTSodm ....................................... Done
Removing VRTScavf VRTSglm VRTSgms VRTSodm from nebula
Removing VRTScavf ...................................... Done
Removing VRTSglm ....................................... Done
Removing VRTSgms ....................................... Done
Removing VRTSodm ....................................... Done
VCS configuration files exist on this system with the following
Service Groups: cvm oradb1_grp oradb2_grp
Do you want to uninstall VCS from all of the systems in this
Checking OS version on galaxy ................... HP-UX B.11.11
Verifying communication with nebula ........... ping successful
Attempting remsh with nebula ................. remsh successful
Checking OS version on nebula ................... HP-UX B.11.11
Creating /tmp subdirectory on nebula../tmp subdirectory created
Checking current installation on galaxy:
Checking product mode ..................... DBE/AC licensed
Checking VRTSdbac ................... version 3.5 installed
Checking VRTSdbac dependencies ....................... none
Checking VRTSvcsor .................. version 3.5 installed
Checking VRTSvcsor dependencies ...................... none
Checking VRTSvcsmn .................. version 3.5 installed
Checking current installation on nebula:
Checking VRTSdbac ................... version 3.5 installed
Checking VRTSdbac dependencies ....................... none
Checking VRTSvcsor .................. version 3.5 installed
Checking VRTSvcsor dependencies ...................... none
Checking VRTSvcsmn .................. version 3.5 installed
Stopping DBE/AC processes on galaxy:
Checking DBE/AC ............................... not running
Checking CmdServer ................................ running
Killing CmdServer .................................... Done
Checking Web GUI processes .................... not running
Checking notifier processes ................... not running
Checking VCSMM ................................ not running
Checking VXFEN ................................ not running
Checking LMX .................................. not running
Checking GAB ............................ GAB module loaded
Stopping GAB ......................................... Done
Unloading GAB module on galaxy ........................Done
Checking LLT ............................ LLT module loaded
Stopping LLT ......................................... Done
Unloading LLT module on galaxy ....................... Done
Stopping DBE/AC processes on nebula:
Checking DBE/AC ............................... not running
Checking CmdServer ................................ running
Killing CmdServer .................................... Done
Checking Web GUI processes .................... not running
Checking notifier processes ................... not running
Checking VCSMM ................................ not running
Checking VXFEN ................................ not running
Checking LMX .................................. not running
Checking GAB ............................ GAB module loaded
Stopping GAB ......................................... Done
Unloading GAB module on nebula ....................... Done
Checking LLT ............................ LLT module loaded
Uninstalling DBE/AC on galaxy:
Removing VRTSdbac package ............................ Done
Removing VRTSvcsor package ........................... Done
Removing VRTSvcsmn package ........................... Done
Removing VRTSvcsdc package ........................... Done
Removing VRTSvcsag package ........................... Done
Removing VRTSvcsmg package ........................... Done
Removing VRTSvcs package ............................. Done
Removing VRTSgab package ............................. Done
Removing VRTSllt package ............................. Done
Removing VRTSperl package ............................ Done
Uninstalling DBE/AC on nebula:
Removing VRTSdbac package ............................ Done
Removing VRTSvcsor package ........................... Done
Removing VRTSvcsmn package ............................Done
Removing VRTSvcsdc package ........................... Done
Removing VRTSvcsag package ........................... Done
Removing VRTSvcsmg package ........................... Done
Removing VRTSvcs package ............................. Done
Removing VRTSgab package ..............................Done
Removing VRTSllt package ............................. Done
Removing VRTSperl package ............................ Done
DBE/AC configuration files are backed up with a
A DBE/AC uninstall report has been saved at:
/var/VRTSvcs/uninstallvcsReport
DBE/AC uninstallation completed successfully
End of DBE/AC Uninstallation: Fri May 26 09:32:04 PDT 2006
IMPORTANT: Check the following log files for any errors/warnings:
/var/tmp/uninstallDBAC_052606_093204/logfile