vipca and nodeapps in grid10g

BACKGROUND:
GRID/RAC:10.2.0.1 => 10.2.0.4

SCENARIO:
1.When install Grid 10.2.0.1, there was an error when run root.sh such as below:

Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
The given interface(s), “lan0” is not public. Public interfaces should be used to configure virtual IPs.
Due to the public NIC used a IP address “10.211.*.*” which considered as private network. So manually add nodeapps:
# /app/grid/bin/srvctl add nodeapps -n node1 -o /app/grid -A 10.211.161.130/255.255.255.0/lan0

2. Unfortunately I used a wrong netmask and again used public physical IP but not a virtual IP. So vip, listener and nodeapps were
offline. Modify the nodeapps and restart it.
# /app/grid/bin/srvctl modify nodeapps -n node1 -A 10.211.163.80/255.255.240.0/lan0
# /app/grid/bin/srvctl start nodeapps -n node1

To know what is the nodeapps configuration in particular for VIP, issue the command:
# /app/grid/bin/srvctl config nodeapps -n node1 -a -l -g -s
VIP exists.: /node1-v.us.oracle.com/10.211.163.80/255.255.240.0/lan0
GSD exists.
ONS daemon exists.
Listener exists.

3. Hit an issue again.
CRS-1006: No more members to consider
CRS-0215: Could not start resource ‘ora.node1.vip’.

Stop nodeapps and modify script $ORA_CRS_HOME/bin/racgvip to change the value of variable FAIL_WHEN_DEFAULTGW_NOT_FOUND=0 . Then
start nodeapps.

4.The listener still cannot start.
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
HPUX Error: 226: Address already in use

Use $ORA_RAC_HOME/bin/netca to delete and add a listener again.

5.Then we can see all the resources are online now:
# /app/grid/bin/crs_stat -t
Name Type Target State Host
————————————————————
ora….SM1.asm application ONLINE ONLINE node1
ora….1.lsnr application ONLINE ONLINE node1
ora….1.gsd application ONLINE ONLINE node1
ora….1.ons application ONLINE ONLINE node1
ora….1.vip application ONLINE ONLINE node1
ora….SM2.asm application ONLINE ONLINE node2
ora….2.lsnr application ONLINE ONLINE node2
ora….2.gsd application ONLINE ONLINE node2
ora….2.ons application ONLINE ONLINE node2
ora….2.vip application ONLINE ONLINE node2

Note that all need to do for all the nodes in the cluster.

REFERENCE:
VIPCA Fails Complaining That Interface Is Not Public (Doc ID 316583.1)
CRS-0215: Could not start resource ‘ora..vip’ (Doc ID 356535.1)

This entry was posted in Oracle. Bookmark the permalink.

Leave a comment