Tags Grouping Expression when VM’s have multiple tags

Business categorization for your virtual environment

Tags Grouping Expression when VM’s have multiple tags

Veeam Logoby TimeKnight » Wed Feb 08, 2017 4:56 pm

I am try to create groups based on the administrator of a VM. I have a category of tags called “VM Admin” and each VM is tagged with its Administrator. Here is my grouping expression:
CASE
WHEN Tag("VM Admin") = "Andy" THEN "Andy"
WHEN Tag("VM Admin") = "John" THEN "John"
WHEN Tag("VM Admin") = "Craig" THEN "Craig"
WHEN Tag("VM Admin") = "Brian" THEN "Brian"
ELSE "Unknown Admin"
END

My groups are all populated nicely except when a VM that has two administrator, because it then has two “VM Admin” tags. I would like to have the VM listed in both (or somethings three) administrators list. Is there a way to do this?
BTW I am using VeeamOne 9.5 update 1

Thanks,
Brian
TimeKnight
Enthusiast
 
Posts: 27
Liked: never
Joined: Thu Jan 19, 2012 3:35 pm
Full Name: Brian Weinberg

Re: Tags Grouping Expression when VM’s have multiple tags

Veeam Logoby Shestakov » Thu Feb 09, 2017 3:03 pm

Hello Brian,
There is "IndexOf" method which searches for the value in the string(analog of "contains"). I would either try using this or just create static groups with simple rules instead of dynamics, since they will be sufficient for your case.
Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tags Grouping Expression when VM’s have multiple tags

Veeam Logoby Vitaliy S. » Thu Feb 09, 2017 3:36 pm

VMs cannot belong to the different groups at the same time within the same category, it is currently by design. In your case, it seems like another category will be required. Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19570
Liked: 1104 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Tags Grouping Expression when VM’s have multiple tags

Veeam Logoby Shestakov » Sat Feb 11, 2017 9:16 pm

Vitaliy is correct, we are going to eliminate the restriction in future versions though.
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov


Return to Business View



Who is online

Users browsing this forum: No registered users and 2 guests