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

Mirroring with Replication Expand / Collapse
Author
Message
Posted Tuesday, December 3, 2013 2:12 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, July 17, 2014 2:09 PM
Points: 70, Visits: 320
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?
Post #1519410
Posted Tuesday, December 3, 2013 2:34 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, July 1, 2014 9:14 PM
Points: 564, Visits: 851
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
Post #1519415
Posted Wednesday, December 4, 2013 8:39 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, July 17, 2014 2:09 PM
Points: 70, Visits: 320
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.
Post #1519665
Posted Wednesday, December 4, 2013 8:49 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, July 17, 2014 2:09 PM
Points: 70, Visits: 320
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.
Post #1519670
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse