After pulling cabel for ethernet interface NIC agent does not detect this fault because mii agent in MultiNICA does not detect the correct status

  • Article ID:100004127
  • Modified Date:
  • Product(s):

Problem

After pulling cabel for ethernet interface NIC agent does not detect this fault

Error Message

||| As soon as NIC agent put in debug mode, it shows ping to n/w host is failed.

2010/12/04 10:31:53 VCS DBG_1 V-16-10031-0 (ficsinc1n2) NIC:NIC-rip2:monitor:pinging NetworkHosts ...
2010/12/04 10:31:53 VCS DBG_1 V-16-10031-7508 (ficsinc1n2) NIC:NIC-rip2:monitor:PingResult: [pingfailed=1]
2010/12/04 10:31:54 VCS INFO V-16-2-13001 (ficsinc1n2) Resource(NIC-rip2): Output of the completed operation (monitor)
2010/12/04 10:32:42 VCS DBG_1 V-16-10031-0 (ficsinc1n1) NIC:NIC-rip2:monitor:pinging NetworkHosts ...
2010/12/04 10:32:42 VCS DBG_1 V-16-10031-7508 (ficsinc1n1) NIC:NIC-rip2:monitor:PingResult: [pingfailed=1]
2010/12/04 10:32:44 VCS INFO V-16-2-13001 (ficsinc1n1) Resource(NIC-rip2): Output of the completed operation (monitor)

Cause

||| Following NIC eth3 resource used for this testing

 NIC NIC-rip2 (
  Critical = 0
  Device = eth3
  Mii = 0
  NetworkHosts @SymLinux1 = { "10.17.69.65" }
  NetworkHosts @SymLinux2 = { "10.17.70.65" }
  )


||| Customer enabled NIC agent debug log here

2010/12/04 10:10:30 VCS NOTICE V-16-1-10016 Agent /opt/VRTSvcs/bin/NIC/NICAgent for resource type NIC successfully started at Sat Dec  4 10:10:30 2010

2010/12/04 10:31:45 VCS INFO V-16-1-50135 User root fired command: hatype -modify ... -add NIC  LogDbg  DBG_1  DBG_2  DBG_3  DBG_4  DBG_AGDEBUG  DBG_AGINF
O  DBG_AGTRACE  from localhost

2010/12/04 10:31:45 VCS DBG_AGTRACE V-16-50-0 Thread(4159321808) Begin
 VCSAgProcess.C:update_env[1614]
2010/12/04 10:31:45 VCS DBG_AGDEBUG V-16-50-0 Thread(4159321808) VCSAgProcess - Updated ENV[0] is HOSTNAME=SymLinux1
 VCSAgProcess.C:update_env[1668]


||| As soon as NIC agent put in debug mode, it shows ping to n/w host is failed.

2010/12/04 10:31:53 VCS DBG_1 V-16-10031-0 (SymLinux2) NIC:NIC-rip2:monitor:pinging NetworkHosts ...
2010/12/04 10:31:53 VCS DBG_1 V-16-10031-7508 (SymLinux2) NIC:NIC-rip2:monitor:PingResult: [pingfailed=1]
2010/12/04 10:31:54 VCS INFO V-16-2-13001 (SymLinux2) Resource(NIC-rip2): Output of the completed operation (monitor)
2010/12/04 10:32:42 VCS DBG_1 V-16-10031-0 (SymLinux1) NIC:NIC-rip2:monitor:pinging NetworkHosts ...
2010/12/04 10:32:42 VCS DBG_1 V-16-10031-7508 (SymLinux1) NIC:NIC-rip2:monitor:PingResult: [pingfailed=1]
2010/12/04 10:32:44 VCS INFO V-16-2-13001 (SymLinux1) Resource(NIC-rip2): Output of the completed operation (monitor)


||| here customer removed cable from eth3 interface

[root@SymLinux1 ~]# date ; ethtool eth3
Sat Dec  4 10:35:21 SGT 2010
Settings for eth3:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: Unknown! (65535)
        Duplex: Unknown! (255)
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000001 (1)
        Link detected: no


 [root@SymLinux1 ~]# mii-tool
SIOCGMIIREG on eth0 failed: Input/output error
eth0: negotiated 100baseTx-FD flow-control, link ok
SIOCGMIIREG on eth1 failed: Input/output error
eth1: negotiated 100baseTx-FD flow-control, link ok
SIOCGMIIREG on eth2 failed: Input/output error
eth2: negotiated 100baseTx-FD flow-control, link ok
SIOCGMIIREG on eth3 failed: Input/output error
eth3: negotiated 100baseTx-FD flow-control, link ok
SIOCGMIIREG on eth4 failed: Input/output error
eth4: 10 Mbit, half duplex, no link
SIOCGMIIREG on eth5 failed: Input/output error
eth5: 10 Mbit, half duplex, no link

[root@SymLinux1 ~]# hares -state NIC-rip2
#Resource    Attribute        System     Value
NIC-rip2     State            SymLinux1 ONLINE
NIC-rip2     State            SymLinux2 ONLINE

[root@SymLinux1 ~]# hares -probe NIC-rip2 -sys SymLinux1
#Resource    Attribute        System     Value
NIC-rip2     State            SymLinux1 ONLINE
NIC-rip2     State            SymLinux2 ONLINE


[root@SymLinux1 ~]# ifconfig eth3
eth3      Link encap:Ethernet  HWaddr 00:15:17:DD:FC:95
          inet addr:10.17.69.66  Bcast:10.17.69.95  Mask:255.255.255.224
          inet6 addr: fe80::215:17ff:fedd:fc95/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:250494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:203444 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:156215128 (148.9 MiB)  TX bytes:60086481 (57.3 MiB)
          Memory:df580000-df5a0000


||| ping to n/w host failed

[root@SymLinux1 ~]# ping -c 1 10.17.69.65
PING 10.17.69.65 (10.17.69.65) 56(84) bytes of data.
From 10.17.69.66 icmp_seq=1 Destination Host Unreachable

--- 10.17.69.65 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms


||| No addiotnal messages reported in VCS log after removing cable

||| It does not shows monitor program trying to ping broadcast address

2010/12/04 10:35:42 VCS DBG_1 V-16-10031-0 (SymLinux1) NIC:NIC-rip2:monitor:pinging NetworkHosts ...
2010/12/04 10:35:42 VCS DBG_1 V-16-10031-7508 (SymLinux1) NIC:NIC-rip2:monitor:PingResult: [pingfailed=1]

||| Due to this ethernet interface state remains unchanged
 

Solution

 [ RESOLUTION ]
1. The issue was fixed in  5.0MP4 through incident 1786224.
1946354 mii agent in MultiNICA should use ethtool.

2. Where to download MP4.
https://sort.Veritas.com/patch/searchmatrix/21/3/2


Applies To

[ OS VERSION ]
Linux SymLinux1 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Linux SymLinux2 2.6.18-194.3.1.el5 #1 SMP Sun May 2 04:17:42 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux


[ PAKCAGE VERSION ]
VRTSvcsag-5.0.30.20-MP3RP2_RHEL5

Was this content helpful?

Get Support