Solved

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

Posted on 2014-01-18
4
436 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 120

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
security id structure is invalid 2 83
Windows 2016 Storage Pool Issue 3 44
ESXI 5.5 image can't expand the hard disk 6 49
Cloud Lab Environment for Company 5 37
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

685 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