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

Add users to databases in Availability Groups

$
0
0

Hello,

I created a database.

On instance level I selected Security | Logins and added some users.

I granted the users a number of roles on the database I created.

I added the database to an Availability group. Now two replicas of the database are on two servers.

When I look on the server that is running the secondary replica the users have not been added to the users on instance level. Is that going to work fine after a failover?

Should I add the users to the Instance(s) of other cluster members before I restore the database? That would make sense.

I cannot find any documents that tell me about creating users in databases that have been added to an availability group.

Best regards,

Erik


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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