Ansible playbook batch management cluster basic configuration

Ansiable bulk configuration management through playbook playbook is composed of one or more modules. It uses many different modules to accomplish one thing. Install a service, configure, and start. 1. Find someone to shoot. 2. General tasks. 3. How to do it. Install httpd Service - > Playbook 1. i ...

Posted by ramrod737 on Thu, 02 Jan 2020 04:35:26 -0800

Linux-13-Inotify+Rsync real time data synchronization

Check before configuration 1. First, make sure that Rsync has been configured and the client can push files to the server [test@C64-6-B ~]$ rsync -avzP ./syncdir rsync_backup@2.2.2.5::syner --password-file=/etc/rsync.password sending incremental file list syncdir/ sent 52 bytes received 12 bytes 42.67 bytes/sec total size ...

Posted by Ralf Jones on Wed, 25 Dec 2019 12:18:46 -0800

rsync Remote Synchronization (Theory + Practice)

About rsync A fast incremental backup tool Remote Sync, remote synchronization Support local replication or synchronization with other SsH, rsync hosts Official website: http://rsync.samba.org Configure rsync Source Server rsync Synchronization Source Refers to a remote server for backup operations, also known as a backup source Configure ...

Posted by dico on Tue, 24 Dec 2019 08:54:33 -0800

rsync remote synchronization (Theory + Practice)

About rsync A fast incremental backup tool Remote SyncSupport local replication or synchronization with other SSH and rsync hostsOfficial website: http://rsync.samba.org Configure rsync source server rsync sync source Refers to the remote server of the backup operation, also known as the backup source Configure rsync source Basic thinking ...

Posted by sangamon on Tue, 24 Dec 2019 00:13:41 -0800

Resolve NFS single point of failure

yum install -y keepalived Profile on nfs01 [root@nfs01 ~]# cat /etc/keepalived/keepalived.conf ! Configuration File for keepalived global_defs { router_id nfs01 } vrrp_script check_data { script "/server/scripts/data.sh" interval 2 weight 60 } vrrp_instance oldboy { state MASTER interface e ...

Posted by NewPHP_Coder on Wed, 18 Dec 2019 11:26:17 -0800

centos7 installation and configuration of rsync and problems encountered

install Server side Install software: yum -y install rsync To create a directory to synchronize: mkdir -p /data Edit the configuration file: vim /etc/rsyncd.conf motd file = /etc/rsyncd.motd transfer logging = yes log file = /var/log/rsyncd.log #Log storage path port = 873 #Port number address = 192.168.0.37 #IP address uid = root #User ...

Posted by Pie on Tue, 03 Dec 2019 21:25:11 -0800

Ubuntu Server 18.04 configure rsync (xinetd)

[server configuration] System version # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic Official documents: https://rsync.samba.org/documentation.html install sudo apt install rsync xinetd Modify or add in / etc/default/rsync file RSYNC_ENABLE=inetd Create th ...

Posted by chodges on Sat, 30 Nov 2019 04:26:38 -0800

Data synchronization through rsycn

I. experimental requirements 1. The backup machine needs to synchronize all files under the / app/java_project directory of the MIS server at 1:03 a.m. every day. 2. It is required to record the synchronization log to facilitate the analysis of synchronization failure. II. Task analysis 1. Use crontab to write scheduled tasks 2. Use rsync for r ...

Posted by wattsup88 on Sat, 19 Oct 2019 07:47:51 -0700

Deploy web01, web02, nfs, db01, backup, build wordpress, WeCenter, share, hot standby, real-time backup

Summary Deploy web01, web02, nfs, db01, backup, build wordpress, WeCenter, share, hot standby, real-time backup 1) Install nginx and php on web01 and web02 2) Create www users [root@web01 php]# groupadd www -g 666 [root@web01 php]# useradd www -u 666 -g 666 -s /sbin/nologin -M [root@web02 php]# groupadd www -g 666 [root@web02 php]# useradd www ...

Posted by Fusioned on Sat, 05 Oct 2019 22:57:48 -0700

lsyncd-Real-time Synchronization (Mirror) daemon

E-mail: 1226032602@qq.com Official documents https://axkibe.github.io/lsyncd/ https://github.com/axkibe/lsyncd brief introduction Lsyncd uses file system event interfaces (inotify or fsevents) to monitor changes to local files and directories. Lsyncd organizes these events for a few seconds and then ...

Posted by stilgar on Tue, 01 Oct 2019 20:25:17 -0700