安装CRS-Failureat final check of Oracle CRS stack错误处理

来源:互联网 发布:类似萝莉云的软件 编辑:程序博客网 时间:2024/05/01 13:02

2.9. 运行脚本(orainstRoot.Sh 和 root.Sh)

      在每个节点依次执行orainstRoot.sh脚本(先执行安装CRS软件的节点):

[oracle@rac1~]$  su - root

Password:

[root@rac1~]# /u01/app/oracle/oraInventory/orainstRoot.sh

Changingpermissions of /u01/app/oracle/oraInventory to 770.

Changinggroupname of /u01/app/oracle/oraInventory to oinstall.

Theexecution of the script is complete

 

      依次执行 root.sh脚本(先执行你的CRS安装软件的那个节点)

[root@rac1~]# /u01/app/oracle/product/crs/root.sh

WARNING:directory '/u01/app/oracle/product' is not owned by root

WARNING:directory '/u01/app/oracle' is not owned by root

WARNING:directory '/u01/app' is not owned by root

Checkingto see if Oracle CRS stack is already configured

/etc/oracledoes not exist. Creating it now.

 

Settingthe permissions on OCR backup directory

Settingup NS directories

OracleCluster Registry configuration upgraded successfully

WARNING:directory '/u01/app/oracle/product' is not owned by root

WARNING:directory '/u01/app/oracle' is not owned by root

WARNING:directory '/u01/app' is not owned by root

assigningdefault hostname rac1 for node 1.

assigningdefault hostname rac2 for node 2.

Successfullyaccumulated necessary OCR keys.

Usingports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node<nodenumber>: <nodename> <private interconnect name><hostname>

node1: rac1 rac1-priv rac1

node2: rac2 rac2-priv rac2

CreatingOCR keys for user 'root', privgrp 'root'..

Operationsuccessful.

Nowformatting voting device: /dev/raw/raw2

Formatof 1 voting devices complete.

Startupwill be queued to init within 90 seconds.

Addingdaemons to inittab

Expectingthe CRS daemons to be up within 600 seconds.

CSSis active on these nodes.

        rac1

CSSis inactive on these nodes.

        rac2

Localnode checking complete.

Runroot.sh on remaining nodes to start CRS daemons.

 

再在另外个节点执行如下:

[root@rac2~]# /u01/app/oracle/oraInventory/orainstRoot.sh

Changingpermissions of /u01/app/oracle/oraInventory to 770.

Changinggroupname of /u01/app/oracle/oraInventory to oinstall.

Theexecution of the script is complete

[root@rac2~]# /u01/app/oracle/product/crs/root.sh

WARNING:directory '/u01/app/oracle/product' is not owned by root

WARNING:directory '/u01/app/oracle' is not owned by root

WARNING:directory '/u01/app' is not owned by root

Checkingto see if Oracle CRS stack is already configured

/etc/oracledoes not exist. Creating it now.

 

Settingthe permissions on OCR backup directory

Settingup NS directories

OracleCluster Registry configuration upgraded successfully

WARNING:directory '/u01/app/oracle/product' is not owned by root

WARNING:directory '/u01/app/oracle' is not owned by root

WARNING:directory '/u01/app' is not owned by root

assigningdefault hostname rac1 for node 1.

assigningdefault hostname rac2 for node 2.

Successfullyaccumulated necessary OCR keys.

Usingports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node<nodenumber>: <nodename> <private interconnect name><hostname>

node1: rac1 rac1-priv rac1

node2: rac2 rac2-priv rac2

CreatingOCR keys for user 'root', privgrp 'root'..

Operationsuccessful.

Nowformatting voting device: /dev/raw/raw2

Formatof 1 voting devices complete.

Startupwill be queued to init within 90 seconds.

Addingdaemons to inittab

Expectingthe CRS daemons to be up within 600 seconds.

Failureat final check of Oracle CRS stack.

10


安装Cluster的过程中第一个节点顺利通过,第二个节点出现了该错误,查了下错误,怀疑是虚拟机的共享磁盘设置的不对,对共享磁盘添加以下参数解决该问题:

最后添加这个 

disk.locking = "false" 

diskLib.dataCacheMaxSize = "0" 

diskLib.dataCacheMaxReadAheadSize = "0" 

diskLib.DataCacheMinReadAheadSize = "0" 

diskLib.dataCachePageSize = "4096" 

diskLib.maxUnsyncedWrites = "0"




原创粉丝点击