删除crs
1. 停止资源:关闭crs资源:crsctl stop resources
关闭crs: crsctl stop crs
2. 使用脚本:两个节点root.delete.sh, rootdeinstall.sh
3. 删除启动项:
rm/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
4. 查看进程: crs evm css
a) ps -ef | grep -v grep | grep"init.evmd run"
5. 删除三个文件:/tmp/.oracle/,/var/tmp/.oracle/,/usr/tmp/.oracle/
6. 删除orc.loc: rm –rf /etc/oracle/orc.loc
7. 在Universal Installer删除 crs产品。
8. 删除/orac le/下面的所有文件。
9. 清理磁盘
Dd if=/dev/zero of=/dev/raw/raw1 bs=1M count=1024
Dd if=/dev/zero of=/dev/raw/raw2 bs=1M count=1024
Dd if=/dev/zero of=/dev/raw/raw3 bs=1M count=1024
Dd if=/dev/zero of=/dev/raw/raw4 bs=1M count=1024
Dd if=/dev/zero of=/dev/raw/raw5 bs=1M count=1024
10. 清楚路径/tmp/CVU_10.2.0.1.0.1_oinstall
11. 重启
报错汇总
运行root.sh
Checking to see if Oracle CRS stack is alreadyconfigured
Oracle CRS stack is already configured and will berunning under init(1M)
1. 原因:
更换的存储设备和上次安装的设备文件名不一致。
2. 解决方法:
删除每台机器上的/etc/oracle/scls_scr/rac1/oracle/cssfatal文件即可.
Runningvipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
1. 解决方法:
a) root@o10n2 bin]# ./oifcfg setif-global eth0/192.168.150.0:public
[root@o10n2 bin]# ./oifcfg setif -globaleth1/172.168.146.0:cluster_interconnect
b) 运行rootdelete.sh后再运行root.sh
Expectingthe CRS daemons to be up within 600 seconds.
Failure at final check of Oracle CRS stack.
10
1. 原因:
run "init q" and expect those 3 CRS relateddaemon processes to start. With init system problem, none of these daemonprocesses spawned, this caused CRS process startup failure as they rely on initdaemon process to start first.
2. 解决方法:
(a)手动格式/dev/raw/raw4:
dd if=/dev/zero of=/dev/raw/raw4 bs=1m
然后rm -fr /etc/oracle on all node
然后在每个节点$CRS_HOME/root.sh
After that daemon process in /etc/inittabstarted, CRS installation completed.
crsctlcheck crs Failure 1 contacting CSS daemon Cannot communicate with CRS Cannotcommunicate with EVM