Hi Forum,
I am having very weird open-iscsi issue. Could you guys help me to
find out the reason?
There are 4 network interfaces(eth2/eth3/eth5/eth6) for iSCSI traffic,
eth2/eth5 are patched into one HP switch and eth3/eth6 are patched to
second switch. In normal scenario all seem working fine.
We are testing all scenarios before getting the box into prod. I am
testing scenario in case switch fails but somehow iscsiadm cant
perform the discovery.
All interfaces are on same subnet and eth2 becomes the default for
that subnet.
If I disable eth2 from the HP switch I cant ping the array but I can
ping the array via eth3/eth5/eth6 but I cant perform iscsiadm
discovery through interfaces eth3/eth5/eth6
disable eth2 on switch
[root@nfs02 ~]# ping 192.168.42.190
PING 192.168.42.190 (192.168.42.190) 56(84) bytes of data.
>From 192.168.42.70 icmp_seq=2 Destination Host Unreachable
>From 192.168.42.70 icmp_seq=3 Destination Host Unreachable
>From 192.168.42.70 icmp_seq=4 Destination Host Unreachable
[root@nfs02 ~]# ping -I eth3 192.168.42.190
PING 192.168.42.190 (192.168.42.190) from 192.168.42.71 eth3: 56(84)
bytes of data.
64 bytes from 192.168.42.190: icmp_seq=1 ttl=255 time=0.166 ms
^C
--- 192.168.42.190 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.166/0.166/0.166/0.000 ms
[root@nfs02 ~]# ping -I eth5 192.168.42.190
PING 192.168.42.190 (192.168.42.190) from 192.168.42.72 eth5: 56(84)
bytes of data.
64 bytes from 192.168.42.190: icmp_seq=1 ttl=255 time=0.365 ms
^C
--- 192.168.42.190 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.365/0.365/0.365/0.000 ms
[root@nfs02 ~]# ping -I eth6 192.168.42.190
PING 192.168.42.190 (192.168.42.190) from 192.168.42.73 eth6: 56(84)
bytes of data.
64 bytes from 192.168.42.190: icmp_seq=1 ttl=255 time=1.06 ms
^C
--- 192.168.42.190 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.068/1.068/1.068/0.000 ms
[root@nfs02 ~]# iscsiadm -m discovery -t st -p 192.168.42.190:3260 -I
eth3
iscsiadm: cannot make connection to 192.168.42.190:3260 (113)
iscsiadm: connection to discovery address 192.168.42.190 failed
[root@nfs02 ~]# iscsiadm -m discovery -t st -p 192.168.42.190:3260 -I
eth5
iscsiadm: cannot make connection to 192.168.42.190:3260 (113)
iscsiadm: connection to discovery address 192.168.42.190 failed
[root@nfs02 ~]# iscsiadm -m discovery -t st -p 192.168.42.190:3260 -I
eth6
iscsiadm: cannot make connection to 192.168.42.190:3260 (113)
iscsiadm: connection to discovery address 192.168.42.190 failed
Here is the configuration file
[root@nfs02 ~]# sysctl -a|grep arp_ignore
net.ipv4.conf.all.arp_ignore = 1
[root@nfs02 ~]# sysctl -a|grep arp_anno
net.ipv4.conf.all.arp_announce = 2
[root@nfs02 ~]# sysctl -a|grep net.ipv4.conf.default.rp_filter
net.ipv4.conf.default.rp_filter = 1
[root@nfs02 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
0.0.0.0 163.189.222.33 0.0.0.0 UG 0 0
0 eth0
163.189.222.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
192.168.42.0 0.0.0.0 255.255.255.0 U 0 0
0 eth2
192.168.42.0 0.0.0.0 255.255.255.0 U 0 0
0 eth3
192.168.42.0 0.0.0.0 255.255.255.0 U 0 0
0 eth5
192.168.42.0 0.0.0.0 255.255.255.0 U 0 0
0 eth6
root@nfs02 ifaces]# more eth2
# BEGIN RECORD 2.0-872
iface.iscsi_ifacename = eth2
iface.net_ifacename = eth2
iface.hwaddress = 00:21:28:C0:BB:D2
iface.transport_name = tcp
# END RECORD
[root@nfs02 ifaces]# more eth3
# BEGIN RECORD 2.0-872
iface.iscsi_ifacename = eth3
iface.net_ifacename = eth3
iface.hwaddress = 00:21:28:C0:BB:D3
iface.transport_name = tcp
# END RECORD
[root@nfs02 ifaces]# more eth5
# BEGIN RECORD 2.0-872
iface.iscsi_ifacename = eth5
iface.net_ifacename = eth5
iface.hwaddress = 00:1B:21:9D:87:0F
iface.transport_name = tcp
# END RECORD
[root@nfs02 ifaces]# more eth6
# BEGIN RECORD 2.0-872
iface.iscsi_ifacename = eth6
iface.net_ifacename = eth6
iface.hwaddress = 00:1B:21:9D:87:0C
iface.transport_name = tcp
# END RECORD
[root@nfs02 ~]# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:21:28:C0:BB:D2
inet addr:192.168.42.70 Bcast:192.168.42.255 Mask:
255.255.255.0
[root@nfs02 ~]# ifconfig eth3
eth3 Link encap:Ethernet HWaddr 00:21:28:C0:BB:D3
inet addr:192.168.42.71 Bcast:192.168.42.255 Mask:
255.255.255.0
[root@nfs02 ~]# ifconfig eth5
eth5 Link encap:Ethernet HWaddr 00:1B:21:9D:87:0F
inet addr:192.168.42.72 Bcast:192.168.42.255 Mask:
255.255.255.0
[root@nfs02 ~]# ifconfig eth6
eth6 Link encap:Ethernet HWaddr 00:1B:21:9D:87:0C
inet addr:192.168.42.73 Bcast:192.168.42.255 Mask:
255.255.255.0
[root@nfs02 ifaces]# uname -r
2.6.39.1
[root@nfs02 ifaces]# cat /etc/redhat-release
CentOS release 5.6 (Final)
[root@nfs02 ifaces]# iscsiadm --version
iscsiadm version 2.0-872
[root@nfs02 ifaces]# modinfo scsi_transport_iscsi
filename: /lib/modules/2.6.39.1/kernel/drivers/scsi/
scsi_transport_iscsi.ko
alias: net-pf-16-proto-8
version: 2.0-870
license: GPL
description: iSCSI Transport Interface
author: Mike Christie <[email protected]>, Dmitry Yusupov
<[email protected]>, Alex Aizman <[email protected]>
srcversion: 47617A77D87FB2745BA9CBD
depends: scsi_mod
vermagic: 2.6.39.1 SMP mod_unload modversions
parm: debug_session:Turn on debugging for sessions in
scsi_transport_iscsi module. Set to 1 to turn on, and zero to turn
off. Default is off. (int)
parm: debug_conn:Turn on debugging for connections in
scsi_transport_iscsi module. Set to 1 to turn on, and zero to turn
off. Default is off. (int)
Please guide me what is the issue?
Regards,
Farhan
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.