VMWare vRealize Operations: Create Custom View and Report to Identify Virtual Machine’s with Mounted ISO

Have you ever needed a quick way to discover any and all virtual machines in your environment that have a mounted ISO?  An example of this would be you are going to be performing an ESXi or VXRail upgrade and need the ability to migrate VMs from one host to another as part of maintenance mode.  Below I will walk you through creating a metric to identify VM’s with a mounted ISO and how to turn that metric into a report that can be run.

How to Create the Metric

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 1; the step instructs the user to go to Dashboards > Views > New View.

Go to Dashboards > Views > New View

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 2; the step instructs the user to go to Dashboards > Views > New View.
Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 3; the step instructs the user to go to Dashboards > Views > New View.

Provide the View a name and description to help find in the future.

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 4; the step instructs the user to select list under Presentation.

Select list under Presentation

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 5, showing ©. Select prewew source; the step instructs the user to select list under Presentation.

Under subject select vCenter Adapter > Virtual Machine

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 6, showing Select data; the step instructs the user to select list under Presentation.

Change Metrics to Properties

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 7; the step instructs the user to navigate to Summary > Guest Operating System > Guest OS Full Name.

Navigate to Summary > Guest Operating System > Guest OS Full Name

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 8, showing Select oats virtual Machine; the step instructs the user to navigate to Summary > Guest Operating System > Guest OS Full Name.

Then drag and drop that property into the view plane

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 9; the step instructs the user to navigate to Summary > Guest Operating System > Guest OS Full Name.

This section is good and next we click on Time Settings

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 10, showing Time Settings; the adjacent article text explains that this section is good and next we click on Time Settings.

I leave it at 7 days

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 11, showing Time Settings; the adjacent article text explains that this section is good and next we click on Time Settings.

I leave Breakdown by blank

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 12, showing Time Settings; the adjacent article text explains that how to Create the Metric.

We need to change Metrics to Properties

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 13, showing Time Settings; the step instructs the user to navigate to Configuration > Security > Disconnect CD-ROM.

Navigate to Configuration > Security > Disconnect CD-ROM

Under Select put : is

Under Property Value type: false

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 14, showing Time Settings; the adjacent article text explains that then click save.

Then click save

How to Turn Metric into Report

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 15; the adjacent article text explains that then click save.

On the left plane you can click Reports

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 16; the step instructs the user to select New Template.

Select New Template

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 17; the step instructs the user to select New Template.

Give the Report a name and description

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 18; the step instructs the user to select New Template.

Filter for the keyword ISO and select the View we created earlier and drag it to the right plane

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 19; the step instructs the user to give the Report a name and description.

I select both PDF and CSV and click Save

Run the newly created report

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 20; the step instructs the user to run the newly created report.

Click Run

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 21, showing Select an Object; the step instructs the user to select the Object - this could be a datacenter, cluster, vCenter or the entire vSphere World.

Select the Object – this could be a datacenter, cluster, vCenter or the entire vSphere World.

Then Click OK and the report will run

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 22; the step instructs the user to select the Object - this could be a datacenter, cluster, vCenter or the entire vSphere World.

It will say Running until it completes then click on generated reports

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 23; the adjacent article text explains that it will say Running until it completes then click on generated reports.

Here is your report

Screenshot from the vRealize Operations Mounted ISO View and Report walkthrough at step 24; the adjacent article text explains that you have the ability to download the PDF or CSV depending on how you like to perform your reporting.

You have the ability to download the PDF or CSV depending on how you like to perform your reporting.  I always download both.

Summary:
As you can see there are a lot of parts to generate this custom report but it is worth it when it you need to pull this information rapidly.  As always, I hope y’all found this helpful.

Continue reading

VMWare vRealize Operations: Migration Planning

Explore another guide in this topic and build on what you have just read. Read the article

Leave a Reply

Discover more from Digital Thought Disruption

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

Continue reading