Unsolved
This post is more than 5 years old
9 Posts
0
19764
January 7th, 2010 09:00
Monitoring HBA card connection status from Windows Box
Hi,
Though I am not a Storage guy but I need some information on the same. There is a requirement to monitor the status of the HBA cards (alive or dead) from the Windows servers which are connected to the SAN. We have Symmetrix DMX 3 SAN in our environment. The Physical (Windows) server has two HBA cards and are connected to the storage box.
Currently we monitor the HBA card connection status through EMC Powerpath Console. As we have a large number of servers so sometimes it becomes laborious and time consuming.
Recently I found that we can do the same through command line using "powermt display" command. Now the output of this command is littile confusing for me. How do we come to know from the output this command if a HBA card connection is dead or alive.
I came to know form one of my colleague that there is tool called EMC Control Center through which we can accomplish the same easily. But for time being it is not possible for some obvious reasons.
Please suggest if you have any suggestion to accomplish the above with minimum effort.
Thanks,
Regards
Kunal Bhadra


dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
January 7th, 2010 10:00
smw61811
45 Posts
0
January 7th, 2010 10:00
If you do a powermt display dev=all it will show you whether or not your paths are dead or alive.
Pseudo name=harddisk14
Symmetrix ID=0000000000
Logical device ID=0264
state=alive; policy=SymmOpt; priority=0; queued-IOs=1
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 port2\path0\tgt3\lun39 c2t3d39 FA 4aB active alive 1 0
5 port5\path0\tgt3\lun39 c5t3d39 FA 13aB active alive 0 0
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
1
January 7th, 2010 10:00
Kunal,
this works with Emulex HBAs, don't have any Qlogic at the moment. Download fcinfo utility from Microsoft
http://www.microsoft.com/downloads/details.aspx?FamilyID=73d7b879-55b2-4629-8734-b0698096d3b1&displaylang=en#filelist
Now run "fcinfo /ports" , ouput will looke similar to this. At this point you can scrub output from the "State" column with perl/vbscript ..whatever you like.
smw61811
45 Posts
0
January 7th, 2010 11:00
Sounded like he wanted to know from looking at powermt which is why I replied as I did. I might do it with symcli:
C:>symmask -wwn xxxxxxxxx list logins:
Symmetrix ID : XXXXXXXXXXX
Director Identification : FA-4B
Director Port : 0
User-generated Logged On
Identifier Type Node Name Port Name FCID In Fabric
---------------- ----- --------------------------------- ------ - ----- ------
XXXXXXXXX Fibre SERVERNAME PORT1 6e0900 Yes Yes
If logged in is 'No' the path is down.
Pilu_1978
9 Posts
0
January 8th, 2010 02:00
Hi SMW6181,
Thanks for your reply.
Whenever I run powermt display dev=all command it gives a huge output. It shows the status for all the LUNS.
Pilu_1978
9 Posts
0
January 8th, 2010 02:00
Hi Dynamox,
Thanks for your reply and sharing such a useful information. Does it generate any event in the event log. I am actually now more concerned to automate the same. My idea is to track the HBA card connection status through event log. Otherwise it is difficult to monitor every now and then. By the way we have Qlogic HBA card installed on the servers and also found that Qlogic SANsurfur FC Manager tool is installed on the server. Can we take any help from this tool to generate events.
Please let me know if you have suggestion.
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
January 8th, 2010 04:00
smw61811
45 Posts
0
January 8th, 2010 05:00
You can try this instead:
C:\Documents and Settings\sanmaint>powermt display
Symmetrix logical device count=12
CLARiiON logical device count=0
Invista logical device count=0
Generic logical device count=0
==============================================================================
----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
2 port2\path0 optimal 12 0 - 0 0
5 port5\path0 optimal 12 0 - 0 1
If all the I/O paths are dead for a path it's a fairly good indication that there's an issue with one of your connections.
The easiest way is probably the one Dynamox mentioned, or the one I mentioned about using symcli.
symmask -wwn XXXXXX list logins
Allen Ward
6 Operator
•
2.1K Posts
0
January 13th, 2010 08:00
Pilu_1978
9 Posts
0
January 13th, 2010 10:00
Hi Allen,
Thanks for your reply.
As I am not a storage guy so I do not have access to any switch management tools. May be storage admins have access to the switch management tool. But I need to monitor it from the windows box.
Thanks,
Regards
Kunal bhadra