卸载clusterware

最简单的就是运行以下两个脚本:
./rootdelete.sh 
./rootdeinstall.sh

但是RHEL5当中有以下bug:
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading 
shared libraries: libpthread.so.0: cannot open shared object file: 
No such file or directory 

当然metalink中有给出解决方案:
10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI Failures) [ID 414163.1]

但是没有针对rootdelte.sh的。(可以在安装失败的CRS上打patch吗?)

所以不得不选择手工删除:
rm -rf /etc/oracle/*
rm -f /etc/init.d/init.cssd 
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


kill掉两个节点上相关的进程
ps -ef | grep crs        
kill <crs pid>
ps -ef | grep evm
kill <evm pid>
ps -ef | grep css        
kill <css pid>


继续删
rm -f /var/tmp/.oracle/*
rm -f /tmp/.oracle/*
rm -f /etc/oracle/ocr.loc


然后再OUI上面deinstall CRS

rm -Rf <CRS Install Location>/*


因为OCR和voting file都安装在shared disk上,所以把shared disk上的这两个file rm掉

重启一下OS

重新安装CRS


参考:Doc ID: 239998.1

你可能感兴趣的:(java,oracle,css,OS,F#)