Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a database called DB1 in a local computer called Com1

i want to make any action happened on DB1 on another database called DB2 in a remote server called Ser1

Ser1 can be accessed over internet using IP or i can to make VPN network between Ser1 and Com1

i want to make a transaction replication between the Sql server on Com1 and Sql server on Ser1

i know that there is a publisher and subscriber and Distributor

as i understood i will create the Distributor and the publisher on the Com1 and the subscriber on Ser1

i have SQL SERVER ENTERPRISE EDITION EVALUATION 180 days

when i tried to test the transaction replication on a local computer to make DB2 is a database on Com1 too it succeeded

but when i tried to make the subscriber on Ser1 and he asked for the publisher i enter the ip of the Com1 but he refuse the ip and ask for the actual name of the server

i tried to make alias on Sql configuration manager and use the name of this alias but he refuse it too need the name of the server

i tried with Com2 that is in the same network of Com1 and put the name of Com1 as publisher he succeeded to create the replication but when the replication run it failed by error can not reach the publisher

what must i do now? and is the evaluation edition do not support remote replication
Posted

1 solution

I don't believe there are any issues with using Remote Replication on the Evaluation Edition. As far as how to do a peer to peer replication (two databases staying in sync with each other remotely), this article is excellent:
http://www.databasejournal.com/features/mssql/article.php/3814591/Peer-to-Peer-Replication-in-SQL-Server-2008-150-Configure-a-two-node-topology.htm[^]

For transactional replication, there are a couple video resources that I like:

http://www.youtube.com/watch?v=nPC02JFSYZw[^]

http://www.sqlserver-training.com/video-how-to-setup-replication-with-sql-server-2008/-[^]

The second one actually has training videos on each type of replication, which is nice for an all-in-one resource for when you need it.
 
Share this answer
 
v2
Comments
amir tarek 1-Jun-12 13:13pm    
i do not want to make peer to peer replication

i want only any modification in DB1 made on DB2 but any modification on DB2 do not happen on DB1

i want transaction replication
Tim Corey 1-Jun-12 13:18pm    
OK, I updated my answer to reflect the requirement of transactional replication.
amir tarek 1-Jun-12 14:13pm    
i will see but to know my problem is that the Serv1 i know it by IP not By name
Tim Corey 1-Jun-12 14:30pm    
I can't say that I have tried it with transactional replication, but I know SQL handles name vs. IP just fine in other areas. I would be surprised if you have to use the name of the server instead of the IP. However, if you are trying to access an instance on that server, you will need to know the name of the instance (so 127.0.0.1\myInstance for example).
amir tarek 3-Jun-12 1:59am    
it is what i waited to find but unfortunately when i connect to the Com1 from Serv1 using sql management studio it works fine

when i tried to add Comm1 to Serv1 as publisher using ip the SQL refuse and want the full name

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900