Denis Egorenko | fae1061 | 2018-11-29 15:43:35 +0400 | [diff] [blame] | 1 | # DEPRECATED: for backward compatibility until openstack/control.yml migrate to |
| 2 | # check_multiple_processes.yml |
| 3 | # |
Mateusz Matuszkowiak | 7335bd1 | 2018-05-21 10:25:10 +0200 | [diff] [blame] | 4 | # 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. |
| 8 | classes: |
Denis Egorenko | fae1061 | 2018-11-29 15:43:35 +0400 | [diff] [blame] | 9 | - service.keepalived.cluster.single |
| 10 | - system.keepalived.cluster.vrrp_scripts.check_custom_content |
Mateusz Matuszkowiak | 7335bd1 | 2018-05-21 10:25:10 +0200 | [diff] [blame] | 11 | parameters: |
| 12 | _param: |
| 13 | keepalived_vip_vrrp_check_script_content: "pidof glusterd && pidof haproxy" |
| 14 | keepalived: |
| 15 | cluster: |
Mateusz Matuszkowiak | 7335bd1 | 2018-05-21 10:25:10 +0200 | [diff] [blame] | 16 | instance: |
| 17 | VIP: |
| 18 | track_script: vrrp_check |