- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to identify enclosure / bay number from li...
Operating System - Linux
1752329
Members
5959
Online
108786
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-18-2008 11:37 PM
тАО06-18-2008 11:37 PM
hi,
I would like to find out if and how its possible to determine which bay and enclosure a blade is located in from the OS.
I have a custom deployment system (linux pxe system with nfs kickstart install), and would like to script setup based on location within an enclosure. For example, set up mysql if server is in bay3, enclosure1.
How would I go about doing this? I am assuming I would need to install some of the hp agents, and speak to the agent somehow?
I would like to find out if and how its possible to determine which bay and enclosure a blade is located in from the OS.
I have a custom deployment system (linux pxe system with nfs kickstart install), and would like to script setup based on location within an enclosure. For example, set up mysql if server is in bay3, enclosure1.
How would I go about doing this? I am assuming I would need to install some of the hp agents, and speak to the agent somehow?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 03:03 AM
тАО06-19-2008 03:03 AM
Solution
If you're running Linux on an Itanium blade (BL860c), the command "hpbmc" will display the enclosure and blade names, and the blade bay number, among other things.
If your blade uses x86_64 hardware, install the hpasm driver package (either standalone or a part of the Proliant Support Pack) and execute something like this:
hpasmcli -s "show name; show server; show portmap"
Disclaimer: all my x86_64 Linuxes are non-blades and all my blades are Itaniums (some HP-UX, some Linux). But as far as I understand, the hpasmcli command ought to be able to produce the information you need.
MK
If your blade uses x86_64 hardware, install the hpasm driver package (either standalone or a part of the Proliant Support Pack) and execute something like this:
hpasmcli -s "show name; show server; show portmap"
Disclaimer: all my x86_64 Linuxes are non-blades and all my blades are Itaniums (some HP-UX, some Linux). But as far as I understand, the hpasmcli command ought to be able to produce the information you need.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 06:06 AM
тАО06-19-2008 06:06 AM
Re: How to identify enclosure / bay number from linux OS on blade server
100%, exactly what i was looking for.
Running bl465c's with x86_64 architecture.
from
#hpasmcli -s "show portmap"
i can see the portmappings, and determine my bay number from that. Unfortunately, I cant use the name, because the scripting I am doing has to cater for blade rip-and-replace type functionality, so hopefully there are no logic gaps that will break this.
Running bl465c's with x86_64 architecture.
from
#hpasmcli -s "show portmap"
i can see the portmappings, and determine my bay number from that. Unfortunately, I cant use the name, because the scripting I am doing has to cater for blade rip-and-replace type functionality, so hopefully there are no logic gaps that will break this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 06:08 AM
тАО06-19-2008 06:08 AM
Re: How to identify enclosure / bay number from linux OS on blade server
Solution found.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP