How does ADManager Plus use same database during failover?

How does ADManager Plus use same database during failover?

Can you please explain how ADManager Plus can use the same database in the event of the primary server going offline?
I don't see where this is configured during HA setup.
By setting up HA, is there something in the background that keeps the two servers databases in sync?

                New to ADSelfService Plus?