最新 最热

008.MySQL-Keepalived搭配脚本02

1 vim /etc/keepalived/check_MySQL.sh 2 #!/bin/sh 3 #isok=$(sed -n '2p' /etc/keepalived/result.txt) 4 isok=$(/usr/local/mysql/bin/mysql -uroot -p123456 -e ...

2019-07-26
0

007.MySQL-Keepalived搭配脚本01

1 vim /etc/keepalived/check_MySQL.sh 2 #!/bin/bash 3 MYSQL=/usr/bin/mysql 4 MYSQL_HOST=localhost 5 MYSQL_USER=root 6 CHECK_COUNT=5 7 counter=1 8 w...

2019-07-26
0

LVS DR模式搭建, keepalived + LVS

LVS DR模式搭建:

2018-06-14
0

Centos下部署DRBD+NFS+Keepalived高可用环境记录

使用NFS服务器(比如图片业务),一台为主,一台为备。通常主到备的数据同步是通过rsync来做(可以结合inotify做实时同步)。由于NFS服务是存在单点的,出于对业务在线率和数据安全的保障,可以采用"DRBD+NFS+Keepalived"架构来完成...

2018-01-22
2