LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-18-2004, 05:09 AM   #1
Rimmon
LQ Newbie
 
Registered: May 2004
Location: Genova, Italy
Distribution: Slackware 9.1, FC1
Posts: 4

Rep: Reputation: 0
Unhappy Emulex FC - Brocade switches - Hitachi SAN - multipath


Hello everybody...

I'm (trying) to assemble and set up a RH3.0 Cluster, with the shared storage on a Hitachi SAN, accessed via two (for redundancy) Brocade switches...

Server hardware will be (showing only one node):

HP DL380
4 Gb RAM
2 internal 18 Gb U-320 SCSI (RAID-1 hardware) for root volume
2 Emulex LP9002L fiber channel cards

Each Emulex will be connected to a different switch, to achieve multipath connection to the "fabrics" exported by the SAN.

Other hosts connected to the SAN (with Windows 2K and Solaris 8) have no problem at all with multipath access... i.e. they see only ONE disk for each "fabric", my question is:

"How can I enable multipath access for the FC adapter on Linux???".

I know that I can set up multipathing via MDADM, but... this will be a production machine...

mdadm -C /dev/md0 \
--raid-type=multipath \
--raid-devices=2 \
/dev/sdc /dev/sdd

(assuming that the fabric will be seen as both /dev/sdc and /dev/sdd).

I want a flexible management (via LVM) of the shared storage space, for example allocating one VG to each cluster service... so I can try something like that...

1) creating 14 "8e" (linux LVM) partitions on /dev/sdc (they must be seen on /dev/sdd also)
2) a little big script to create 14 PVs...

export ARGUMENTS=" --raid-type=multipath --raid-devices=2 "
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14
do
mdadm -C /dev/md${i} $ARGUMENTS /dev/sdc${i} /dev/sdd${i}
pvcreate /dev/md${i}
done

3) create one VG for each cluster service, assigning one (or more) of the previously created PVs
...
and so on...

Anyway, my question is: "there a recommended (via Emulex utility) way to achieve the same result that I can reach with mdadm?????????"

Best regards and thanks to all!

Last edited by Rimmon; 06-18-2004 at 05:30 AM.
 
Old 06-30-2004, 11:44 AM   #2
sam028
LQ Newbie
 
Registered: Jun 2004
Location: France
Distribution: Fedora, Mandrake
Posts: 8

Rep: Reputation: 0
Hi.

I'm not sure, but I think that you cannot do that without md, or a similar product (like PowerPath for EMC˛ boxes). Solaris have it's own multipath driver, or use the Veritas one (DMP), for Wintel, don't know ...
I'm actually building 2 Linux clusters, with RHEL 2.1 and 3.0, but with my own cluster software (http://open-ha-cluster.sf.net), on EMC˛ boxes and on "standard" SCSI drives, and have similar problems. On of them is that the load don't look like being shared between the the two /dev/sdxx devices, it just work for fail-over.
If you find something on the subject, please let me know. We may share our experiences ...

Sam.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emulex FC, STK 9740 - Confusion. dorga Linux - Hardware 0 09-13-2005 10:55 AM
why does squid fail with a multipath DG? eantoranz Linux - Networking 0 07-13-2005 02:06 PM
AIX 5.1 Emulex HBA drivers jamesps AIX 4 02-01-2005 01:48 PM
multipath routing problem jszmajda Linux - Networking 4 05-05-2004 08:15 AM
Trouble Compiling Emulex Drivers vsubrama Red Hat 4 10-08-2003 02:38 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration