<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: monitoring HBA link status on Red Hat linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6074937#M54290</link>
    <description>Accepted this post as a solution and kudos given. Thanks Matti for your help always!!!</description>
    <pubDate>Tue, 21 May 2013 15:58:18 GMT</pubDate>
    <dc:creator>vijay alur alur</dc:creator>
    <dc:date>2013-05-21T15:58:18Z</dc:date>
    <item>
      <title>monitoring HBA link status on Red Hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6063859#M54266</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2013 22:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6063859#M54266</guid>
      <dc:creator>vijay alur alur</dc:creator>
      <dc:date>2013-05-10T22:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HBA link status on Red Hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6063995#M54267</link>
      <description>&lt;P&gt;On RHEL 5 and newer, you can find the HBA link state at /sys/class/fc_host/host&amp;lt;number&amp;gt;/port_state.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The port_state pseudo-file might be available on RHEL 4 too, depending on the HBA driver manufacturer and driver version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In RHEL 4, the /sys/class/fc_host sub-tree was very new and not all drivers implemented it the same way.&lt;/P&gt;&lt;P&gt;For more background information, please see this thread:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h30499.www3.hp.com/t5/System-Administration/sys-class-fc-host-entries-missing-on-a-few-RHEL-4-and-5-systems/td-p/4827915"&gt;http://h30499.www3.hp.com/t5/System-Administration/sys-class-fc-host-entries-missing-on-a-few-RHEL-4-and-5-systems/td-p/4827915&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2013 06:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6063995#M54267</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-05-11T06:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HBA link status on Red Hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6064195#M54268</link>
      <description>&lt;P&gt;Hi Matti,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have&amp;nbsp;Red Hat Linux 5.7's and some 6.3's...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use nimsoft and nagios to monitor and ticket gets generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did come across the file you metioned &lt;EM&gt;&lt;STRONG&gt;/sys/class/fc_host/host0/port_state&lt;/STRONG&gt;&lt;/EM&gt; 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2013 00:44:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6064195#M54268</guid>
      <dc:creator>vijay alur alur</dc:creator>
      <dc:date>2013-05-12T00:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HBA link status on Red Hat linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6074937#M54290</link>
      <description>Accepted this post as a solution and kudos given. Thanks Matti for your help always!!!</description>
      <pubDate>Tue, 21 May 2013 15:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitoring-hba-link-status-on-red-hat-linux/m-p/6074937#M54290</guid>
      <dc:creator>vijay alur alur</dc:creator>
      <dc:date>2013-05-21T15:58:18Z</dc:date>
    </item>
  </channel>
</rss>

