Solved

SQL SERVER Peer to Peer Transitional Replication Error

Posted on 2010-11-11
8
634 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 500 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help Required 3 97
CPU high usage when update statistics 2 30
SQL Query Help Top 1 and Distinct? 6 26
Rename a column in the output 3 14
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

810 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