2.9. Run the script (orainstroot. SH and root. Sh)
Execute the orainstroot. Sh script in sequence on each node (execute the node where the CRS software is installed first ):
[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
Execute the root. Sh script in sequence (the node where your CRS is installed first)
[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>
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 with 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.
Run the following command on another node:
[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>
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 with within 600 seconds.
Failureat final check of Oracle CRS stack.
10
During cluster installation, the first node passed smoothly. The second node encountered this error and checked the error. It is suspected that the shared disk settings of the virtual machine were incorrect, add the following parameters to the shared disk to solve the problem:
Add this
Disk. Locking = "false"
Disklib. datacachemaxsize = "0"
Disklib. datachemaxreadaheadsize = "0"
Disklib. datacacheminreadaheadsize = "0"
Disklib. datacachepagesize = "4096"
Disklib. maxunsyncedwrites = "0"