Labels

Wednesday, 13 April 2011

How to discover the path dynamically in solaris

We had a system with EMC luns and some new luns were presented from HDS .The fabric was failing to discover the new path .Possibly because it dosent pick up the WWN informiation from the new zoning .To get the new zoning/masking to be picked we might require to send a LIP reset to fabric .


To discover new path in solaris 10 dynamically especially if you have a qlogic/LP 10K cards please find the procedure below .When you run a cfgadm configure command it would fail to pick and might comeup with below error
cfgadm : Library error :report Luns failed .Do the following to pick up and map the fabric


# luxadm -e port
This should give you the device paths .
/devices/pci@84,2000/fibre-channel@1/fp@0,0:devctl CONNECTED
/devices/pci@85,2000/fibre-channel@1/fp@0,0:devctl CONNECTED

Now use luxadm -e dump_map . It will send a LIP reset to the SAN

# luxadm -e dump_map /devices/pci@85,2000/fibre-channel@1/fp@0,0:devctl

Now configure the SAN fabric

# cfgadm -c configure

cfgadm should now show it connected and configured

#cfgadm -al

Run devfsadm and all commands to configure disks under os .

# devfsadm -Cv

If disks managed by veritas

#vxdctl enable

No comments:

Post a Comment