Powered By Blogger

Wednesday, October 5, 2011

11gr1 Clean up failed cluster installation on linux RHEL5

Cleaned up a failed oracle 11gr1 crs installation on RHEL5

in node1

[root@rac1 ~]# cd /u01/app/oracle/product/11.1.0/crs/
[root@rac1 crs]# ls
bin css install JRE nls oui rdbms srvm
cdata cv install.platform ldap OPatch perl relnotes xdk
cfgtoollogs diagnostics inventory lib opmn plsql root.sh
clone evm jdk log oracore precomp slax
crs has jlib network oraInst.loc racg sqlplus

[root@rac1 crs]# cd install
[root@rac1 install]# ./rootdelete.sh

Getting local node name
NODE = rac1
PRKO-2006 : Invalid node name: rac1
Stopping resources.
This could take several minutes.
Error while stopping resources. Possible cause: CRSD is down.
Stopping Cluster Synchronization Services.
Unable to communicate with the Cluster Synchronization Services daemon.
Oracle CRS stack is not running.
Oracle CRS stack is down now.
Removing script for Oracle Cluster Ready services
Updating ocr file for downgrade
Cleaning up SCR settings in '/etc/oracle/scls_scr'
Cleaning up Network socket directories

[root@rac1 install]# ./rootdeinstall.sh
Verifying existence of ocr.loc file
Removing contents from OCR device
2560+0 records in
2560+0 records out
10485760 bytes (10 MB) copied, 0.145772 seconds, 71.9 MB/s
[root@rac1 install]#

in node2

[oracle@rac2 bin]$ su -
Password:
[root@rac2 ~]# cd /u01/app/oracle/product/11.1.0/crs/
[root@rac2 crs]# cd install
[root@rac2 install]# ./rootdelete.sh

Getting local node name
NODE = rac2.localdomain
PRKO-2006 : Invalid node name: rac2.localdomain
Oracle Cluster Registry initialization failed with invalid format: PROC-22: The OCR backend has an invalid format
Oracle CRS stack is not running.
Oracle CRS stack is down now.
Removing script for Oracle Cluster Ready services
Updating ocr file for downgrade
Cleaning up SCR settings in '/etc/oracle/scls_scr'
Cleaning up Network socket directories

[root@rac2 install]# ./rootdeinstall.sh
Verifying existence of ocr.loc file
Removing contents from OCR device
2560+0 records in
2560+0 records out
10485760 bytes (10 MB) copied, 0.126807 seconds, 82.7 MB/s
[root@rac2 install]#

in node1

[oracle@rac1 oui]$ cd bin
[oracle@rac1 bin]$ ./runInstaller
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 2047 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-10-05_11-51-47AM. Please wait ...[oracle@rac1 bin]$ Oracle Universal Installer, Version 11.1.0.6.0 Production
Copyright (C) 1999, 2007, Oracle. All rights reserved.
/u01/app/oracle/product/11.1.0/crs/bin/crsctl.bin: error while loading shared libraries: /u01/app/oracle/product/11.1.0/crs/lib/libclntsh.so.11.1: file too short
-bash: /u01/app/oracle/product/11.1.0/crs/bin/crsctl: No such file or directory
-bash: /u01/app/oracle/product/11.1.0/crs/bin/crsctl: No such file or directory

You can check Metalink note How to Clean Up After a Failed 10g or 11.1 Oracle Clusterware Installation [ID 239998.1] for more info.

Regards,
Navaneeth

No comments:

Post a Comment