Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2014-01-18
4
435 Views
Last Modified: 2014-01-19
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
0
Comment
Question by:sunhux
  • 2
4 Comments
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 190 total points
ID: 39790525
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
 
LVL 55

Assisted Solution

by:andyalder
andyalder earned 310 total points
ID: 39790836
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
 

Author Comment

by:sunhux
ID: 39790958
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
 
LVL 55

Accepted Solution

by:
andyalder earned 310 total points
ID: 39790982
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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question