两个节点分别执行如下操作:
两个节点分别执行如下操作:
crsctl stop crs -f
cd /etc/oracle/
rm -rf scls_scr oprocd lastgasp o* setasmgid
vi /etc/inittab(去掉ohas那一行[通常是最后一行])
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
rm -rf /etc/init.d/ohasd
rm -rf /etc/init.d/init.ohasd
rm -rf /etc/oratab
rm -rf /etc/oraInst.loc
rm -rf /var/tmp/.oracle
rm -rf /tmp/.oracle
rm -rf /u01/app
cd /tmp
rm -rf CVU_11.2.0.3.0_grid logs Logs OraInstall*
mkdir -p /u01/app/11.2.0.3/grid
mkdir -p /u01/app/grid
mkdir -p /u01/app/oracle
chown -R grid:oinstall /u01/app/11.2.0.3/grid
chown -R grid:oinstall /u01/app/grid
chown -R grid:oinstall /u01
mkdir -p /u01/app/oracle/product/11.2.0.3/dbhome_1
chown -R oracle:oinstall /u01/app/oracle
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0.3/dbhome_1
---检查是否还有d.bin进程,如果kill掉:
ps -ef|grep d.bin
kill -9 pid
---检查ifconfig|grep 169.254如果有类似如下输出,需要重启eth1网卡:
eth1:1 Link encap:Ethernet HWaddr 08:00:27:89:81:66
inet addr:169.254.159.3 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
ifdown eth1
ifup eth1
ifconfig|grep 169.254
---两节点执行完后可以重新安装
PS: 文章来源于Lunar的oracle实验室