09-02-2019 07:57 AM
Hi all,
I will explain my question in detail using an example.
Tthere is a site A and a site B. Site A contains VM A, Media-Server A, MSDP A. Site B is built similarly to A. Virtual machines can migrate B > A, or A > B. The cause may be crash, or other reasons provided by fault tolerant technology. Backup policies are configured for each site. The policy points to the corresponding MSDP site. Thus, backup traffic does not go beyond the perimeter of the site and has good performance. See Figure 1.
Сonsider the problem. See Figure 2.
VM B automatically migrates from site B to site A. Media-Server B continues to run backup VM B sessions on MSDP B. Negative effect: increased load on the communication line between sites, low backup speed.
Question. How to automatically backup virtual machines, while eliminating cross-copying? Keep in mind that machines can migrate between sites.
Andrii
09-02-2019 10:55 AM
Hello
Use the VIP tagging? Example query for site A: powerstate Equal "poweredOn" and Cluster Equal "sitea_cluster" and tag equal "backmeup"
simialr query for site but cluster name to match site B cluster name... or datacenter...
Look here for more about VIP
09-04-2019 05:31 AM
Thank you for your reply. I configured policies through the VMware Intelligent Policy query.
Example.
Police Site A: (Storage MSDP A)
VMDNS Name AnyOf "VM A. domain.name", "VM B. domain.name"
AND ESXserver StartWith “a”
AND Powerstate Equal poweredON
Police Site B: (Storage MSDP B)
VMDNS Name AnyOf "VM A. domain.name", "VM B. domain.name"
AND ESXserver StartWith “b”
AND Powerstate Equal poweredON
Actual ESXsever names allow you to use conditions ... ESXserver StartWith ...
But there is a drawback. If all VMs of site B are moved to site A, Police A will work fine. Police B will fail with the error “sheduler found no backup due to run” (200).
09-06-2019 01:11 AM
Hey
Create dummy vm - which never will be moved... or ignore this error as it is not an error at all...
09-06-2019 02:18 AM
Thank you for your reply
I agree. This can be done