UNSOLVED

APC1

updated

15 years ago

A

APC1

2 Posts

0

4357

June 30th, 2011 04:00

How to retrieve WWN numbers from multiple Windows hosts ?

Hello All,

Does anyone know of (or have) a script to retrieve WWN numbers from multiple Windows servers ?

I have 700+ SAN attached servers and being able to do this would be extremely useful.

Thanks

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1484

    0

    Posted June 30th, 2011 05:00

    psexec allows you to execute commands on remote windows servers and "inq -hba" will provide WWN. It's just a matter of putting this in a perl/vbscript and collect the info.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1484

    0

    Posted June 30th, 2011 05:00

    why not get them from the switch ?

    If you have to get them from the host, look into using psexec and inq utility.

  • APC1

    2 Posts

    1484

    0

    Posted June 30th, 2011 05:00

    Thanks, but I don't have access to the switch.  Only the server side.

    Just thought someone must have had to do this previously.

  • RRR

    6 Operator

    •

    5739 Posts

    1484

    0

    Posted July 1st, 2011 02:00

    I'd still try to get access to the switches and run a SAN Health (Brocade tool that also works on Cisco SANs).

    In Navisphere / Unisphere you can use the "connectivity status" or similar tools on other arrays.

    On the servers themselves "inq" (or the full blown EMCGRAB) does the trick as well.

  • JoeO2

    34 Posts

    1484

    0

    Posted July 8th, 2011 07:00

    If the Windows hosts are already on your SAN then you can retrieve the hba wwns' from the masking database in your ECC6\ECC6.1 Server with this command.

    symmask -sid xxyy list logins