Solved

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

Posted on 2014-04-15
13
777 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 119
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 119
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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
 
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 119
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 119
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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 convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
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:

777 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