分布式集群

keepalived +nfs

cat /etc/hosts 172.16.8.20 fs1 172.16.8.21 fs2 172.16.8.22 fs 1、安装服务 yum -y install keepalived yum install nfs-utils rpcbind -y net.ipv4.ip_forward=1 net.ipv4.conf.all.rp_filter=0 n...

Sersync+Rsync互相实时同步

1、关闭selinux 2、防火墙(iptables、Firewalld)放行873端口(默认) 3、安装Rsync服务 yum install rsync -y useradd -r -s /sbin/nologin rsync -M cat > /etc/rsyncd.conf <<EOF uid = rsync...