Target: Master server program synchronizes programs to multiple child servers
1. Configure sync source
Install rsync:yum -y install rsync xinetd
Enable rsync:vim /etc/xinetd.d/rsync Change disable = yes to disable = no
Configuration: vim /etc/rsyncd.conf
#Sync source ID, feel free to change [site]#program path path = /home /backup # synchronization allows the host to hosts allow = 192.168.1.14hosts deny = * list = trueuid = rootgid = rootread only = false
2. configuration synchronization server
is also mounted rsync, and may Set the filter list and execute:
rsync -avz --delete --exclude-from=/etc/rsync_exclude.lst /var/www/html/server_ip ::site
here Server_ip is the server IP or domain name, site is the synchronization source identifier
In addition, set the timing script. In this way, the station group of the synchronization server can be synchronized from the main server rsync in time.
In the era of virtualization and cloud computing and the container, we migrated all the application
Download NetBeans Take netbeans-7.0beta2-ml-javaee-linux.sh as an example #sh netbeans-7.0beta2-ml-
Data is the most important part of a Unix/Linux system, but backing up and synchro
Linux supports sharing open files between different processes. To illustrate file sharing, lets firs
How to solve /usr/bin/ld: cannot find -lxxx error
Linux interprocess communication shared memory mode
The difference between linux lightweight process and ordinary process
Installation tutorial for Gamit 10.35 under Fedora 13
Linux adsl dialing and sharing Internet
Do a good job in Linux log management
XenServer multi-NIC binding implementation tutorial
Overview of International Program Implementation Steps
More effective management Five cool Linux command line tricks
Method of installing Memcache cache server on Linux
What should I do if all the programs in the win7 system are lost? Fix all program tutorial diagrams
360 security guards deleted files how to retrieve deleted files recovery tutorial
Quickly view the Windows 7 file properties Raiders
Win7 can't connect to broadband prompt error code 1717 processing solution
The latest Windows 7 to give knowledge and skills
Win8 install win7 system prompts can not verify winloader digital certificate
Common methods for recovering WINDOWS failures (5)
After the upgrade win10 no sound how to do win10 upgrade no sound solution
Introduction to Windows Defender Win8 comes with protective armor