How to mirror DB between two VMs using APIs?
Is it possible to configure mirror of the DB between two VMs using APIs like that one? I assume, based on the description, it can be done but on the same instance but I'm not sure how to do that for two separate VMs. I know how to use IRIS portal and set up Mirrored Members connections but now trying to automate that process.
Thanks!
Discussion (3)0
Comments
Hi @Adam Raszkiewicz ! You can find here an example of a Mirroring using API developed by @Mario.Sanchez-Macias
Hi,
as always you can, but it's quite complex.
in order you should:
- create the db on server 1
- add it to the mirror
- backup the db on server1
- restore the db on server2
- bring it online
- do the catchup on server2
Everything is scriptable, but it can be complex because it involves 2 servers
I usually dismount and copy for 3, 4.