From: "Kevin Foote" Subject: Re: NIC and HBA based multipathing Date: Tue, 30 Oct 2007 13:40:50 -0400 Message-ID: <5fb0f77b0710301040l4eeca0a7n2ccdc00b14285294@mail.gmail.com> References: <342d47870710300956k3bde2d06j7a50acc6c8225fe5@mail.gmail.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2081512264==" Return-path: In-Reply-To: <342d47870710300956k3bde2d06j7a50acc6c8225fe5@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============2081512264== Content-Type: multipart/alternative; boundary="----=_Part_7589_31273419.1193766050645" ------=_Part_7589_31273419.1193766050645 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I cant say that I have done that all mine are on an iscsi HBA only but, it seems like it should work .. you will need to have multipathd running, and you will have to setup your /etc/multipath.conf file correctly for your device(s). Also this goes with out saying each initiator will need the target defined for their own access. RHEL: > rpm -qa | grep multipath device-mapper-multipath-0.4.5-21.0.1.RHEL4 > chkconfig multipathd on You will also note that your devices will vary /dev/sdX which is fine they will be "joined" if you will under the /dev/mpath/ node. Which is where you will access the device as well. On 10/30/07, Scott Moseman wrote: > > Device-mapper multipathing in RHEL 4 > http://kbase.redhat.com/faq/FAQ_51_7170.shtm > > I can (and have) setup a NIC based iSCSI SAN connection. I can (and > have) setup an HBA based iSCSI SAN connection. Now I'm trying to get > a machine to connect using multipath with both a NIC and an HBA. What > are the prerequisites that I should have running before I attempt to > go through the above knowledge base procedure? > > I put IPs on both the NIC and HBA on the SAN network. The SAN is > showing both IPs as trying to access the volume in question. iscsi-ls > only shows 1 device (/dev/sdb), and it's taking the path through the > NIC to reach the SAN. I can verify this by watching the SAN volume to > see which of the IP addresses is sending traffic. > > Should my HBA show up as another device (/dev/sdc) before I start > attempting to multipath? Or is multipathd going to link both NIC and > HBA to the /dev/sdb device? > > Thanks, > Scott > ------=_Part_7589_31273419.1193766050645 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I cant say that I have done that all mine are on an iscsi HBA only but, it seems like it should work ..
you will need to have multipathd running, and you will have to setup your
/etc/multipath.conf file correctly for your device(s). Also this goes with out saying each initiator will need the target defined
for their own access.

RHEL:
> rpm -qa | grep multipath
device-mapper-multipath-0.4.5-21.0.1.RHEL4
> chkconfig multipathd on

You will also note that your devices will vary /dev/sdX which is fine they will
be "joined" if you will under the /dev/mpath/<whatever-you-called-dev> node.
Which is where you will access the device as well.


On 10/30/07, Scott Moseman <scmoseman@gmail.com> wrote:
Device-mapper multipathing in RHEL 4
http://kbase.redhat.com/faq/FAQ_51_7170.shtm

I can (and have) setup a NIC based iSCSI SAN connection.  I can (and
have) setup an HBA based iSCSI SAN connection.  Now I'm trying to get
a machine to connect using multipath with both a NIC and an HBA.  What
are the prerequisites that I should have running before I attempt to
go through the above knowledge base procedure?

I put IPs on both the NIC and HBA on the SAN network.  The SAN is
showing both IPs as trying to access the volume in question.  iscsi-ls
only shows 1 device (/dev/sdb), and it's taking the path through the
NIC to reach the SAN.  I can verify this by watching the SAN volume to
see which of the IP addresses is sending traffic.

Should my HBA show up as another device (/dev/sdc) before I start
attempting to multipath?  Or is multipathd going to link both NIC and
HBA to the /dev/sdb device?

Thanks,
Scott



------=_Part_7589_31273419.1193766050645-- --===============2081512264== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2081512264==--