Operating System - HP-UX
1833780 Members
2279 Online
110063 Solutions
New Discussion

Resetting Fiber connection

 
Larry Scheetz
Advisor

Resetting Fiber connection

I have a N4000 (11.0)with duel fiber connection to separate brocade switches. One of the switches went out this weekend which dropped that fiber link. Now that the switch is back up when doing an ioscan I am seeing NO_HW. Our Windows servers had to be rebooted to synch the connection backup. This is a production box and cant reboot. Is there anyway to re-synch this connection? I have done a ioscan -fn but it shows it as NO_HW.
Thanks Larry
A Happy heart makes the face cheerful
6 REPLIES 6
Karthik S S
Honored Contributor

Re: Resetting Fiber connection

Try doing a "insf -e" may be the device instances have changed.

Run the the following commands and observe them carefully,

ioscan -fnC fc
fcmsutil /dev/td0
fcmsutil /dev/td1
ioscan -fnC disk

Regards,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Mark Grant
Honored Contributor

Re: Resetting Fiber connection

You'd normally do this kind of thing using "fcmsutil" but as that takes a device name you are not going to have much luck if ioscan can't see it.

I suspect that there is something else wrong here. ioscan should see the card even if you don't have it connected to a switch.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: Resetting Fiber connection

insf -e is needed to get any disks assigned while the machine is running to be recognized.

There are limits to what 11.00 can do without a reboot, which does run ioscan(definitely) and insf -e(probably) at boot time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Florian Heigl (new acc)
Honored Contributor

Re: Resetting Fiber connection

check in mstm's logtool and fcmsutil *if* your system has succesfully reconnected to the brocade (F_LOGIN)

Try if a dd from a SAN LUNs raw device actually works.

If You happen to find problems with that, stop Your applications and take the fc adapter off- on online.

fcmsutil /dev/fcNUM (dis|en)able

ioscan -fnCdisk afterwards

Also check fcmsutil actually sees the partner WWNs it should.

If that doesn't help, You're probably out of luck and it's time for a reboot.

Regards,
Florian
yesterday I stood at the edge. Today I'm one step ahead.
Hazem Mahmoud_3
Respected Contributor

Re: Resetting Fiber connection

Try resetting the card using lanadmin.
# lanadmin
Then choose "lan"
Then choose the correct ppa # for the card (you can get the ppa # from "ioscan -funC lan" and looking at the "I" column (for instance #)
Then choose "reset"

I reset our gigabit card in times like this and it seemed to bring it back to life.

-Hazem
Kirby A. Joss
Valued Contributor

Re: Resetting Fiber connection

Two more possibilies...

1. The Brocade fabric id shows up as part of the HW path in ioscan. Make sure that the FC switch had this configured to match the one it replaced, or it your old dev will all be NO_HW and new devices will be created which you must then vgextend.

2. The Tachyon cards "remember" the N-Port ID to which they were connected, (Item 1 impact) and may refuse to connect to another (HP security feature). Check your syslog for instructions. I have seen things like "run fcsmutil replace_disk" in there. When I did whatever it said, it has worked for me.