fix(cluster): set keepalived vrrp_script weight to -20 for instant failover
This commit is contained in:
1 parent
940ff800ad
commit
3edcabff7c
1 file changed
+1
-1
@@ -342,7 +342,7 @@ class ClusterManager
|
||||
$conf[] = "vrrp_script chk_asterisk {";
|
||||
$conf[] = " script \"/etc/keepalived/scripts/check_asterisk.sh\"";
|
||||
$conf[] = " interval 2";
|
||||
$conf[] = " weight 2";
|
||||
$conf[] = " weight -20";
|
||||
$conf[] = " fall 2";
|
||||
$conf[] = " rise 2";
|
||||
$conf[] = "}";
|
||||
|
||||
Reference in new issue
Block a user