SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssis transfer login task on a mirrored database


ssis transfer login task on a mirrored database

Author
Message
bodhilove
bodhilove
SSC Eights!
SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)SSC Eights! (959 reputation)

Group: General Forum Members
Points: 959 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?
Steve Jones
Steve Jones
SSC Guru
SSC Guru (151K reputation)SSC Guru (151K reputation)SSC Guru (151K reputation)SSC Guru (151K reputation)SSC Guru (151K reputation)SSC Guru (151K reputation)SSC Guru (151K reputation)SSC Guru (151K reputation)

Group: Administrators
Points: 151820 Visits: 19455
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
My Blog: www.voiceofthedba.com
Leyton Murray
Leyton Murray
Grasshopper
Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)Grasshopper (13 reputation)

Group: General Forum Members
Points: 13 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.
nawillia
nawillia
Mr or Mrs. 500
Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)Mr or Mrs. 500 (523 reputation)

Group: General Forum Members
Points: 523 Visits: 554
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?
JoeMoyle1
JoeMoyle1
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 97
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search