SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Keeping roles and security in sync mirrored DB's
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kash786
Starting Member

1 Posts

Posted - 06/12/2013 :  03:59:01  Show Profile  Reply with Quote
Hi

What is best way to keep roles and security in sync on mirrored systems? (both Instance and DB logins)

What do people have set-up to ensure that in the event of a disaster, users can log into the switched DB?

Thanks

tkizer
Almighty SQL Goddess

USA
37143 Posts

Posted - 06/14/2013 :  14:25:52  Show Profile  Visit tkizer's Homepage  Reply with Quote
Anytime I create a new login on the principal server, I create it with the same sid on the mirror server. For systems where the application creates SQL logins, I use a script like this to keep them in sync: http://weblogs.sqlteam.com/tarad/archive/2008/06/24/How-to-transfer-SQL-logins-between-SQL-Server-2005-instances.aspx

Anything else done at the instance level is done manually, such as jobs, etc. Bill Graziano, owner of SQLTeam, has a codeplex utility that helps with this: http://scriptsqlconfig.codeplex.com/

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000