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

sql server replication : Replication - 2 subscribing databases, two publishing



Jon Naile
3/20/2004 11:36:02 AM


Is there a way to setup two separate subscribing databases
on one machine that each subscribe to two separate
publishing databases on one SQL server.

It appears that the server can not differentiate between
the subscribers, since they are coming from the same port.
Is there an Alternative one can explore in order
to persue having two separate synchronizations going on?

Thanks

Hilary Cotter
3/20/2004 4:41:18 PM
Yes this is entirely possible. Consider 2 machines, one called publisher one
called subscriber.

Publisher has two databases on it, pub1 and pub2.

Subscriber has two databases on it, sub1 and sub2.

You can create a publication on Publisher in the pub1 database, and sub1 and
sub2 databases on Subscriber can subscribe to it.
You can create a publication on Publisher in the pub2 database, and sub1 and
sub2 databases on Subscriber can subscribe to it.

Or you could enter a third server Publisher1 with two databases on it, pub1
and pub2.

You can create a publication on Publisher1 in the pub1 database, and sub1
and sub2 databases on Subscriber can subscribe to it.
You can create a publication on Publisher1 in the pub2 database, and sub1
and sub2 databases on Subscriber can subscribe to it.

Replication is very flexible this way.


[quoted text, click to view]

Jon Nail
3/23/2004 6:16:45 PM
Thanks! sub1 synchronizes to pub1 on Publisher
and sub2 synchronizes with pub2 on Publisher1.

Now is that behavior bound to be affected if this
occurs over a VPN.

Thanks


[quoted text, click to view]
AddThis Social Bookmark Button