How to check LUNs mappings are still intact/mounted after maintenance

We have hundreds of LUNs being mapped to numerous
ESXi hosts (running Windows, Redhat & Solaris x86) VMs.
I heard from my old-time colleague we have Redhat KVM
(I suppose this is a hypervisor) too.

After one of the monthly maintenance to upgrade firmware
of Brocade encrypted switches, a number of LUNs went
missing (or no more mounted by the hosts).  I don't quite
know the details but I heard about 30% of the LUNs were
no more mounted by the hosts & need to be manually
re-mapped (or LUNs re-presented)

Is there a quick way to verify?  Just by issuing a brocade
command (we have 8 Brocade switches) before the
maintenance & after the maintenance & then compare?
What's the FOS Brocade command?  (configshow or
supportshow or ?)

We'll need this quick check for the long run
sunhuxAsked:
Who is Participating?
 
andyalderCommented:
Try the configUpload first, you don't need any parameters for that and hopefully it will list the cryptographic info which will have all the encrypted LUNs listed.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
On ESXi, you can issuse an esxcfg-mpath command to check the LUNs attached.

You can also use fabricshow on a brocade switch to show associated WWNN, which will be the FC HBA WWNN in your servers.

you can also check the brocade servers using show flogi database.

or nsallshow or nscamshow (depends on switch and firmware version)
0
 
andyalderCommented:
With normal switches I don't think there's much LUN level information but with the encryption ones there is, cryptocfg --show -LUN <target>. configupload might also list the whole thing out for you.

Note I haven't played with the encryption switches so I'm guessing a bit, they scare me since if you make any mistakes you can end up sending a mix of encrypted and unencrypted data to the LUN which corrupts it beyond recovery.
0
 
sunhuxAuthor Commented:
Thanks Andrew & Andy.

What's the exact command or commands below (was not too clear in Andy's post):
>cryptocfg --show -LUN <target>. configupload
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.