Operating System - HP-UX
1846953 Members
4602 Online
110257 Solutions
New Discussion

How to find the no HBAs on HPUX 11.31 system

 
Praveen
Advisor

How to find the no HBAs on HPUX 11.31 system

Hi

I need help on HBA. How do I find the number of HBAs avaialble on the system??? "sar -H" wont be of much help as it lists only the sctive HBAs not all of the available. I can get that info from Glance but I dont want to use that. I need some system command to get all HBAs.

Thanks in Advance

Praveen...
12 REPLIES 12

Re: How to find the no HBAs on HPUX 11.31 system

By all HBAs do you mean including SCSI or just fibre channel?

For fibre channel:

ioscan -funC fc

will show you all HBA ports you have (some may be on the same physical card for dual-port FC cards)

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: How to find the no HBAs on HPUX 11.31 system

If you want to include SCSI and SAS HBAs in that list as well as FC then

scsimgr get_info all_ctlr

should show you those HBAs as well...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Praveen
Advisor

Re: How to find the no HBAs on HPUX 11.31 system

HI Duncan

Thanks for your help. I need to know which command to get the out put similar to "glance -U". I need to know the name of the HBA controller and so on. I dont know much about HBAs :(

Thanks and Regards

Praveen
vjta
Regular Advisor

Re: How to find the no HBAs on HPUX 11.31 system

Hi praveen,

you can check thru :
#swlist -l product | grep -i hba

This will gives you list of HBA

Regards
vjta
Vijeta Bhedi
Prashanth Waugh
Esteemed Contributor

Re: How to find the no HBAs on HPUX 11.31 system

Hi praveen,

#ioscan -fnC fc
to get the device name of the HBA
then
#fcmsutil
To check the status of the HBA online or offline

Regards
Prashant
For success, attitude is equally as important as ability
Praveen
Advisor

Re: How to find the no HBAs on HPUX 11.31 system

Hi Prashanth,

#ioscan -fnC fc
is not returning anything. But I can see in glacne...

THanks and Regards

PRaveen
Prashanth Waugh
Esteemed Contributor

Re: How to find the no HBAs on HPUX 11.31 system

Hi,

Which OS version ur using

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: How to find the no HBAs on HPUX 11.31 system

Hi Praveen

use

#print_manifest

Regards
Prashant
For success, attitude is equally as important as ability

Re: How to find the no HBAs on HPUX 11.31 system

Praveen,

What actually are you trying to achieve? What do you need to see?

If you see nothing from "ioscan -funC fc", that simply tells us you have no fibre channel cards in your system.

As I pointed out, the scsimgr command should show you what you need - if you want to format it a bit, how about:

scsimgr get_info all_ctlr | grep "/dev" | cut -d: -f 2

will list them.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Torsten.
Acclaimed Contributor

Re: How to find the no HBAs on HPUX 11.31 system

>> I need to know which command to get the out put similar to "glance -U". <<

glance started, u pressed will list disk devices, not hba, right?
(I currently don't have a 11iv3 system to play with)

Would you try again to explain what you really want to get?

How about this:

fc hba devices:

# ioscan -fnCfc

scsi hba devices
# ioscan -fndmpt


Depending on the server model you can also try

# olrad -q

In each occupied powered slot (pwr=on; occu=yes) is an i/o card ...

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!   

Re: How to find the no HBAs on HPUX 11.31 system

Torsten,

That's upper case U. On 11.31 that shows per HBA stats (see attached screen scrape)

Not sure why it shows a bunch of disks which don't even exist on my system and a pass-thru device - nevertheless, the top 3 entries show the HBAs on my system - 2 SCSI controllers and a FC HBA

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Torsten.
Acclaimed Contributor

Re: How to find the no HBAs on HPUX 11.31 system

Thank you Duncan.

I assumed something like this, because "sar -H" seems to be similar according to the man page. I can't find a man page for glance, the search engine only finds "... new at a glance" ... ;-(

Anyway, the output looks some strange.
c2t0d0 is type HBA? Hmm ...

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!