vRealize Operations Manager (vROps) 8.0 – How to create a report to show virtual machine’s with mounted ISO

One of the custom views I like to create is the ability to see which VMs in my clusters have a mounted ISO file.  There are many justified reasons to mount an ISO file via the CD-ROM on a virtual machine.  However, this prevents the VM from being able to vMotion.  This can impact things like DRS or the ability to vMotion a VM while trying to put a host into maintenance mode for an upgrade.  Below are the steps I took to create a custom view and report to show all the VM’s with mounted ISO files.

Pre-Req:
If you haven’t already go to Home > Troubleshoot > Compliance and enable vSphere Security Configuration Guide
—If you do not do this then you won’t get the security metrics required to create the custom view.

Step 1.  Create the view

vROps Dashboards area with Views selected to begin creating the mounted ISO report view.

New view

vROps new view editor assigning a name and description to the mounted ISO view.

Give it a name like -> VM’s with Mounted ISO

vROps new view editor with List selected as the presentation type.

List -> we just need to see a list of the VM’s, nothing fancy here.

vROps view editor with Virtual Machine selected as the subject for the mounted ISO view.

Select vCenter > Virtual Machine for subject

vROps view editor selecting virtual machine data properties for the mounted ISO view.

Change metric to properties

vROps view editor adding the Guest Operating System Full Name property to the data columns.

Drag and drop Guest OS Full Name into the data section

vROps view filter initially set to metrics before changing the filter to properties.

Go to Filter – Change Metric to Properties

vROps property selector showing the Disconnect CD-ROM field used by the mounted ISO filter.

Configuration > Security > Disconnect CD-ROM
You can also filter by disconnect and select CD-ROM

vROps view filter using virtual machine properties to identify mounted ISO files.

Select “is”
Select “false”
Then “Save”

Step 2. Create the report

vROps Reports page used to create a new report template.

Dashboards > Reports > New Template

vROps new report template with a name and description for the mounted ISO report.

Give the Report a name and description that will make it easy to filter by in the future

vROps report template searching for the mounted ISO view to add to the report.

Use the filter to locate the view we created earlier

vROps report template with the mounted ISO view added to the report and sample data displayed.

Double click the view to move it over
You can play around with format and layout or you can click save to create the custom report
Finally, you can now run the report against the object you desire.

Summary:
I find this report to be very useful and time saving when doing things like upgrade prep.  I understand if you aren’t aware of where to look for all the little details it can be tedious to create this view and report.  As always I hope this article helps anyone out there who has been having struggles generating a report like this.

Leave a Reply

Discover more from Digital Thought Disruption

Subscribe now to keep reading and get access to the full archive.

Continue reading