SQL Server cross-network segment FTP replication across the computer room

Source: Internet
Author: User
Tags ftp ftp client file permissions

I. BACKGROUND

When you build SQL Server replication, if the network environment is within the LAN, through the host name can be achieved, but if it is across the network segment, across the computer room to build replication when you need to pay attention to, because SQL Server replication does not support through IP connection Distributor, then what method to solve the cross-network segment, What about the cross room problem?

I am in the SQL Server across the network segment (across the engine room) replication has already mentioned two solutions, if you want to use the request subscription mode, sharing the snapshot file permissions configuration is more cumbersome, a better and more secure way is to read the snapshot file through FTP initialization;

Second, build the process

(i) Environmental information

System environment: Windows Server 2008 + SQL Server 2008

Publisher: 192.168.1.101,1924, server name: User-h2b2a89pek

Distributor: Same machine as publisher

Subscriber: 192.168.1.102,1433, server name: QuZhoushiwei105

Publish database: Task

Subscription database: Tasksubscribe

Database account Number: Replicationuser/replicationpassword

FTP Address: ftp://192.168.1.101:9721

FTP account password: Ftpuser/ftppassword

(ii) Steps to build

Before starting the following steps you need to make sure that your FTP address is available and that you can read and download the generated snapshot files using the FTP client program;

A. Publisher configuration

The following are specific steps to set up the publishing server:

(Figure1: Select Publication database)

(Figure2: Transactional publication)

(Figure3: Select objects)

(Figure4: Initializing subscriptions)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.