- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- monitoring HBA link status on Red Hat linux
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
05-10-2013 03:04 PM
05-10-2013 03:04 PM
Hello All,
How do i monitor the HBA link status on my server running Red Hat Linux OS. On some instances, when there is a link down our storage team notifies us about one of the link to the LUN is down. There is no monitoring from our side that will generate a ticket to us. I am wondering how to monitor the HBA link down status.
Like for e.g. on HPUX would show error message in the file /var/adm/syslog/syslog.log. The same does not happens in case of Red hat linux.
Thanks,
VJ
iGATE
Solved! Go to Solution.
- Tags:
- HBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-10-2013 11:15 PM
05-10-2013 11:15 PM
SolutionOn RHEL 5 and newer, you can find the HBA link state at /sys/class/fc_host/host<number>/port_state.
You did not specify what kind of monitoring system you're using, but it should usually be easy to make your monitoring system check that too.
The port_state pseudo-file might be available on RHEL 4 too, depending on the HBA driver manufacturer and driver version.
In RHEL 4, the /sys/class/fc_host sub-tree was very new and not all drivers implemented it the same way.
For more background information, please see this thread:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-2013 05:44 PM
05-11-2013 05:44 PM
Re: monitoring HBA link status on Red Hat linux
Hi Matti,
Thanks for the reply.
We have Red Hat Linux 5.7's and some 6.3's...
We use nimsoft and nagios to monitor and ticket gets generated.
I did come across the file you metioned /sys/class/fc_host/host0/port_state which showed Link Down. i was planning to write a cron job that would check this in a frequency. But i guess nimsoft can do this task much better. so monitoring issue should be fixed.
Also i have question about the HBA link going down. This has been happeneing for some time. now once we have monitoring set, i want to be able to reset the connection on the link down HBA so that it gets back online.
Currently whenever there is a one HBA link down, we have to ask Storage team to reset the connection to fix. We would want this to be fixed from host/OS side.
Thanks,
VJ
iGATE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-21-2013 08:58 AM
05-21-2013 08:58 AM
Re: monitoring HBA link status on Red Hat linux
iGATE
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP