?
Solved

How can I  tell which vmware data store belongs to which lun on the san?

Posted on 2014-04-15
13
Medium Priority
?
876 Views
Last Modified: 2014-04-18
Is there a way in VMware esxi 5.0 to tell what lun a VMware data store belongs to on a san?
0
Comment
Question by:vmich
[X]
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
  • 5
  • 5
  • 2
13 Comments
 
LVL 123
ID: 40001993
You can, it's easier if you install your SAN tools, that will then map, LUNs to Datastores.

what SAN are you using Dell, NetApp or EMC?
0
 
LVL 1

Author Comment

by:vmich
ID: 40001995
EMC VNX
0
 
LVL 123
ID: 40002002
If you install the EMC vCenter Server Plugins, it will Map LUNs to Datastores, and you will easily be able to see the relationship.

You can use this PowerCLI to map datastores to naa, if that helps

Get-Datastore |Where-Object {$_.ExtensionData.Info.GetType().Name -eq "VmfsDatastoreInfo"} |ForEach-Object {  if ($_)  {    $Datastore = $_;    $Datastore.ExtensionData.Info.Vmfs.Extent |    Select-Object -Property @{Name="Name";Expression={$Datastore.Name}},      DiskName  }}

Open in new window

0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 1

Author Comment

by:vmich
ID: 40002009
Well the luns and data stores are already created and setup. I just need to now go back and see which lun goes to which datastore.
Is this what I need to do that?
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 40002019
One way to do it is to see the Naa numbers from the configuration>Storage and then map it on the storage array side too using unisphere.
0
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40002028
Yes, run the PowerCLI and then download the Unisphere Plugins and match the datastores.

Install the EMC VSI Storage Viewer v5.5 in vCentre. You can download the VSI Storage Viewer 5.5 from https://support.emc.com/downloads/32161_VSI-Series.  

When its installed, you'll see the VMs populated in VMware and the storage relationships will be displayed in vCenter Server!

Much Easier!
0
 
LVL 1

Author Comment

by:vmich
ID: 40002035
Do I just install it on my vctr server and then run it from there?
0
 
LVL 123
ID: 40002043
You install on vCenter Server, and it will appear as a Plugin, under Solutions and Applications.
0
 
LVL 1

Author Comment

by:vmich
ID: 40002103
Ok I will do that and let you know how it works for me..
Thanks
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 40002131
Make sure you match the numbers perfectly. ITs a little tricky as they vary by very small number of digits.
If you do it wrong you might end up playing around with a wrong datastore.
0
 
LVL 1

Author Closing Comment

by:vmich
ID: 40003819
CLI...
0
 
LVL 123
ID: 40008344
Selected Answer http:#a40002028 is the correct Answer, I see no reason to change it.

Two solutions have been provided Inspect the datastores, with the included PowerCLI Script, and the EMC Unisphere Plugin will may VMs to Datastores with ease.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
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…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
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…

649 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