?
Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg". D(三)
fore starting OUI:
unset ORA_NLS10
OR
export ORA_NLS10=$GRID_HOME/nls/data
Refer to Note 1050472.1 for more details.
Issue#2 - Incorrect Network Setting in OCR
--- Symptoms ---
11gR2 runInstaller error:
OUI reports INS-20802 as CVU post installation check fails
installation log or CVU error
Result: User equivalence check passed for user "grid"
ERROR:
Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run "oifcfg". Detailed error: null
Verification cannot proceed
oifcfg getif output
oifcfg getif
PROC-4: The cluster registry key to be operated on does not exist.
PRIF-11: cluster registry error
--- Solution ---
In this example, eth1 is the private network and eth3 is the public network.
2.1. As root, execute the following to generate an ocr dump file:
# $GRID_HOME/bin/ocrdump /tmp/dump.ocr1
2.2. As root, find out all network information in the OCR:
# grep 'css.interfaces' /tmp/dump.ocr1 | awk -F \] '{print $1}' | awk -F \. '{print $5}' | sort -u
eth1
eth3
2.3. As root, remove network info from OCR:
# $GRID_HOME/bin/oifcfg delif -global eth1 -force
# $GRID_HOME/bin/oifcfg delif -global eth3 -force
2.4. As grid user, find out the network information at OS level
$ $GRID_HOME/bin/oifcfg iflist -p -n
..
eth1 10.1.0.128 PRIVATE 255.255.255.128
eth1 169.254.0.0 UNKNOWN 255.255.192.0
..
eth3 10.1.0.0 PRIVATE 255.255.255.128
Note: HAIP (169.254.x.x) should be ignored in the output
2.5. As grid user, set network info in OCR:
$ $GRID_HOME/bin/oifcfg setif -global eth1/10.1.0.128:cluster_interconnect
$ $GRID_HOME/bin/oifcfg setif -global eth3/10.1.0.0:public
2.6. As grid user, confirm the change:
$ $GRID_HOME/bin/oifcfg getif
eth1 10.1.0.128 global cluster_interconnect
eth3 10.1.0.0 global public