Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

How to sync logins and passwords between the instances in Always ON availability groups

$
0
0

We have a 3 node cluster with Node 1 being Primary, Node 2 being secondary and Node 3 is DR as well as read-only secondary. If Node 1 is having issues then we will switch the primary to any other node.

We have a process to copy logins between all 3 instances using SQL agent job. This process use sp_help_revlogin to copy all the logins from primary at a given point in time. This will not help if instance is failed over to node 2 or 3 before this job runs.

If some one changes the password in primary and when the instance is failed over to node 2 or 3, they will not be able to connect because the password is not replicated.

Can some one suggest a way to replicate the changes to logins to other secondary instances in availability groups?

Thanks in advance.


Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>