UnixPedia : HPUX / LINUX / SOLARIS: HPUX : Package IP change : Cause IP conflict on two nodes.

Tuesday, April 1, 2014

HPUX : Package IP change : Cause IP conflict on two nodes.



Package IP change : Cause IP conflict on two nodes.
Overview
Package IP change cause IP conflict on two nodes.
Procedures
In CNTL file IP of the package has been changed to new IP, as it was done when package is in running status, prior IP still assigned to NIC. When package was brought down, prior IP did not have unassigned from the NIC.  And same IP was also assigned ON secondary node via different package. Which cause IP conflict as same IP was assigned on two node, this cause PROD package to inaccessible state.

[root@Tura0021:/etc/cmcluster]#
#-> cmviewcl -l node
  NODE           STATUS       STATE       
  Tura0021        up           running     
  Tura0022        up           running     
[root@Tura0021:/etc/cmcluster]#

[root@Tura0022:/.root]#
#-> netstat -in
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lo0      32808 127.0.0.0       127.0.0.1       23868898           0     23868949           0     0  
lan1:7    1500 20.36.112.0     20.36.112.107   808                0     0                  0     0  
lan1:6    1500 20.36.112.0     20.36.112.103   1186789            0     1162700            0     0  
lan1:1    1500 20.36.112.0     20.36.113.145   1919331            0     1917524            0     0  
lan1:3    1500 20.36.112.0     20.36.113.149   2627101            0     2617485            0     0  
lan1:2    1500 20.36.112.0     20.36.113.147   2678980            0     2623301            0     0  
lan1:5    1500 20.36.112.0     20.36.112.105   1197775            0     1175237            0     0  
lan1:4    1500 20.36.112.0     20.36.113.151   1396843            0     1369293            0     0  
lan1      1500 20.36.112.0     20.36.113.235   307890048          0     302886579          0     0  
lan0      1500 10.36.114.0      20.36.114.164   35849500           0     10497347           0     0  
lan17     1500 192.168.112.0   192.168.112.79  17719295           0     17302734           0     0  
               lan16*    1500 none            none            0                  0     0                  0     0  

[root@Tura0021:/.root/.histdir]#
#-> netstat -in
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lo0      32808 127.0.0.0       127.0.0.1       24115683           0     24115712           0     0  
lan1:7    1500 20.36.112.0     20.36.113.150   1402689            0     1376721            0     0  
lan1:6    1500 20.36.112.0     20.36.112.108   1395               0     8                  0     0  
lan1:8    1500 20.36.112.0     20.36.113.148   2660671            0     2651440            0     0  
lan1:1    1500 20.36.112.0     20.36.113.144   1933784            0     1927575            0     0
lan1:2    1500 20.36.112.0     20.36.113.145   1933784            0     1927575            0     0     
lan1:3    1500 20.36.112.0     20.36.112.106   1192875            0     1170483            0     0  
lan1:5    1500 20.36.112.0     20.36.112.104   1406872            0     1381184            0     0  
lan1:4    1500 20.36.112.0     20.36.113.146   2702740            0     2648657            0     0  
lan1      1500 20.36.112.0     20.36.113.234   306120054          0     303611522          0     0  
lan0      1500 10.36.114.0     20.36.114.163   35886374           0     10675134           0     0  
lan17     1500 192.168.112.0   192.168.112.78  17561143           0     17486780           0     0  
lan16*    1500 none            none            0                  0     0                  0     0  
              [root@Tura0021:/.root/.histdir]#

Mar 14 20:11:09 - Node "Tura0021": Mounting /dev/vg_dbp0411a/lv_oraarch at /DBP0411/oraarch/PDDB0411
Mar 14 20:11:09 - Node "Tura0021": Mounting /dev/vg_dbp0411a/lv_admin at /DBP0411/admin/PDDB0411
Mar 14 20:11:09 - Node "Tura0021": Adding IP address 20.36.113.145 to subnet 20.36.112.0

===========================================
Starting up Database PDDB0411 on DBP0411...
===========================================

ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.


SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
logout
Mar 14 21:42:49 - Node "Tura0021": Remove IP address 20.36.112.103 from subnet 20.36.112.0
cmmodnet: IP address 20.36.112.103 is not configured on the subnet.
cmmodnet: Use the "netstat -in" command to check the configured IP addresses
for the subnet.
        ERROR:  Function remove_ip_address
        ERROR:  Failed to remove 20.36.112.103
Mar 14 21:42:49 - Node "Tura0021": Unmounting filesystem on /dev/vg_dbp0411a/lv_admin

To release the IP from the server Tura0021.
# ifconfig lan1:2 0.0.0.0
#This does not immediately solve the problem immediately as cache of device has not been updated with in info
Keywords
IP, NETSTAT, IP, conflict.

No comments:

Post a Comment