Unable to start VIP on AIX 6.1
#Symptoms
The post installation of clusterware fails at VIPCA and the VIPs will not come online. This is applicable for both 10gR2 and 11gR1.
#Reason:
With AIX 6.1 and the introduction of WPAR (Workspace Partitions) the netstat command was expanded to report the ZoneID.
Example:
AIX 5.3:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en5 1500 link#2 0.2.55.6a.74.c5 400603521 0 302250870 0 0
en5 1500 10.220.8 10.220.8.91 400603521 0 302250870 0 0
AIX 6.1:
Name Mtu Network Address ZoneID Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 32.6b.89.34.64.4 - 4943048 0 3408973 0 0
en0 1500 10.20.16 10.20.16.8 - 4943048 0 3408973 0 0
As you can see Ipkts in AIX 6.1 is the column #6, but in 5.3 it can be found in column #5.
Ipkts is required by the Clusterware script "racgvip" that configures the public Virtual IP address, which is located at $CRS_HOME/bin .
#Solution:
Follow the steps below to resolve the issue.
$cd $CRS_HOME/bin
Backup the original racgvip file and edit the file to replace the entries below.
CRS script "racgvip" lines #263 and #275;
_O1=`$NETSTAT -n -I $_IF $AWK "{ if (/^$_IF/) {print \$5; exit}}"`
and_O2=`$NETSTAT -n -I $_IF $AWK "{ if (/^$_IF/) {print \$5; exit}}"`
The incorrect columns are being requested from awk for AIX6.1.Field 6 is the desired field on AIX6 where field 5 is applicable to AIX5. So, replace the $5 with $6 in both the lines for AIX6.1
Subscribe to:
Posts (Atom)