Forum Discussion

dfowlkes's avatar
dfowlkes
Level 2
12 months ago

Intelligent Query Multiple vCenters

Hello, 

I'm working on setting up a policy for backing up vms using an intelligent query lookup. I'm wondering if it is possible to include multiple vCenters in the query and pull vms from more than one vCenter into one policy. 

I've been playing around with the query builder, but so far it only seems to want to show vms from the first specified vCenter I list in the query. 

I'm curious if anyone else has tried this and had any luck. 

3 Replies

  • Is it possible for you to share your query here? I assume that you are able to see VMs under each VCenter separately (that means credentials are added for each Vcenter).you need to make sure that you are using the operators correctly.
    take a look at below link if you did not see them yet:

    https://www.veritas.com/support/en_US/doc/21902280-127283730-0/v45261356-127283730

     

  • You have added all your VCenters in the Java UI so effectively if your VIP query is carefully written it will have  matches on each of the VC then they will backup. Where it can go wrong if you define a VC in the VMWare advanced options, then it will only return matches from that VC. As Kiyan stated share your VIP query so we can help.

  • I should use Advanced Mode in Query Builder like this:

    (vCenter Equal "vc1" OR vCenter Equal  "vc2")  AND Displayname Equal "myvm"

    In logic, the operator you entered requires parenthesis.