UNSOLVED

indyemcuser

updated

18 years ago

I

indyemcuser

78 Posts

0

628

March 25th, 2009 05:00

Documenting RDM mappings

I am trying to document our VM ESX \ Celerra NS20 storage. I have several VMs that are using RDMs. By looking at my VM properties, is there a way tell which LUNS are being used for RDMs. I understand that when I look at the VM properties of the hard drives it will tell me which VM path it is using (vmhba1:0:14). The way I have been doing this is finding the path of the hard drive, vmhba1:0:14, going to the server configuration and finding that path and document the size, go into Navi and find a LUN that equals that size. Once I find it, I know which LUN is using RDM. Is there a better way? Is there a LUN ID number that is used by both ESX and Navi?

Thanks
  • 250

    1

    Posted March 25th, 2009 06:00

    Duncan Epping has a PowerShell a simple power shell script that maps VMs to RDMs. Check out his post on the subject.

    http://www.yellow-bricks.com/2008/11/03/which-vm-is-connected-to-an-rdm/

    Let us know if that is what you are looking for.
    ~Aaron
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    250

    1

    Posted March 25th, 2009 06:00

    or the rdm.sh Skript thats provided here:
    http://engineering.ucsb.edu/~duonglt/vmware/
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    250

    0

    Posted March 25th, 2009 06:00

    another comment:

    vmhba1:0:14 is similar to scsi controller/target/lun ID¿s. So the 14 is the LUN ID.

    With iSCSI on the NS20 this is the actual LUN number.

    If this is the FC side, then this number is the HLU or Host ID in the storage group
    .
  • indyemcuser

    78 Posts

    250

    0

    Posted March 25th, 2009 07:00

    Thanks, that was helpful.

    I have a Navi question regading LUN names. Can I change the names of the LUNs in Navi without issue? I tested with a test LUN and it seemed to work ok, but that LUN was not in use. Since the properties allows the name field to modified, I assume I can rename without issue.

    Thanks
  • indyemcuser

    78 Posts

    250

    0

    Posted March 25th, 2009 10:00

    Never mind I figured it out.

    Navi host ID = ESX LUN number.

    Thanks
  • indyemcuser

    78 Posts

    250

    0

    Posted March 25th, 2009 10:00

    I was able to find the lunUuid for my RDMs and match that number with the Navi Unique ID number. That script worked well. Now I have a similar question regarding LUNs for the VMDKs. I have a couple of VM that are running under a LUN that I can't obviously match up to the Navi LUNs. Again, is there a way to match the VMDK LUNs to Navi?

    Thanks
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    250

    0

    Posted April 29th, 2009 02:00

    also take a look at the EMC Storage Viewer vCenter plugin available for free from Powerlink

    http://virtualgeek.typepad.com/virtual_geek/2009/04/where-to-get-the-emc-storage-viewer-vcenter-plugin.html