- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PCI slot no in HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2012 06:08 AM
09-03-2012 06:08 AM
PCI slot no in HPUX
Can some one please help me in finding out the PCI slot no(storage controller) in HPUX except OLRAD command, since olrad is not supported in some integrity server models.
I need to use this slot number in my source code. This is now blocking my entire product for release.
Thanks in Advance
- Tags:
- olrad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2012 07:49 AM
09-03-2012 07:49 AM
Re: PCI slot no in HPUX
The "olrad" command is probably the only source (expect "ioscan -m resourcepath" on SD2), so you usually need to know the server model and the H/W path - slot relation, then decode the hardware path.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2012 08:09 AM
09-03-2012 08:09 AM
Re: PCI slot no in HPUX
Thanks Torsten. I am using server model "ia64 hp server rx3600". I tried ur cmd "ioscan -m resourcepath" but its not supported in my server model.
Is there any way to decode the hardware path? ( means how to convert h/w path to slot number)
Right now I am using this to get slot no "olrad -g 0/6/0/0/0/0/1/0/0/0". But this technique i can't use in my source code. Even i tried by tracing this command using TRUSS syscall tracer utility but i am not able to get proper IOCTL calls. I also attached the output of syscall tracer.
Thanks a lot for ur Help & support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2012 10:03 AM - edited 09-03-2012 10:04 AM
09-03-2012 10:03 AM - edited 09-03-2012 10:04 AM
Re: PCI slot no in HPUX
I'm not aware of such solution.
Back in the good old times (when the Nova server class was current, meanwhile ~15 years ago) there was a rule to decode the h/w path to a slot. But later each server has its own way to specify this path. Meanwhile you have totally different paths even within the same server family, let's say the pci-x backplane of your rx3600 is again different to a mixed pci-x/pci-e backplane. How a bout mezzanine cards in blades? Different again.
As said, the SD2 server is the only model that is showing you something like this:
# ioscan -m resourcepath
H/W Path Physical location Resource path
====================================================================
0 0x100ff01ffffff94 blade-1/1
0/0/0 0x1000100ffffff8e iorc-1/1/0/0
0/0/0/0/0 0x100010000ffff8e iorp-1/1/0/0/0
0/0/0/0/0/0 0x10001000004ff88 ioslot-1/1/4
Maybe future models will support the same.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2012 10:32 AM - edited 09-03-2012 10:33 AM
09-03-2012 10:32 AM - edited 09-03-2012 10:33 AM
Re: PCI slot no in HP-UX
> I tried by tracing this command using TRUSS syscall tracer utility but I am not able to get proper IOCTL calls.
It looks like all this info is in /dev/config and /dev/olar and a few ioctls.
Have you looked at libIO on 11.31?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2012 10:37 AM
09-03-2012 10:37 AM
Re: PCI slot no in HP-UX
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 06:13 AM
09-04-2012 06:13 AM
Re: PCI slot no in HP-UX
Thanks for ur valuable inputs guys. I got to know one more command in HPUX which is displaying slot number,
Using " ioscan -P physical_location " command i am able to get slot number.
Class I H/W Path physical_location
======================================================
slot 8 0/6/0/0/0/0/1/0/0 0x03 --------------- slot number
ext_bus 0 0/6/0/0/0/0/1/0/0/0 N/A
slot 9 0/7/0/0/0 0x05 ---------------- slot number
ext_bus 2 0/7/0/0/0/0 N/A
The funniest part is , this comamnd is working properly in hot swappable controllers(olrad command working servers) but not able to get in non hot swapable controllers.
Also i attached complete output of both (hot swappable & non hot swappable controlers) for above given command.
waiting for ur valuable suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 06:15 AM
09-04-2012 06:15 AM
Re: PCI slot no in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 11:47 PM
09-04-2012 11:47 PM
Re: PCI slot no in HP-UX
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2012 11:55 PM
09-04-2012 11:55 PM
Re: PCI slot no in HP-UX
Thanks Torsten, My goal is to identify the storage controllers (embedded or external) using slot number only.Even if the controller is embedded it will be having slot number.
I have to fire so many operations for the particular controller, so before that i need to select my controller first using slot number. Here I am stucking now very badly. Since I am not able to select the controller how will I fire the controller operations?
Thanks ,