Operating System - HP-UX
1837655 Members
2836 Online
110117 Solutions
New Discussion

Re: deactivating the fibre channel adapter in hpunix

 
sanwin
Frequent Advisor

deactivating the fibre channel adapter in hpunix

Hi,
As one of the FC cards connected to hpux server is having some domain change issue, i need to deactivate the FC card.

How to find the defective FC card and how to disable the FC card.
I am new to working with FC card.

Please help me.


thanks and regards,
sanwin
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: deactivating the fibre channel adapter in hpunix

>>"As one of the FC cards connected to hpux server is having some domain change issue"

What is the issue?

>>"How to find the defective FC card?"

You need to tell the server model and the hardware path of the card.

You deactivate it with fcmsutil, see

man fcmsutil

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Grayh
Trusted Contributor

Re: deactivating the fibre channel adapter in hpunix

from the following command u may find the defective FC card:-

#echo "map selall info;wait infolog" | cstm
#ioscan -fnCfc
# fcmsutil /dev/fcd0

And then replace the FC card if found defective.
sanwin
Frequent Advisor

Re: deactivating the fibre channel adapter in hpunix

Thanks both of you!!

The actual issue is the domain id of one of the switch is changed somehow. so the device paths and device IDs are changed in the hpunix servers which are connected to that switch.

so to fix this issue, storage team wants us to deactivate the defective fc card.


please let me know if any additional inputs.

thanks!!

regards,
sanwin
Torsten.
Acclaimed Contributor

Re: deactivating the fibre channel adapter in hpunix

So you will see a lot of NO_HW entries in "ioscan" and probably new devices without a device file.

I wonder what the deactivation should bring ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sanwin
Frequent Advisor

Re: deactivating the fibre channel adapter in hpunix

Hi Torsten,
Normally the setup of hpunix here is having two fc cards. Currently they want the hpunix servers to run in only one working HBA card. so that the other FC card is disabled and whatever changes they are doing on the cisco switch will not affect the servers.


regards,
sanwin
Torsten.
Acclaimed Contributor

Re: deactivating the fibre channel adapter in hpunix

You will find the card associated with all the NO_HW entries in ioscan.

You can use

fcmsutil disable

see
http://docs.hp.com/en/B3921-60631/fcmsutil.1M.html

or just pull the cable.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sanwin
Frequent Advisor

Re: deactivating the fibre channel adapter in hpunix

Thanks Torsten!!
Sharma Sanjeev
Respected Contributor

Re: deactivating the fibre channel adapter in hpunix

Hi Sanwin

to disable fc
fcmsutil /dev/td0 or fcd0 disable

to enable
fcmsutil /dev/td0 or fcd0 enable

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE