1:keepalived安装
注:脚本需要设置为相关权限
1:keepalived.conf需要设置为644权限。
chmod -R 644 keepalived.conf
2:keepalived.conf对应的脚本需要设置为777权限。
e.g:keepalived.conf中配置脚本为health_check.sh、switch_backup.sh、switch_master.sh
chmod -R 777 health_check.sh
chmod -R 777 switch_backup.sh
chmod -R 777 switch_master.sh
网友评论