This commit is contained in:
Mr Chen
2023-11-16 17:11:49 +08:00
parent 135b307a98
commit e676790250
5 changed files with 50 additions and 13 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ global_defs {
}
vrrp_script chk_mysql_port {
script "{$PLUGIN_PATH}/scripts/chk_mysql.sh"
script "{$PLUGIN_PATH}/scripts/chk.sh mysql"
interval 2
weight –5
fall 2
rise 1
}
vrrp_instance VI_1 {
vrrp_instance VI_MYSQL {
state MASTER
interface {$ETH_XX}
virtual_router_id 51