Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAN Fiber Channel Path!?!

Status
Not open for further replies.

khalidaaa

Technical User
Jan 19, 2006
2,323
BH
I've just installed two new fc adapters to an HACMP cluster with two nodes (one fc to each node)

Now i have two fcs in each node connected to the SAN.

My question is how do i know that the new fc that i've just added is being used?

Regards,
Khalid
 
I guess you expect redundant paths to SAN disks/LUNS on both cluster nodes.

having ESS (SDD driver) to check path status:
datapath query device

having Hitachi storage (HDLM driver) I run:
/usr/DynamicLinkManager/bin/dlnkmgr view -path

having EMC:
powermt display


 
Assuming LUNs are already assigned/zoned to the HBAs, and you ran cfgmgr on all of your HACMP nodes:

Show new adapter, and make sure they are in 'Available' state
Code:
lsdev -Cc adapter

Code:
lsdev -Cc disk
should show new disks, and make sure they are in 'Available' state

To put create a VG, make sure you use C-SPOC

hth

 
Thanks guys for your helpful comments.

Code:
# lsdev -C | grep fcs                                                   
fcs0        Available 03-08        FC Adapter
fcs1        Available 0B-08        FC Adapter

Code:
# lsdev -Cc disk
hdisk0 Available 03-08-02 1742-900 (900) Disk Array Device
hdisk1 Available 03-08-02 1742-900 (900) Disk Array Device
hdisk2 Available 03-08-02 1742-900 (900) Disk Array Device
hdisk3 Available 03-08-02 1742-900 (900) Disk Array Device

My disks where available and defined on a vg before adding this extra fc!

and yes i assigned those particular fc's to the SAN Storage manager software and i've configured the switch zoning as well!

The SAN i'm using is DS4500

So if the lsdev shows that the fcs are available, does that mean they are being used for now? how to check that?

Regards,
Khalid
 
I like to use nmon to see if an adapter actually has traffic going across it.
 
nmon! it is a production system and to be honest i hesitate to install nmon in there!

What else can be done?
 
Assuming fcs0, is your new adapter, if you look at your disk's parent address (lsdev -Cc disk) output's 3rd column, that is the adapter's address (parent).

If the disk is there, and it maps out to your adapter, you are set.

Also, ask your SAN team, if the HBA is active, and connected to the switch.

 
here is what i got!

Code:
# lsdev -C -F parent -l hdisk1
dar0

# lsdev -C -F parent -l dar0  


# lsdev -C -F parent -l fcs1
pci11

# lsdev -C -F parent -l pci11
pci10

# lsdev -C -F parent -l pci10
sysplanar0

the new is fcs1

but it doesn't show when i do the parent tracing over there!

we don't have have an HBA team! it is me only :)

i'm not that experianced with the SAN to be frank but i've added the fiber to the zone on the SAN switch and i've mapped the new fc to host mapping! it showed that it is active on the Switch!

Regards,
Khalid
 
have a look at chapter 12

in particular:

lsdev -C|grep dar (one dar device per DS4000 LUN)
lsdev -C|grep dac (two dac devices per DS4000 LUN)

parents of the dac devices should be two different fscsi (or fcs) devices I assume by just reading the text - don't have DS4000/RDAC experience.

If not, then I guess you would have to remove the config and start all over (rediscover the dac/dar devices).


HTH,

p5wizard
 
if you do lspath -l hdiskX,you'll see which paths are available to your hdisk


if you get sth like
fscsi1 hdiskX
fscsi1 hdiskX

you know that the hdisk is using fsc1

rgds,

R.
 
Oh thank you very much guys for the nice info. I'm now out of office! and i will not be able to try this till Monday coz i'm catching a cold :(

But that's wonderful tips. Can't wait to try them :)

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top