Groups | Blog | Home
all groups > sql server replication > august 2004 >

sql server replication : When Publisher is out of order ...


Hilary Cotter
8/30/2004 7:38:05 AM
I think what you are talking about is the retention period.

After you have created your publication if you right click on it and select
properties, and in the general tab you will see a Subscription Expiration
dialog. You can set how long you want your subscribers to remain off line
before the subscription expires or is dropped here. Make sure you also go
to tools, point to replication, click Configure Publishers, Subscribers, and
Distributors and in the distributor tab, click on properties, and in the
history retention, match whatever you set in the publication properties
susbcription expiration with this value here.

The downside of having long retention periods is that more data will go over
the wire when your subscriber/publisher comes back on line, and sometimes
its faster to merely generate and deploy a new snapshot.

Your choice depends on the stability of your servers and links as well as
the number of transactions. For reliable links and servers 5 days is pretty
good.

--
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html


[quoted text, click to view]

Hilary Cotter
8/30/2004 8:43:02 AM
I think you want to look at alternate sync partners. This is not an
automatic process you have to do some work to configure this.

This will not enable Server 2 and Server 3 to communicate with each other
while Server1 is offline. What this involves is a new server Server 4, which
acts as the publisher until server 1 comes back on.

Another way to do this, which will work under limited situations is to do
republishing. Server 1 publishes to Server 2. Server 2 publishes to Server
1.

--
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html


[quoted text, click to view]

Wojtek Z
8/30/2004 12:58:31 PM
I would like to create a merge replication between few db, but
I want to keep the replication even if Publisher would be out of order for
some time.
How can I co that? I'm thinking about creating one of subscribers a new
publisher - is it a good idea ?

What would You suggest ? What is most reliable ?

Best Regards
Wojciech Znaniecki

Wojtek Z
8/30/2004 2:05:32 PM
Thanks for fast anwsering :)

Well what I wanted to do was something like that :

Serv1 is a publisher and a distributor, Serv2 & Serv3 are Subscribers.
But in something is wrong with Serv1 Serv2 and Serv3 cant exchange their
data.
I would like to prevent that.

In another way : When one of 3 servers is off-line the other 2 have to keep
exchanging their data

Best Regards
Wojciech Znaniecki

U¿ytkownik "Hilary Cotter" <hilaryk@att.net> napisa³ w wiadomo¶ci
news:O01tuYojEHA.3428@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Wojtek Z
8/31/2004 2:21:58 PM
I menaged to set alternate sync partners for Server1 only when i made
something like that :
Server2 -> Server1 ->Server4
->Server3
And Server 2 was alternate for Server1 but when I have disconnected Server1
from my net i could not transmit data from Server4 to Server2.

Can I ask for some detailed information how can I do that?

[quoted text, click to view]
1.
In the end there will be about 10 sql servers so I would like to avoid that
kind of solution. However if there is a way to create doubled replication
f.e.

Server1-> Server2
-> Server3
and
Server3-> Server2
-> Server1
I've tried to do something like that but there were problems with tables (
they were used by another replication ).

Best Regards and once again thanks for Your help/
Wojciech Znaniecki


U¿ytkownik "Hilary Cotter" <hilary.cotter@gmail.com> napisa³ w wiadomo¶ci
news:eBC8C9ojEHA.3664@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Wojtek Z
8/31/2004 2:45:43 PM
Maybe there's a possibility to check by T-SQL if the publication server is
publishing and if not to create another one ?
If something like this can be done than how should look like a code that
will check it and ,when default publisher will be beck on-line, cancel it,
so there would be only one publisher.

Best regards
Wojciech Znaniecki

AddThis Social Bookmark Button