[Server] open-iscsi / equallogic e multipath
Inviato: mercoledì 6 maggio 2009, 16:19
Ciao a tutti come va?
Mi si genera un problema configurando l'iscsi con ubuntu e storage dell/equallogic.
Il problema è il seguente:
root@ubuntu:~# iscsiadm -m node --loginall=all
Logging in to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]
Logging in to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]
Logging in to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]
Logging in to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]
Logging in to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]
Logging in to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]
Login to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]: successful
iscsiadm: Could not login to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
Login to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]: successful
iscsiadm: Could not login to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
Login to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]: successful
iscsiadm: Could not login to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
iscsiadm: Could not log into all portals. Err 8.
La mia macchina è così composta:
root@ubuntu:~# uname -a
Linux ubuntu 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux
root@ubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
root@ubuntu:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:ac:f8:7a
inet indirizzo:172.17.50.200 Bcast:172.17.255.255 Maschera:255.255.0.0
indirizzo inet6: fe80::215
feac:f87a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:531 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:38776 (38.7 KB) Byte TX:17460 (17.4 KB)
Memoria:fdee0000-fdf00000
eth1 Link encap:Ethernet HWaddr 00:15:17:ac:f8:7b
inet indirizzo:172.17.50.211 Bcast:172.17.255.255 Maschera:255.255.0.0
indirizzo inet6: fe80::215
feac:f87b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12563 errors:0 dropped:0 overruns:0 frame:0
TX packets:8449 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:16008328 (16.0 MB) Byte TX:687234 (687.2 KB)
Memoria:fdea0000-fdec0000
eth2 Link encap:Ethernet HWaddr 00:1e:8c:6c:10:d6
inet indirizzo:10.16.27.187 Bcast:10.16.27.255 Maschera:255.255.255.0
indirizzo inet6: fe80::21e:8cff:fe6c:10d6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12052 errors:0 dropped:0 overruns:0 frame:0
TX packets:3067 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:998340 (998.3 KB) Byte TX:555847 (555.8 KB)
Interrupt:23 Indirizzo base:0xe000
lo Link encap:Loopback locale
inet indirizzo:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
eth0 e eth1 sono quelle che uso per connettermi allo storage.
root@ubuntu:~# iscsiadm -m iface
default tcp,default,default,unknown
iser iser,default,default,unknown
bnx2i bnx2i,default,default,unknown
iface1 tcp,00:15:17:ac:f8:7b,default,unknown
iface0 tcp,00:15:17:ac:f8:7a,default,unknown
root@ubuntu:~# iscsiadm -m discovery -t st -p 172.17.50.10
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2
root@ubuntu:~# iscsiadm -m session
tcp: [22] 172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control
tcp: [23] 172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1
tcp: [24] 172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2
Qui dovrei trovarne 6 non 3... Che può essere??
Con CentOS 5.3 funziona tutto correttamente.
Mi si genera un problema configurando l'iscsi con ubuntu e storage dell/equallogic.
Il problema è il seguente:
root@ubuntu:~# iscsiadm -m node --loginall=all
Logging in to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]
Logging in to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]
Logging in to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]
Logging in to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]
Logging in to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]
Logging in to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]
Login to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]: successful
iscsiadm: Could not login to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control, portal: 172.17.50.10,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
Login to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]: successful
iscsiadm: Could not login to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1, portal: 172.17.50.10,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
Login to [iface: iface1, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]: successful
iscsiadm: Could not login to [iface: iface0, target: iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2, portal: 172.17.50.10,3260]:
iscsiadm: initiator reported error (8 - connection timed out)
iscsiadm: Could not log into all portals. Err 8.
La mia macchina è così composta:
root@ubuntu:~# uname -a
Linux ubuntu 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux
root@ubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
root@ubuntu:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:ac:f8:7a
inet indirizzo:172.17.50.200 Bcast:172.17.255.255 Maschera:255.255.0.0
indirizzo inet6: fe80::215
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:531 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:38776 (38.7 KB) Byte TX:17460 (17.4 KB)
Memoria:fdee0000-fdf00000
eth1 Link encap:Ethernet HWaddr 00:15:17:ac:f8:7b
inet indirizzo:172.17.50.211 Bcast:172.17.255.255 Maschera:255.255.0.0
indirizzo inet6: fe80::215
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12563 errors:0 dropped:0 overruns:0 frame:0
TX packets:8449 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:16008328 (16.0 MB) Byte TX:687234 (687.2 KB)
Memoria:fdea0000-fdec0000
eth2 Link encap:Ethernet HWaddr 00:1e:8c:6c:10:d6
inet indirizzo:10.16.27.187 Bcast:10.16.27.255 Maschera:255.255.255.0
indirizzo inet6: fe80::21e:8cff:fe6c:10d6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12052 errors:0 dropped:0 overruns:0 frame:0
TX packets:3067 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:998340 (998.3 KB) Byte TX:555847 (555.8 KB)
Interrupt:23 Indirizzo base:0xe000
lo Link encap:Loopback locale
inet indirizzo:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
eth0 e eth1 sono quelle che uso per connettermi allo storage.
root@ubuntu:~# iscsiadm -m iface
default tcp,default,default,unknown
iser iser,default,default,unknown
bnx2i bnx2i,default,default,unknown
iface1 tcp,00:15:17:ac:f8:7b,default,unknown
iface0 tcp,00:15:17:ac:f8:7a,default,unknown
root@ubuntu:~# iscsiadm -m discovery -t st -p 172.17.50.10
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1
172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2
root@ubuntu:~# iscsiadm -m session
tcp: [22] 172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-74dbdef02-b0d0000001249e6d-vss-control
tcp: [23] 172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7b7bdef02-0dd0000001349e6d-volume1
tcp: [24] 172.17.50.10:3260,1 iqn.2001-05.com.equallogic:0-8a0906-7cfbdef02-2530000001649e6d-volume2
Qui dovrei trovarne 6 non 3... Che può essere??
Con CentOS 5.3 funziona tutto correttamente.