- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE EVA Storage
- >
- Monitoring fiber paths to MSA2000 with HP_fibreuti...
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
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
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
тАО11-05-2009 09:35 AM
тАО11-05-2009 09:35 AM
Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
I have a working system with a dual port HBA connected to an HP MSA2000 storage solution. Both HBA ports are connected to the MSA2000.
I need to write a script to monitor that both fiber paths are ready and no path has been lost.
I have the following binary available:
[root@fe04 hp_fibreutils]# ./adapter_info
/proc/scsi/qla2xxx/1: STATE=READY WWNN=5001438003b0f997 WWPN=5001438003b0f996
/proc/scsi/qla2xxx/0: STATE=READY WWNN=5001438003b0f995 WWPN=5001438003b0f994
The above "STATE=READY" can be used to monitor both data paths? Or they just refer to the status of the hba-port itself?
If a fiber cable is removed from one of the HBA port's, the above command would reflect it? What would be the value of STATE= in that case?
If not, how can I monitor it? Maybe a /proc entry? The best "alternative" I've found is the following:
[root@fe04 hp_fibreutils]# grep -i state /proc/scsi/qla2xxx/*
/proc/scsi/qla2xxx/0:Host adapter:loop state =
/proc/scsi/qla2xxx/1:Host adapter:loop state =
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 07:42 PM
тАО11-05-2009 07:42 PM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
adapter_info will display HBA port status only.
As you are using both ports and OS is linux, i guess that you are using multipathing software (Device-Mapper).
Which linux version are you running?
multipath -ll | egrep -i "failed|faulty" should display if any paths fail or you can always grep for "failing" on "/var/log/messages".
Hope this helps.
-Thank You
Bharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 11:50 PM
тАО11-05-2009 11:50 PM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
> is linux, i guess that you are using
> multipathing software (Device-Mapper).
Multipathing software, AFAIK, is not needed with the QLA drivers shipped with HP Proliant Support Pack.
You just configure the controllers as active-pasive failover:
[root@fe04 ~]# cat /etc/modprobe.conf.hba
options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1 ql2xl
bType=0 ql2xautorestore=0xa ConfigRequired=0
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ign
ore-remove qla2xxx_conf; }
So I can't use multipathing software binaries to determine link's status ...
Any other idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 05:21 AM
тАО11-06-2009 05:21 AM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
cat /proc/scsi/qla2300/1|grep -i dropped
Commands retried with dropped frame(s) = 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 08:48 AM
тАО11-06-2009 08:48 AM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
Check with your HP rep, MSA 2000 is not supported by Qlogic Failover.
You have to use device Mapper.
hope this helps.
-Thank You
Bharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 11:50 PM
тАО11-08-2009 11:50 PM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
> supported by Qlogic Failover.
>
> You have to use device Mapper.
How is that possible?
I remember, when we installed the machine, to do a failover test while writing to the MSA, and after 20-30 seconds, the O.S. continued writing to the "alternate" path :-?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 01:53 AM
тАО11-09-2009 01:53 AM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
I know one should not compare computers and cars, but think about this:
Driving on a motorway in the wrong direction is "unsupported". But sometimes people can make it over quite a distance without something bad happens.
In the computer world "Unsupported" often means:
- the vendor did not test a certain combination and cannot guarantee that it (MSA2000 with QLogic failover driver) works properly
- the vendor tested a certain configuration, found some problems and decided that he does not want to fix it, so he declares it "Unsupported"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 10:28 PM
тАО01-29-2010 10:28 PM
Re: Monitoring fiber paths to MSA2000 with HP_fibreutils binaries
http://h20272.www2.hp.com/
SPOCK is the primary portal used to obtain detailed information about supported HP StorageWorks product configurations. An HP Passport account is required to enter the SPOCK website.
SPOCK will allow you to look up supported configurations as follows:
├В┬╗View by Array/OS
├В┬╗View by Array
├В┬╗View by OS
├В┬╗View by Switch
├В┬╗View by Router
├В┬╗View by HBA