Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Mirroring with Replication


Mirroring with Replication

Author
Message
lmacdonald
lmacdonald
SSC-Enthusiastic
SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)

Group: General Forum Members
Points: 109 Visits: 513
I read an article called ReplicationAndDBM.docx maybe some recognize it?

Any way I followed the steps and whenever the publication fails over to it's mirror, the publication says retrying in the replication monitor, and if I refresh the publisher the publication disapears from the screen. If I fail back, they reappear and replication continues. The only thing it says to do is add the PublisherFailoverPartner parameter to all the agents involved. I Failed over before setting up the parameter, and it did the same thing so it's like it's ignoring the parameter.

This is the setup I have.

sqltest01 - Publisher/Principal
sqltest02 - Mirror
sqltest03 - Witness/Distributor/Subscriber

I have the publisher database mirrored between 01 and 02, the subscribing one is not mirrored and is on03.

So for the PublisherFailoverPartner I put in sqltest02. I know there is a lot more information to include. I pretty much just used the defaults when I setup transactional replication. Is there something else I need to do besides the failoverpartner parameter? Or is there another whitepaper I could follow?
Keith Tate
Keith Tate
SSChasing Mays
SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)SSChasing Mays (614 reputation)

Group: General Forum Members
Points: 614 Visits: 979
I have used that same whitepaper with great efficacy. I would double check that you have both publishers (principal and mirror) configured to use the same distributor with identical settings. Also make sure that the profile you setup to use the PublisherFailoverPartner is the configured profile for the agent (Log Reader).



Microsoft Certified Master - SQL Server 2008
Follow me on twitter: @keith_tate

Forum Etiquette: How to post data/code on a forum to get the best help
lmacdonald
lmacdonald
SSC-Enthusiastic
SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)

Group: General Forum Members
Points: 109 Visits: 513
Well shoot. I guess I will have to try following it again for the third time. The example uses four servers, I only have 3 to work with.

I have checked and both publishers are using the same distributor. I used sp_helpdistributor on both and all values returned matched. How could be setup differently? When creating a publication you only have to do that once so it would be impossible to setup it up differently. The same for the subscription, I only have to set that up once.

Do you know if I have to use the fqdn when specifying the partnerfailover value? I have just been using the hostname.
lmacdonald
lmacdonald
SSC-Enthusiastic
SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)SSC-Enthusiastic (109 reputation)

Group: General Forum Members
Points: 109 Visits: 513
Ok well that's just annoying.

I failed over one more time before tearing down replication to start again and now it's working. I hadn't changed anything. Thanks for the tips any how.
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