AIX 6227 Dual Fiber Channel

Hello,

I've set-up the following

AIX 4.3.3 with 2 * 1Gb Fiber channel
|
|
Cisco 4800 Fiber Switch
|
|
SAN

Everything looks OK

Apart from the fact that I see the disks appearing twice. Has anyone else come across this, and any ideas how to resolve?
LVL 3
mrn060900Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tfewsterCommented:
This is normal if there is no LUN masking on the switch or SAN as the 2 x FC cards give you 2 routes to each LUN.  It's actually desirable in most situations - If your OS supports multi-pathing (e.g. with Veritas Volume Manager), it can automatically fail over from one channel to another in case of hardware failure. You may also be able to do load-balancing across the 2 FC cards.

If you really don't want this, you should only publish the LUN to one World Wide Name (i.e. only one of the FC cards).
0
mrn060900Author Commented:
Thanks for the answer, but I was expecting multi-pathing, anyone know if AIX supports it?
0
mrn060900Author Commented:
Thanks for the answer, but I was expecting multi-pathing, anyone know if AIX supports it?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

tfewsterCommented:
After a conversation (in the pub) with a mate who works on  AIX: No, 4.3 does not support multi-pathing natively But it's not clear what happens if you try to configure in both LUNS.

If you have an IBM Shark array, you get the DPO (Dynamic Pathing Option?) software. Alternatively, Veritas Volume Manager software will do the job.

Multi-pathing is built in to AIX 5

If you've bought a SAN infrastructure, surely the supplier should be able to tell you what you can connect to it and what can be supported? It's in their interest to make you use more switch ports etc ;-)
0
mrn060900Author Commented:
You would have thought they (SUN) could tell me what the supported config is. Anyway the answer is to install Hitachi Dynamic Link Manager, which allows you to set-up multipathing on AIX 4.3.3. God bless the pub & mates, thanks for your help
0
tfewsterCommented:
Get CS to PAQ this question (& refund your points so you could repost it in the new Storage TA ;-)

I've had similar problems with SAN suppliers, e.g. they will certify an HP A5158A FC card but won't even comment on another FC card with the same chipset, because they haven't tested every combination of hardware & operating system level...

Incidentally, you're lucky you only see 2 disks for every "real" disk; HP-UX & their supposedly-integrated version of the HDS disk array shows dozens of 0-size "placeholder" LUNS, making it very difficult to pick out the LUN you've just published to a host.  

0
cjs2895Commented:
First, there is an bug in cfgmgr when dealing with multiple paths to FC attached devices (at least up until AIX 5.2 though I haven't tested it yet). You need to run cfgmgr on each channel seperately, or you may end up with missing or phantom devices. So something along the lines of:

  rmdev -Rdl fcsX # Do this for each channel
  cfgmgr -vl fcsX # Then do this for each channel

After you've done this you should have an hdisk device for every drive on every channel (4 drives * 2 channels = 8 hdisk devices). You will be able to look at the attributes with "lsattr -El hdiskX" to see the WWN of the drives.

To have multipathing for the drives you need to use whatever software came from your SAN vendor (EMC is PowerPath, Hitachi is DMP, Shark is VSS, etc.). They will create puesdo devices (ie hdiskpowerX on EMC) which combine the two hdisk devices under one virtual device that handles the multipathing functionality. You will use those virtual devices to create your volume groups and such on.

Without the multipathing software you will also run into locking conflicts (ie hdiskX on channel 1 will have PVID's and can be used, but its mirror on channel 2 will have no PVID and the system will respond its already in use). If you are a programmer and you are doing multipathing in your application (database perhaps?) you can break the locks with low-level ioctl()s.
0
cjs2895Commented:
To answer your secondary question, AIX 5.2 supports multipathing natively, though I'm not familiar with how its implemented, compatability with third party storage vendors, etc. Prior to AIX 4.3 you'll need your SAN vendor's software.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.