First, the early topology map planning
DNS dual NIC; eth0:192.168.6.248 eth1:192.168.7.248
Telecom users: 192.168.6.X this network segment analog IP address 6.248 6.244
Unicom Users: 192.168.7.X This network segment analog IP address 7.248 7.244
Other users: any
Site Cluster Address:
Telecom Access: 192.168.1.1 192.168.1.2
Netcom Visit: 192.168.2.1 192.168.2.1
Other users: 192.168.3.1 192.168.3.1
Second, the configuration of rsync services,
1, first what is rsync services?
Rsync is a file synchronization and transmission tool under a UNIX system. Rsync is a quick way to use the rsync algorithm to provide a file synchronization between a client and a remote file server.
The characteristics of rsync:
Ability to update entire directory and tree file systems
Selective protection symbolic links, hard connections, file permissions, etc.
Supports anonymous rsync sync files, ideal for mirrored backup tools.
2. The Rsync service is a non independent service,
3. First install rsync service
Yum-y Install xinet* rsysnc*
4, and then on the main DNS to create rsync configuration file/etc/rsyncd.conf, in the following figure,/etc/rsyncd.conf is the main configuration of rsync,/etc/rsyncd.secrets virtual account and password;/etc/ RSYNCD.MOTD is a warning prompt. Note that the permission for this three file is 600. As shown in the detailed configuration
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/DNS/
5, and then restart the service;
6, then create the files on the primary DNS that require rsync synchronization, and give the appropriate directory permissions as shown in the figure:
7, and then synchronize the configuration files created on primary DNS on secondary DNS, as shown on secondary DNS, DNS is installed, and synchronized files are synchronized.