To locate RDM on VM/Hots

how to locate if RDM is there on perticuler vm or host?

or any way to chek for all ther rdms under all host/vms managed by vc?

How to fetch all the LUN Detail for diff hosts..there in vc..with current space status.

how to check for id..used to create snapshot..since a long time bfeore
LVL 1
patronTechnical consultant Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will have to complete RDM and LUNs by LUN Id.

If you have not already documented this, depending upon your SAN, e.g. NetApp, EqualLogic, EMC, these have additional vCenter Server Plugins and Software that aid in the Mapping from vCenter.

LUN information, is best achieved by using Powershell.

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI

http://powergui.org/index.jspa

and

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/
0
patronTechnical consultant Author Commented:
m using powergui here..but how i can fetch detail for rdm..on diff vm/host..?
any specific  plugin..method..we have to use?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you checked VMware Community Pack?

What is your SAN, do you have the SAN software installed?
0
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

coolsport00Commented:
Well, first off, RDMs are solely "pointer" files and, unless you explicitly done so when adding an RDM to a VM, those pointer files are stored in the same directory as the VM's .vmx file.

In doing a lil bit of Googling, I found a few articles you may be able to play with to attain what you need. I'd start here:
http://virtuallyhyper.com/2012/06/powercli-script-identify-which-vm-using-rdm-lun-identified-naa-id-lun/
Then, look at this VMware KB: http://kb.vmware.com/kb/1014953

Regards,
~coolsport00
0
coolsport00Commented:
Another KB that may be worthwhile: http://kb.vmware.com/kb/2001823

~coolsport00
0
patronTechnical consultant Author Commented:
we have brocade san fabric switches..to connect with netapp storage box..but we dont have any access on that/taken care by san guys..only

we are supprting for vm environment..so any way to locate in VC/GUI..or any commnad line/script in gui..to locate only RDM
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do you have any of the NetApp Plugin software, which would help you.
0
patronTechnical consultant Author Commented:
i just found..one good tool named RVT to locate RDM.../but how can we locate rdm in VC/VM/Host?


and is there any other specific method for VM's svmotaion in case of RDM is there on LUN/VM
0
patronTechnical consultant Author Commented:
m using that vmware commmunity pack..but no option for RDM.

Thanks for all your help on this..now i can work with this RVT tools..

but m looking for any option if there in VC GUI/command line to locate
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you could try, this will show all LUNs attached to Host Server.

esxcfg-mpath -m

esxcfg-mpath -l
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patronTechnical consultant Author Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.