Solved

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

Posted on 2014-04-15
13
761 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
  • 5
  • 5
  • 2
13 Comments
 
LVL 118
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
 

Author Comment

by:vmich
ID: 40001995
EMC VNX
0
 
LVL 118
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
 

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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

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

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
 

Author Closing Comment

by:vmich
ID: 40003819
CLI...
0
 
LVL 118
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now