HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

checking fc connectivity

 
SOLVED
Go to solution
Ahmed Douban
Frequent Advisor

checking fc connectivity

hi experts

i want to know if there is any command/tools can be used to determine if server fc is connected or not

actually i tried to use

# ioscan -P health -C fc
this command reports fc port status but no reporting about if it connected or not

thanks
7 REPLIES
Mel Burslan
Honored Contributor

Re: checking fc connectivity

Considering the wide variety of options that your fiber interfaces can connect to, it is very hard to write such a utility.

ioscan utility is there to scan the buses of hpux server to report the hardware attached to the system. You will need a utility from your FC attached fabric or device manufacturer to tell you if there are any devices connected to your WWN. There is no generic form of this utility, although the system monitoring platforms, likes of HP Open View and such, have an extensive library of FC equipment, which they can check to see if any such device is connected. But writing such a utility, especially for public domain, is a big undertaking, which I would not be willing to do.

________________________________
UNIX because I majored in cryptology...
Torsten.
Acclaimed Contributor

Re: checking fc connectivity

I assume if your command show the storage device is healthy, this means it is connected (what else?).


However, fcmcutil will show you the connection status HBA <-> switch.

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!   
Ahmed Douban
Frequent Advisor

Re: checking fc connectivity

@mel hp openview is old name right now and contain alot of products so may you till me witch HP software product


@Torsten
it seems you mean this command
#fcmsutil

may you please provide a more details to run this command to test connectivity between HBA <--> san switch or FA (WWPN) of storage

thanks guys
Torsten.
Acclaimed Contributor
Solution

Re: checking fc connectivity

From ioscan get the device file (e.g. /dev/fcd0) and run

# fcmsutil /dev/fcd0

and you get among other details the WWN of the HBA, WWN of switch port, connection status and speed.

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!   
Ahmed Douban
Frequent Advisor

Re: checking fc connectivity

perfect mate

it works

here is the output

ISP Chip version = 3
Topology = PTTOPT_FABRIC
Link Speed = 4Gb
Local N_Port_id is = 0x680500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x500143800132d0f1
N_Port Port World Wide Name = 0x500143800132d0f0
Switch Port World Wide Name = 0x200500051e8106f7
Switch Node World Wide Name = 0x100000051e8106f7
Driver state = ONLINE
Hardware Path is = 0/7/1/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) fcd B.11.31.0709 Jun 11 2007

# fcmsutil /dev/fcd1

Vendor ID is = 0x1077
Device ID is = 0x2422
PCI Sub-system Vendor ID is = 0x103C
PCI Sub-system ID is = 0x12D7
PCI Mode = PCI-X 266 MHz
ISP Code version = 4.0.90
ISP Chip version = 3
Previous Topology = UNINITIALIZED
Link Speed = UNKNOWN
Local N_Port_id is = None
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x500143800132d0f3
N_Port Port World Wide Name = 0x500143800132d0f2
Switch Port World Wide Name = 0
Switch Node World Wide Name = 0
Driver state = AWAITING_LINK_UP
Hardware Path is = 0/7/1/1
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) fcd B.11.31.0709 Jun 11 2007

only the first FC is connected the second output of FC2 not initialized

thanks again
madhuchakkaravarthy
Trusted Contributor

Re: checking fc connectivity

u can also use

fcmsutil /dev/fcd0 'vpd' to get details of hba
V I T A L P R O D U C T D A T A
--------- ------------- -------

Product Description : PCI-Express Dual Channel 4Gb Fibre Channel Mezzanine HBA

Part number : 404986-001

Engineering Date Code : D-4809

Part Serial number : MY5823213U

Misc. Information : PW=6W

Mfd. Date : 4823

Mfd. ID : CU0410401-01 H

Check Sum : 0x29

EFI version : 01.09

ROM Firmware version : 04.00.90

BIOS version : 01.26

FCODE version : 01.17

Asset Tag : NA

regards

MC
Ahmed Douban
Frequent Advisor

Re: checking fc connectivity

an expert answered my question