选择ocr安装地址,这里选择/dev/raw/raw1
31
点击Install 开始安装oracle cluster集群软件
第二节点安装,正在往第二个节点copy,这个步骤是需要建立完整的用户等效性的。
32
用root用户分别在两个节点上执行以下两个脚本
在rac2上执行
33
[root@rac2 ~]# sh /oracle/app/oracle/10g/oraInventory/orainstRoot.sh [root@rac2 ~]# sh /oracle/app/oracle/10g/db_1/root.sh WARNING: directory '/oracle/app/oracle/10g' is not owned by root WARNING: directory '/oracle/app/oracle' is not owned by root WARNING: directory '/oracle/app' is not owned by root WARNING: directory '/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/oracle/app/oracle/10g' is not owned by root WARNING: directory '/oracle/app/oracle' is not owned by root WARNING: directory '/oracle/app' is not owned by root WARNING: directory '/oracle' is not owned by root Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node
Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.
Now formatting voting device: /dev/raw/raw2 Format of 1 voting devices complete.
Startup will be queued to init within 90 seconds. Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. rac2
CSS is inactive on these nodes. rac1
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons. 在rac1上执行
[root@rac1 ~]# sh /oracle/app/oracle/10g/oraInventory/orainstRoot.sh [root@rac1 ~]# sh /oracle/app/oracle/10g/db_1/root.sh WARNING: directory '/oracle/app/oracle/10g' is not owned by root WARNING: directory '/oracle/app/oracle' is not owned by root
34
WARNING: directory '/oracle/app' is not owned by root WARNING: directory '/oracle' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/oracle/app/oracle/10g' is not owned by root WARNING: directory '/oracle/app/oracle' is not owned by root WARNING: directory '/oracle/app' is not owned by root WARNING: directory '/oracle' is not owned by root clscfg: EXISTING configuration version 3 detected. clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override. -force is destructive and will destroy any previous cluster configuration.
Oracle Cluster Registry for cluster has already been initialized Startup will be queued to init within 90 seconds. Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. rac1 rac2
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start Waiting for the Oracle CRSD and EVMD to start Oracle CRS stack installed and running under init(1M) Running vipca(silent) for configuring nodeapps
/oracle/app/oracle/10g/crs_1/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory .如果碰到了这个错误:
35