Case
When (foldername) = "TEST" THEN "TEST"
When (foldername) = "PROD" THEN "PROD"
When (foldername) = "MODELES" THEN "MODELES"
When (foldername) = "BACKUP" THEN "BACKUP"
Else "Other"
End
What is the issue for me, please? Where can i found all options of "Grouping Expression" ?
Unfortunately, nowadays there is no such VM property, like a folder name, in the Group Expression.
So, in order to achieve what you’re after you have to:
1. Create four different BW groups. (Test, Prod, Modeles, Backup)
2. Create four different rules. (Test, Prod, Modeles, Backup)
3. In Rule Wizard select corresponding folders to which these rules should be applied. (Rule "Test" should be applied to folder "Test", etc.)
4. Assign rules to corresponding BW groups. (Rule "Test" should be assigned to group "Test", etc.)
That’s all.
Additionally, the abovementioned parameter (foldername) will be added to the VM Group Expression in VeeamOne v7.
How would I achieve the same results in veeamone v8?
Something like this?
Case
When (folder) = "TEST" THEN "TEST"
When (folder) = "PROD" THEN "PROD"
When (folder) = "MODELES" THEN "MODELES"
When (folder) = "BACKUP" THEN "BACKUP"
Else "Other"
End
Case
When ToUpperCase(folder) = "TEST" THEN "TEST"
When ToUpperCase(folder) = "PROD" THEN "PROD"
When ToUpperCase(folder) = "MODELES" THEN "MODELES"
When ToUpperCase(folder) = "BACKUP" THEN "BACKUP"
Else "Other"
End
Can you tell me what is returned as a value when you select just "Folder" in the grouping expression? Also are there any other subfolders in AD, CUST AD folder?
P.S. btw, can you try to run the same query, but in version 8?
This is not version 8, at least it is not the RTM code of v8. In the GA version we have a different icon for grouping expression wizard. Could this be a beta version by any chance? What is the build number of your installation?
Hmm... let's open the case and see why you have a different UI in Business View, maybe issues with categorization via folders is related to this one. In my lab, I have no problems with the expression above. Can you please let me know your case ID once you contact our technical team?
If you're already using vSphere tags to categorize your VMs and these tags are created for these VMs, then you can BV groups based on the tags as opposed to VM folders.
If you're NOT using vSphere tags and you're running on the latest vSphere version, then you can follow this tip to categorize your VMs based on VM tags.