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


Server Restart Sequence - With Replication


Server Restart Sequence - With Replication

Author
Message
Shinoj Ramanathan
Shinoj Ramanathan
SSC Veteran
SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)

Group: General Forum Members
Points: 228 Visits: 584
I have replication setup and have separate servers for publisher, distributor and subscriber.

I need to restart my distributor. Is there a restart sequence I need to follow?


Help much appreciated

Shinoj
Roy Ernest
Roy Ernest
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2494 Visits: 6852
SQL Server replication is quite robust. It wont matter which server goes down first. But if you want to be safe, you can stop the log reader agent and restart your distributor and start the log reader agent. All the changes that were done on the publisher will stay in the log till the distributor reads it. (There is a time limit off course but it is more than an hour)

-Roy
David Benoit
David Benoit
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2108 Visits: 3650
Shinoj Ramanathan (8/9/2010)

I have replication setup and have separate servers for publisher, distributor and subscriber.

I need to restart my distributor. Is there a restart sequence I need to follow?


Help much appreciated

Shinoj


You should be able to just restart the distributor and have no problems. Not sure how you have things set up (i.e. PUSH / PULL subscriptions if transactional) but the log reader and distribution agents will typically run on the distributor so, there will be no problems with restarting that box.

Post back if you have problems.

David

@SQLTentmaker

“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Shinoj Ramanathan
Shinoj Ramanathan
SSC Veteran
SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)SSC Veteran (228 reputation)

Group: General Forum Members
Points: 228 Visits: 584
Thanks roy..

I sort of messed up the whole thing when i did it last time...
I restarted the distributor without stopping the logreader agents and after the service came back up... some of the agents simply did not get back to normal..

Had to re setup the publications

So lets see.. I got stop the logreader agents, restart the distributor and start the logreader agents..

Thanks
Shinoj
David Benoit
David Benoit
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2108 Visits: 3650
While I agree with Roy that stopping the log reader agents is the nice way to do things, it is not necessary. I would be curious as to what error you were seeing during your last restart.

It is designed in such a way that it can recover. We have ours set on a cluster and fail it over periodically with no issues.

Hope this helps and please post back if you have problems.

David

@SQLTentmaker

“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Roy Ernest
Roy Ernest
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2494 Visits: 6852
Keep us posted how it went this time.

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