Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL SERVER Peer to Peer Transitional Replication Error

Posted on 2010-11-11
8
Medium Priority
?
650 Views
Last Modified: 2012-05-10
I am trying to Setup a Peer to Peer Transitional Replication between 2 SQl SERVER 2008 EE Servers.

Servers : PRTRWEBSERVER and PRTRESCRMSERVER

I followed the steps as described in the Microsoft article :

http://technet.microsoft.com/en-us/library/ms152536.aspx

I have never setup replication before and so i am stumped on the errors I am getting right now.

Agent and Publisher Security setting I gave as the Domain Administrator (PRTR\Administrator)

Please see attached Error Logs.
 PRTRWEBSERVER Error Logs PRTRESCRMSERVER Error Logs
0
Comment
Question by:isaackhazi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 12

Expert Comment

by:NormanMaina
ID: 34118363
can you break it down further...am just trying to understand it.

Between PRTRWEBSERVER and PRTRESCRMSERVER

1.did you configure both servers as distributors?
2.did you configure both serves as publishers?
3.did you configure a topology and added the two nodes?
4.do all databases that participate in peer-to-peer replication contain identical schema and data?
5.Publications must allow schema changes to be replicated. (This is a setting of 1 for the publication property replicate_ddl, which is the default setting.)- have you done that?
6.Have you ensured that there are no Row and column filtering?

Cross check with the below guide which is easier to understand:
http://msdn.microsoft.com/en-us/library/ms152536.aspx

0
 
LVL 8

Author Comment

by:isaackhazi
ID: 34118461
these are the steps I followed.

Say PRTRWEBSERVER - S1 and PRTRESCRMSERVER - S2


Created Dist. in S1
Created Dist in S2
Created A new Publication in S1 (Selected the table/Articles to be Published)
Enabled S1 for Peer to Peer Replication and set Conflict Detection to true
Backed Up S1
Restored it to S2
Configured Peer to Peer topology on S1 and added S2 to the topology.

I basically followed the Microsoft article.


0
 
LVL 8

Author Comment

by:isaackhazi
ID: 34118466
The Link you provided to me was the guide I followed to set up the replication.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Author Comment

by:isaackhazi
ID: 34118476
The Questions I have is:

when I setup S1 as Dist. should I proceed and Setup S2 as dist. aswell...

Or should I Setup S1 as dist, setup a pulication in S1, enable S1 for peer to peer rep. and then backup, restore to S2
THEN setup Dist on S2?
0
 
LVL 12

Expert Comment

by:NormanMaina
ID: 34119800
yes you have to set up S@ as a distributor as well.

This link has a more straightforward guide than the technet link you used.
http://msdn.microsoft.com/en-us/library/ms152536.aspx
0
 
LVL 12

Expert Comment

by:NormanMaina
ID: 34126407
did it work?
0
 
LVL 8

Author Comment

by:isaackhazi
ID: 34129705
No,

I followed that and tried everything.
I keep getting the "The process could not execute 'sp_replcmds' on 'PRTRESCRMSERVER'."

on bother replicaTION SERVER ERrOR LOGS
0
 
LVL 12

Accepted Solution

by:
NormanMaina earned 2000 total points
ID: 34130045
This problem occurs because the Windows Service Control Manager cannot grant the required permissions to run agent jobs to the new domain account.

To resolve this problem, use SQL Server Configuration Manager to change the domain account back to a startup account.

follow these steps:

   1. Set the SQL Server Agent service account in SQL Server Configuration Manager to the LocalSystem account.
   2. Stop and then start the SQL Server Agent service.
   3. Reset the SQL Server Agent service account in SQL Server Configuration Manager back to the original account.
   4. Stop and then start the SQL Server Agent service.

You can also reset the password of the SQL Server Agent service account in SQL Server Configuration Manager.

To avoid this problem in the future, its recommended that you use SQL Server Configuration Manager instead of the Windows Service Control Manager to modify startup accounts.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question