1.解压软件as oracle
zcat 10201_clusterware_linux_x86_64.cpio.gz | cpio -idmv
2.检查
网络检查
./cluvfy/runcluvfy.sh comp nodecon -n node1,node2 -verbose
共享磁盘检查
./cluvfy/runcluvfy.sh stage -pre crsinst -n node1,node2 on node1 as oracle
3.开始安装
./runInstaller -ignoreSysPrereqs
4.执行脚本 as root
/u01/app/oracle/oraInventory/orainstRoot.sh on node1
/u01/app/oracle/oraInventory/orainstRoot.sh on node2
/u01/app/oracle/product/10.2.0/crs/root.sh on node1
/u01/app/oracle/product/10.2.0/crs/root.sh on node2
报错信息
/oracle/app/product/10.2.0/crs_1/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0:
cannot open shared object file: No such file or directory
图形界面下
enter:ok
ignore
exit
5.修改脚本
on node1,node2 as root
vi /u01/app/oracle/product/10.2.0/crs/bin/vipca
119 # if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
120 # then
121 # LD_ASSUME_KERNEL=2.4.19
122 # export LD_ASSUME_KERNEL
123 # fi
vi /u01/app/oracle/product/10.2.0/crs/bin/srvctl
172 #Remove this workaround when the bug 3937317 is fixed
173 #LD_ASSUME_KERNEL=2.4.19
174 #export LD_ASSUME_KERNEL
6.on node2 as root 设置VIP
/u01/app/oracle/product/10.2.0/crs/bin/vipca
7.验证
crs_stat -t
阅读(1042) | 评论(0) | 转发(0) |