blob: 9f9afd2f7c4dac02ed63b7fafbb1bdb952451c3c [file] [log] [blame]
Denis Egorenkofae10612018-11-29 15:43:35 +04001# DEPRECATED: for backward compatibility until openstack/control.yml migrate to
2# check_multiple_processes.yml
3#
Mateusz Matuszkowiak7335bd12018-05-21 10:25:10 +02004# This instance is needed for the example case, where on control node the GlusterFS is deployed with keepalived and
5# a `remote_agent` from `Stacklight` sends its queries to the control's VIP to gather the GlusterFS data.
6# In case of `glusterd` process failure, the VIP should be moved to another node, to prevent `remote_agent` from failing.
7# In addition, check for haproxy process too, as on its failure VIP should be also moved to another node.
8classes:
Denis Egorenkofae10612018-11-29 15:43:35 +04009- service.keepalived.cluster.single
10- system.keepalived.cluster.vrrp_scripts.check_custom_content
Mateusz Matuszkowiak7335bd12018-05-21 10:25:10 +020011parameters:
12 _param:
13 keepalived_vip_vrrp_check_script_content: "pidof glusterd && pidof haproxy"
14 keepalived:
15 cluster:
Mateusz Matuszkowiak7335bd12018-05-21 10:25:10 +020016 instance:
17 VIP:
18 track_script: vrrp_check