Uninstall Oracle 10g clusterware

Source: Internet
Author: User
Subject: how to clean up after a failed Oracle clusterware (CRS) Installation
Doc ID: 239998.1 type: Bulletin
Modified Date: 18-Mar-2009 status: published

Purpose
-------

The purpose of this document is to help DBA's and support analysts understand how
To clean up a failed CRS (cluster ready services) install for 10g RAC.

Scope & Application
-------------------

DBA's and support analysts

10g RAC: how to clean up after a failed CRS install
---------------------------------------------------

Not cleaning up a failed CRS install can cause problems like node reboots.
Follow these steps to clean up a failed CRS install:

1. Run the rootdelete. Sh script then the rootdeinstall. Sh script from
$ Ora_crs_home/install directory on any nodes you are removing CRS from. Running
These scripts shocould be sufficent to clean up your CRS install. rootdelete. Sh
Accepts options like nosharedvar/sharedvar, and nosharedhome/sharedhome. Make
Yourself familiar with these options by reading the Oracle clusterware and
Oracle Real Application Clusters administration and deployment guide.
If you have any problems with these scripts please open a service request.

If for some reason you have to manually remove the install due to problems
With the scripts, continue to step 2:

2. Stop the nodeapps on all nodes:

Srvctl stop nodeapps-n <node name>

3. Prevent CRS from starting when the node boots. To do this issue the following
As root:

Sun:

Rm/etc/init. d/init.css d
Rm/etc/init. d/init. CRS
Rm/etc/init. d/init. crsd
Rm/etc/init. d/init. evmd
Rm/etc/rc3.d/k96init. CRS
Rm/etc/rc3.d/s96init. CRS
Rm-RF/var/opt/Oracle/scls_scr
Rm-RF/var/opt/Oracle/oprocd
Rm/etc/inittab. CRS
CP/etc/inittab. orig/etc/inittab

Linux:

Rm/etc/Oracle /*
Rm-F/etc/init. d/init.css d
Rm-F/etc/init. d/init. CRS
Rm-F/etc/init. d/init. crsd
Rm-F/etc/init. d/init. evmd
Rm-F/etc/rc2.d/k96init. CRS
Rm-F/etc/rc2.d/s96init. CRS
Rm-F/etc/rc3.d/k96init. CRS
Rm-F/etc/rc3.d/s96init. CRS
Rm-F/etc/rc5.d/k96init. CRS
Rm-F/etc/rc5.d/s96init. CRS
Rm-RF/etc/Oracle/scls_scr
Rm-F/etc/inittab. CRS
CP/etc/inittab. orig/etc/inittab

HP-UX:

Rm/sbin/init. d/init.css d
Rm/sbin/init. d/init. CRS
Rm/sbin/init. d/init. crsd
Rm/sbin/init. d/init. evmd
Rm/sbin/rc2.d/k960init. CRS
Rm/sbin/rc2.d/k001init. CRS
Rm/sbin/rc3.d/k960init. CRS
Rm/sbin/rc3.d/s960init. CRS
Rm-RF/var/opt/Oracle/scls_scr
Rm-RF/var/opt/Oracle/oprocd
Rm/etc/inittab. CRS
CP/etc/inittab. orig/etc/inittab

HP Tru64:

Rm/sbin/init. d/init.css d
Rm/sbin/init. d/init. CRS
Rm/sbin/init. d/init. crsd
Rm/sbin/init. d/init. evmd
Rm/sbin/rc3.d/k96init. CRS
Rm/sbin/rc3.d/s96init. CRS
Rm-RF/var/opt/Oracle/scls_scr
Rm-RF/var/opt/Oracle/oprocd
Rm/etc/inittab. CRS
CP/etc/inittab. orig/etc/inittab

Ibm aix:

Rm/etc/init.css d
Rm/etc/init. CRS
Rm/etc/init. crsd
Rm/etc/init. evmd
Rm/etc/rc. d/rc2.d/k96init. CRS
Rm/etc/rc. d/rc2.d/s96init. CRS
Rm-RF/etc/Oracle/scls_scr
Rm-RF/etc/Oracle/oprocd
Rm/etc/inittab. CRS
CP/etc/inittab. orig/etc/inittab

4. if they are not already down, kill off EVM, CRS, and CSS processes or reboot
The node:

PS-Ef | grep CRS
Kill <CRS pid>
PS-Ef | grep EVM
Kill <EVM pid>
PS-Ef | grep CSS
Kill <CSS pid>

Do not kill any OS processes, for example icssvr_daemon process!

5. If there is no other Oracle software running (like listeners, DB's, Etc ...),
You can remove the files in/var/tmp/. Oracle or/tmp/. Oracle. Example:

Rm-F/var/tmp/. Oracle /*

Or

Rm-F/tmp/. Oracle /*

6. Remove the OCR. Loc
Usually the OCR. Loc can be found at/etc/Oracle

7. De-install the CRS home in the Oracle universal Installer

8. Remove the CRS install location:

Rm-Rf <CRS install location> /*

9. Clean out the OCR and voting files with DD commands. Example:

Dd If =/dev/Zero of =/dev/rdsk/v1064_vote_01_20m.dbf BS = 1 m COUNT = 256
Dd If =/dev/Zero of =/dev/rdsk/ocrv1064_100m.ora BS = 1 m COUNT = 256

See the clusterware Installation Guide for sizing requirements...

If you placed the OCR and voting disk on a shared filesystem, remove them.

If you are removing the RDBMS installation, also clean out any ASM disks if
They have already been used.

10. It is good practice to reboot the node before starting the next install.

11. If you wowould like to re-install CRS, follow the steps in the RAC installation manual.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.