Enable Keepalived check script for VIP nodes
Enabled Keepalived for next nodes:
* ctl - Fix already existed, but not enabled check script
for GlusterFS and Haproxy;
* prx - Enable Haproxy/Nginx check pidof script;
* ntw, rgw, dbs - Enable Haproxy check pidof script;
Change-Id: I32414b5b95a2758323201ab90418d871366a6052
Related-bug: PROD-25256
diff --git a/keepalived/cluster/vrrp_scripts/check_custom_content.yml b/keepalived/cluster/vrrp_scripts/check_custom_content.yml
new file mode 100644
index 0000000..6cc7e80
--- /dev/null
+++ b/keepalived/cluster/vrrp_scripts/check_custom_content.yml
@@ -0,0 +1,9 @@
+parameters:
+ keepalived:
+ cluster:
+ vrrp_scripts:
+ vrrp_check:
+ content: ${_param:keepalived_vip_vrrp_check_script_content}
+ interval: 10
+ rise: 1
+ fall: 1
diff --git a/keepalived/cluster/vrrp_scripts/check_single_process.yml b/keepalived/cluster/vrrp_scripts/check_single_process.yml
new file mode 100644
index 0000000..4b605c3
--- /dev/null
+++ b/keepalived/cluster/vrrp_scripts/check_single_process.yml
@@ -0,0 +1,9 @@
+parameters:
+ keepalived:
+ cluster:
+ vrrp_scripts:
+ check_pidof:
+ args: ${_param:keepalived_vrrp_script_check_pidof_args}
+ interval: 10
+ rise: 1
+ fall: 1