VMware Cloud Community
jonathanvfodfin
Contributor
Contributor

VM list with Drs/VM groups

Hi,

I'm trying to make a report which gives a list of VM's with all the useful information.

We are using VM/Host rules in our environement (stretched cluster) so we have VM's in VM groups / DRS groups.

But that is not a property of a VM, to get this information, you have to check the groups at the cluster level and search for the VM in the groups.

I could do it in Powershell but I couldn't find a way to do it in vROps.

Is there a way in the report to get a field that gets filled if the VM is a member of another object like VM groups ?

It would also be useful for affinity rules.

Thanks,

Reply
0 Kudos
4 Replies
GayathriS
Expert
Expert

Could you please be more precise on what is your ask from vrops ?

regards

Gayathri

Reply
0 Kudos
jonathanvfodfin
Contributor
Contributor

"Is there a way in the report to get a field that gets filled if the VM is a member of another object like VM groups ?"

In a view which lists the virtual machines, I'd like to get a column that says the VM groups that a VM is a member of.

But I couldn't find that as a VM property, probably because the VM group (in vSphere client) or DRS group (in vRO and Powershell) is an object linked to the Compute Cluster and in Powershell you have to do a lookup in each group to see if the VM is in it.

Does vROps know the "VM groups" and can I display it as a column for a VM ?

Reply
0 Kudos
dtaliafe
Hot Shot
Hot Shot

vROps doesn't do this out of the box.  One way you could do this is to tag the VMs with the DRS group they are in.  Then the tags would be properties of the VMs.

Reply
0 Kudos
GayathriS
Expert
Expert

Sorry to say but this feature is not available  with vrops .

Please mark this as "correct" or " Helpfull" if this answers your query.

Regards

Gayathri

Reply
0 Kudos