Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 What should I use?

Author  Topic 

Carat
Yak Posting Veteran

92 Posts

Posted - 2009-01-12 : 09:43:38
Explanation of our system:
We have a production server (Server1) that is located within our building. We have another server (ServerA) which is a dedicated server hosted by another company. Between Server1 and ServerA there is a replication on tables between several databases. We have snapshot, transactional replication and transactional replication with updatetable subscriptions. Besides replication we have another way to export data. We use a Clr to make a rar-file from our table at Server1 and this file is copied to the other server and there it is Bulk Imported. This can be compared with snapshot replication. This Clr runs several times a day to synchronise the 2 server.

replication
Server1 ----------- ServerA

Now we have another dedicated server (ServerB) that is also hosted by the same company. ServerB must be equal to ServerA. This means that any update that takes place at ServerA must also be done at ServerB. Users can connect to ServerA or ServerB.

My questions:
1:) How can this be done? Should I use replication like this:

replication
Server1 (publication) ----------- ServerA (subscription)
----------- ServerB (subscription)

2:) My boss asked me whether there is a mechanism that can make ServerA equal at all time to ServerB by using something like RAID1 (Mirroring). The 2 servers must be accessible at all time. I think this is not the case when you use Database Mirroring or Log Shipping.

3.) How do the large companies manage there servers to make them equal? When you have for example 20 sql server, and all off them must be equal and must be accessed by users, how can this made possible?

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-12 : 09:53:26
quote:
Originally posted by Carat

Explanation of our system:
We have a production server (Server1) that is located within our building. We have another server (ServerA) which is a dedicated server hosted by another company. Between Server1 and ServerA there is a replication on tables between several databases. We have snapshot, transactional replication and transactional replication with updatetable subscriptions. Besides replication we have another way to export data. We use a Clr to make a rar-file from our table at Server1 and this file is copied to the other server and there it is Bulk Imported. This can be compared with snapshot replication. This Clr runs several times a day to synchronise the 2 server.

replication
Server1 ----------- ServerA

Now we have another dedicated server (ServerB) that is also hosted by the same company. ServerB must be equal to ServerA. This means that any update that takes place at ServerA must also be done at ServerB. Users can connect to ServerA or ServerB.

My questions:
1:) How can this be done? Should I use replication like this:

Transaction replication
Server1 (publication) ----------- ServerA (subscription)
----------- ServerB (subscription)

This looks good considering the fact you have good network bandwidth.


2:) My boss asked me whether there is a mechanism that can make ServerA equal at all time to ServerB by using something like RAID1 (Mirroring). The 2 servers must be accessible at all time. I think this is not the case when you use Database Mirroring or Log Shipping.

Yes you are right.

3.) How do the large companies manage there servers to make them equal? When you have for example 20 sql server, and all off them must be equal and must be accessed by users, how can this made possible?

Though our company is not so big, We deal with synchronizing Max 5 SQL server. We use Merge Replication for it. We are planning to change it to Peer-to-Peer Replication.


Go to Top of Page

Carat
Yak Posting Veteran

92 Posts

Posted - 2009-01-16 : 09:19:52
Ok thanks.

Is it possible to replicate certain tables with peer-to-peer replication or can you only replicate all the tables at once?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-16 : 10:12:03
quote:
Originally posted by Carat

Ok thanks.

Is it possible to replicate certain tables with peer-to-peer replication or can you only replicate all the tables at once?



I haven't done it. Books online has details about P2P Replication.
Go to Top of Page
   

- Advertisement -