#22 multiple paths under Linux

open
nobody
None
5
2005-05-19
2005-05-19
Anonymous
No

Hi,

my Target has two NIC´s
1. 192.168.0.1
2. 10.0.0.3

I need to see multiple paths to one disk, because I need
to test a management tool. My config file looks like that:

DiscoveryAddress=192.168.0.1
DiscoveryAddress=10.0.0.3

When I start iscsi under SLES8 he connects to both
portals, with iscsi-ls he shows me that he is connected
to 10.0.0.3. If this path is corrupted he switches
automatically to 192.168.0.1. So the Failover works.
But what I need is that I have the target bound in over
two paths, so I see the devices double.

Could you give me an example of a config-file?
I tried a lot, but I don´t get it work...

thanks a lot

Discussion

  • Logged In: NO

    In the 3.x driver you can find the details in the MULTIPATH
    SETTINGS section of the conf file.

     
  • Logged In: NO

    Hi,
    I have read the manpage, and some other docs, but I want to
    see two SCSI Instances in the OS, so that i have under
    /proc/scsi/iscsi two paths assigned to my Target.

    I enabled multipath (multipath=yes and tried portal) switched
    off failover. But with this settings I even dont get a connection
    to my Target Portal...

    So How can I manage it to see my iSCSI Target under two
    paths or instances?

    right now my config file looks like this:

    DiscoveryAddress=192.168.0.1
    DiscoveryAddress=10.0.0.3

    HostIPforMP=192.168.0.1,10.0.0.3

    for example when I connect a Storage system via
    Fibrechannel in a redundant way, with two paths I see all
    devices double. Cause the OS can speak to the devices from
    two paths. So how can I get this via iSCSI?

    thanks

     
  • Logged In: NO

    Hi,
    I have read the manpage, and some other docs, but I want to
    see two SCSI Instances in the OS, so that i have under
    /proc/scsi/iscsi two paths assigned to my Target.

    I enabled multipath (multipath=yes and tried portal) switched
    off failover. But with this settings I even dont get a connection
    to my Target Portal...

    So How can I manage it to see my iSCSI Target under two
    paths or instances?

    right now my config file looks like this:

    DiscoveryAddress=192.168.0.1
    DiscoveryAddress=10.0.0.3

    HostIPforMP=192.168.0.1,10.0.0.3

    for example when I connect a Storage system via
    Fibrechannel in a redundant way, with two paths I see all
    devices double. Cause the OS can speak to the devices from
    two paths. So how can I get this via iSCSI?

    thanks

     
  • Logged In: NO

    Hi,
    I have read the manpage, and some other docs, but I want to
    see two SCSI Instances in the OS, so that i have under
    /proc/scsi/iscsi two paths assigned to my Target.

    I enabled multipath (multipath=yes and tried portal) switched
    off failover. But with this settings I even dont get a connection
    to my Target Portal...

    So How can I manage it to see my iSCSI Target under two
    paths or instances?

    right now my config file looks like this:

    DiscoveryAddress=192.168.0.1
    DiscoveryAddress=10.0.0.3

    HostIPforMP=192.168.0.1,10.0.0.3

    for example when I connect a Storage system via
    Fibrechannel in a redundant way, with two paths I see all
    devices double. Cause the OS can speak to the devices from
    two paths. So how can I get this via iSCSI?

    thanks

     
  • Logged In: NO

    How about

    Multipath=yes
    PortalFailover=no

    in the iscsi.conf

     
  • Logged In: NO

    Hi,
    this I tried, so the settings I had activated were:

    iscsi.conf
    "
    DiscoveryAddress=192.168.0.1
    DiscoveryAddress=10.0.0.3

    Multipath=yes
    PortalFailover=no
    "

    with this configuration, he didnt even get a connection to the
    Target. :(

     
  • Logged In: NO

    Try this config file:
    DiscoveryAddress=192.168.0.1
    DiscoveryAddress=10.0.0.3
    Multipath=no
    PortalFailover=yes

    or only
    DiscoveryAddress=192.168.0.1
    DiscoveryAddress=10.0.0.3