1833723 Members
3499 Online
110063 Solutions
New Discussion

FC cards

 
SOLVED
Go to solution
kunjuttan
Super Advisor

FC cards

Hi gurus,
How can I check the available FC cards in my HP-UX box.And also its configuration.


rgds
Kunju
13 REPLIES 13
Torsten.
Acclaimed Contributor

Re: FC cards

"ioscan -fnCfc"

Nothing to configure here.

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!   
kunjuttan
Super Advisor

Re: FC cards

How to know how many prots are there??
Torsten.
Acclaimed Contributor

Re: FC cards

Post the "ioscan -fn".

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!   
SoorajCleris
Honored Contributor

Re: FC cards

Hi,

the ports you can check by the device hardware path.

As thorsen told, please post ioscan -fn
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
kunjuttan
Super Advisor

Re: FC cards

ioscan -fnC fc output is the following,

Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 0 0/3/1/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td0
Torsten.
Acclaimed Contributor

Re: FC cards

single card, single port.

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!   
kunjuttan
Super Advisor

Re: FC cards

Thanx Torsten,But how can we identify this.Can u share pls..??
Torsten.
Acclaimed Contributor
Solution

Re: FC cards

You see exactly 1 entry in ioscan - 1 card, 1 port.


If you have more entries in ioscan this means either more cards or more ports.



This is a single card with 2 ports:

#ioscan -fnCfc
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
fc 0 0/3/1/0/4/0 fcd CLAIMED INTERFACE HP AD194-60001 PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
/dev/fcd0
fc 2 0/3/1/0/4/1 fcd CLAIMED INTERFACE HP AD194-60001 PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
/dev/fcd2

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!   
Alzhy
Honored Contributor

Re: FC cards

Save the following as a file -- say show_fc.ksh, chmod +x and run:

Start- Cut here-

#!/bin/ksh
#
# Show_FC.ksh --- shows FC HBAs and their properties
# Alzhy v1.1
#
#
echo "Fibre Channel HBA Summary : `hostname`"
echo "-----------------------------------------------------------------------------"
for fc in `/usr/sbin/ioscan -kfnC fc|grep dev`;do
echo $fc
echo "----------"
/opt/fcms/bin/fcmsutil $fc|egrep "World Wide Name|Driver state|Link Speed = Hardware Path is"
model|grep BL870c>/dev/null
if [ $? -ne 0 ];then
HW=`/opt/fcms/bin/fcmsutil $fc|egrep "Hardware Path"|awk -F= '{print $NF}'`
HBA=`dirname $HW`
SLOT=`olrad -q|grep "$HBA"|awk '{print $1}'`
echo " PCI Slot = $SLOT"
fi
echo " "
done


End - Cut here
Hakuna Matata.
madhuchakkaravarthy
Trusted Contributor

Re: FC cards

hi

ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
fc 0 0/3/0/0/0/0 fcd CLAIMED INTERFACE HP 4Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 1)
/dev/fcd0
fc 1 0/3/0/0/0/1 fcd CLAIMED INTERFACE HP 4Gb Dual Port PCIe Fibre Channel Mezzanine (FC Port 2)
/dev/fcd1
# fcmsutil /dev/fcd0

Vendor ID is = 0x1077
Device ID is = 0x2432
PCI Sub-system Vendor ID is = 0x103C
PCI Sub-system ID is = 0x1705
PCI Mode = PCI Express x4
ISP Code version = 4.2.2
ISP Chip version = 2
Topology = PTTOPT_FABRIC
Link Speed = 4Gb
Local N_Port_id is = 0x0d0200
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x500143800224238d
N_Port Port World Wide Name = 0x500143800224238c
Switch Port World Wide Name = 0x200200051e5851e5
Switch Node World Wide Name = 0x100000051e5851e5
N_Port Symbolic Port Name = AP102_fcd0
N_Port Symbolic Node Name = AP102_HP-UX_B.11.31
Driver state = ONLINE
Hardware Path is = 0/3/0/0/0/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) fcd B.11.31.0803 Jan 20 2008
and same for another fc

regards

MC
kunjuttan
Super Advisor

Re: FC cards

if the command #ioscan -fnC fc throws no output,what it means.Is it means no FC available or FC is disabled or something like this??
SoorajCleris
Honored Contributor

Re: FC cards


NO FC

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: FC cards

No FC detected by the OS.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie