刪除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