Creating Users on secondary server in log shipping

倾然丶 夕夏残阳落幕 提交于 2019-12-04 16:33:33

Ali,

Of course I am crafty ...

Check out these articles.

http://technet.microsoft.com/en-us/magazine/2006.05.sqlqa.aspx http://blogs.msdn.com/b/reedme/archive/2009/04/24/log-shipping-database-snapshots-bummer-dude.aspx

Database mirroring is a better solution since you can create a snapshot and report off that.

However, both mirroring and log shipping have the database in read only state. Therefore, you can not change the orphaned users.

The best way is to make sure your login's on both servers match. Therefore, orphans will not occur.

I your case, you might have to remove log shipping, create the login's on the DR server, drop the database, reseed the DR server with a backup and restart shipping.

In this area, I am not speaking from experience since I always used clustering with a SAN. Please test this out in a lower environment to work on any gotchas.

My upcoming project will be using Always On (with 1 primary, 1 secondary) = mirroring if synchronous or log shipping if asynchronous. But Always On allows for read only secondaries, which is nice.

Please write back on how you make out. I am curious.

Take care my friend.

J

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!