Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssis transfer login task on a mirrored database Expand / Collapse
Author
Message
Posted Wednesday, January 28, 2009 6:21 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, November 23, 2010 11:36 PM
Points: 305, Visits: 888
Hi Folks,

can you use the transfer login task on a mirrored database. My main concern is that the database is in restoring mode and if a logins default database is not a system database the transfer would fail. Can anyone shed light here?
Post #645535
Posted Thursday, March 26, 2009 9:17 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 12:38 AM
Points: 33,267, Visits: 15,436
Logins do not transfer to a user database. They exist only in master. The task will work to the mirror server as the logins move to the master database.

Users are transferred automatically using the mirror process.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #684253
Posted Wednesday, October 14, 2009 11:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, July 17, 2014 9:04 AM
Points: 3, Visits: 170
There is an issue that if a database has a default other than the master you will get tossed the error. I have not been able to work around this. If some one has an idea please fill me in.
Post #802962
Posted Thursday, October 15, 2009 7:55 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: 2 days ago @ 8:25 AM
Points: 101, Visits: 477
For our DR, we use mirror db's. Part of the DR plan is keeping the Logins up to date on the mirrored server. For example, my dbs are mirrored. When i create a new login and db user, the db user is mirrored over but not the login. So we have scripts that creates missing logins and maps the logins to the db user. We do this during DR testing but not regularly. Anyone else use a better technique?
Post #803456
Posted Friday, March 25, 2011 11:25 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, September 4, 2014 8:18 AM
Points: 3, Visits: 75
I've created a job with two parts that runs on the principal. Part one generates a script that creates/synchronized logins. Part two copies it over to the desktop of the Public user on the mirror. At least that way if any developers forget to notify me of logins that need created or synchronized I have a script sitting on the desktop of anyone who can log onto the server that they can run and quickly synchronize any that may have been missed.

The only time it has actually mattered is when the developers are still using SQL logins and made the default database for the login the database to be mirrored. In that case we can't synchronize ahead of time.

Joe Moyle
Post #1084233
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse