Grid error Resolution for oracle 11g rac installation
1. Shared disk not found on rac2 node using oracleasm
[root@rac2 ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]#
Solution:
is because the partition did not take effect without using the partprobe command when formatting the disk at rac1 node
Executed in rac1:
[root@rac1 ~]# partprobe
Executed in rac2:
[root@rac2 ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL04"
Instantiating disk "VOL03"
Instantiating disk "VOL01"
Instantiating disk "VOL02"
[root@rac2 ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[root@rac2 ~]#
2. ORACLE_HOME and ORACLE_BASE directories are incorrect when installing grid cluster software
Error Message:
INS-32026]The Software Location specified should not be under Oracle base location.
CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all parent directories of clusterware software location. As a result, all named directories in the software location path will acquire root ownership. This may create problems for subsequent installations into the same Oracle base.
ACTION: Specify software location outside of Oracle base
Solution:
ORACLE_BASE=/home/grid
ORACLE_HOME=/home/grid/11.2.0/grid
This directory is incorrect, because ORACLE_BASE and ORACLE_HOME directory to separate,ORACLE_BASE installed is a root authority, and ORACLE_HOME is not.
ORACLE_BASE=/home/grid/app
ORACLE_HOME=/home/grid/11.2.0/grid
3. An error occurred at the last step of installing grid because the scan IP was occupied.
Log:
INFO: All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"
INFO: Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed
INFO: ERROR:
INFO: PRVG-1101 : SCAN name "scan-cluster" failed to resolve
INFO: ERROR:
INFO: PRVF-4657 : Name resolution setup check for "scan-cluster" (IP address: 192.168.3.155) failed
INFO: ERROR:
INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "scan-cluster"
INFO: Verification of SCAN VIP and Listener setup failed
INFO: Checking OLR integrity...
INFO: Checking OLR config file...
INFO: OLR config file check successful
INFO: Checking OLR file attributes...
INFO: OLR file check successful
Solution:
(1). Skip directly does not affect
(2), modify the nslookup binary file of the system (http://www.ithao123.cn/content-1094742.html)
4.crs cannot share disk traffic
Error message:
CRS-0184: Cannot communicate with the CRS daemon.
Log information:
2016-09-16 09:20:45.508: [ CRSPE][1175734592]{1:19372:2} Reading (12) resources
2016-09-16 09:20:45.510: [ CRSPE][1175734592]{1:19372:2} Reading (15) types
2016-09-16 09:20:46.087: [ CRSPE][1175734592]{1:19372:2} Reading (2) server pools
2016-09-16 09:20:48.321: [ OCRRAW][1171532096]proprseterror: Error in accessing physical storage [26] Marking context invalid.
2016-09-16 09:20:48.321: [ OCRRAW][1171532096]proprdc: backend_ctx->prop_ctx_tag=PROPCTXT
2016-09-16 09:20:48.325: [ OCRRAW][1171532096]proprdc: backend_ctx->prop_valid=0
2016-09-16 09:20:48.325: [ OCRRAW][1171532096]proprdc: backend_ctx->prop_boot_mode=1
Solution:
This is a shared disk problem, I do share with iscsi, check the asm can only mount their own in the disk group, the shared disk will be replaced by the virtual machine comes with a disk sharing on the solution.