Start a Conversation

Unsolved

This post is more than 5 years old

3124

December 23rd, 2015 14:00

How to genarare a report of Virtual Machine with Datastores/VMDK deatils

Hi All,

I am trying to generate a report of  Virtual machines with  Storage disk mapping in VIPR SRM 3.7 and could nt see any pre-defined view to generate this ?

Regards

Srini Adusumalli

48 Posts

December 23rd, 2015 18:00

You have the interpretation of the report pretty wide open, perhaps you can let us know how you imagine the report would look, what columns do you expect to see, how do you want the storage disk mapping represented in the report. If we know more we can maybe direct you to a report that already exists.

Most of the time in the OOB reports for VMs there is a "related LUNs" report that allows you to drill down to the array.

10 Posts

January 30th, 2016 17:00

I would also be interested in such a report.

There are DataStore reports and separate VM reports but now that match the two together.

What I could use is a combination of the 2 in order to use for vMotion migrations.

Something like:

ESXCluster->Datastore->StorageArray->VM's

That would help a migration effort and allow us to notify affected VM's based on each vMotion of a Datastore lun.

And examples or help in writing that code would be appreciated.

I'll post up the resulting code and report for others once complete.

20 Posts

February 2nd, 2016 03:00

Hello,

Sound strange but you would need to do it in two steps, expansion from VM to datastore and then datastore to VM. Like you would do to do mapping from VM to storage LUN.

Should looks like that:

Capture.PNG.png

With for VM expansion

  • filter set to devtype=='VirtualMachine'
  • expansion set to : device, deviceid

For Expansion VM to datastore

  • no filter
  • expansion set to: linkedto

For Expansion datastore to VM

  • filter set to devtyp=='VirtualMachine' & parttype=='File'
  • expansion set to: device

For Expansion on part

  • no filter
  • expansion set to: part

Regards,

JM

1 Rookie

 • 

68 Posts

March 11th, 2016 14:00

If you are looking at a report like below, you can use the attached report definition.

Report.JPG.jpg

1 Attachment

42 Posts

March 14th, 2016 09:00

Hi Srini,

Have you reviewed the Path Details report for a VM, it has the information you are looking for.

VM PathDetails.PNG.png

Hope this helps.

-Gayatri

No Events found!

Top