Is there a way to identify a host belonging tohba on symmetrix arrays? What I see from symmaskdb list database is list of host HBA ports. So is there a way to identify the host to which the zoned hba belogs?
I have a pair of scripts that help manage issues like this.
The first one takes the output of symaccess list logins, and merges it with the output of symaccess list -type initiator. The output shows the initiator group associated with each login instead of just showing the WWN. It also makes note of hosts that are logged into a VMax FA port that are not part of an initiator group, which could be an indication of problems in your zoning. And also makes note of initiators that are defined in an initiator group that are not logged in any where. This could be an indication of a problem that is keeping a path from logging in, or it could be that you need to do some clean up of unused initiator definitions.
The next script approaches things from the SAN fabric point of view. It merges the output of "switchshow" and "zoneshow" and puts the alias name for a given WWN next to the port in the switchshow output. It also does cross checking where it will warn about hosts that are connected to the switch without having an alias, and also warn about aliases that are defined but are not logged in.
The script assumes that you have the SYMCLI_SID environment variable set. So that is where the first error message came from... then since the symaccess command failed, it didn't create the XML output, and that is where the "file does not exist" output came from.
Try setting SYMCLI_SID to the SID of the VMax that you want to run the report against.
But your error does show that I need to improve the documentation on it and add some error checking in case the symaccess commands fail so that they put out a better error message.
Be my guest, the more users the better. Feel free to post feedback. I know how I use them... So I know they work for me. But when other people use them in other environments, I get to learn how to improve them.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
1219
0
Posted May 11th, 2012 21:00
some shops will assign meaningful names to the initiators, that you can see when you run
symmask list logins -sid 123 -dir ALL
if this shop does not do it you will need to look at your zoning and figure out if your WWN matches a particular zone or alias