diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-03-06 16:32:43 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-03-06 16:32:43 +0400 |
commit | 8bf5b084baffdf1d87827ea05ae5c8c976852259 (patch) | |
tree | 352e6377388c40768c37fa69aaacd4a4c2ede66b /mcp/reclass/classes/cluster/mcp-pike-common-ha | |
parent | cb53c86653d850261e8c73c7e4a5ce787e027e43 (diff) |
[keepalived] Check proccess id of nginx on proxy
By default vrrp script seeks out haproxy process id, so change
check_pidof script arguments to "nginx" on proxy nodes.
Change-Id: I616bf90ba49fa8257d28d236dcf3b7c5598039f1
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-ha')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_proxy.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_proxy.yml b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_proxy.yml index 92d4a407c..a32640e7e 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_proxy.yml +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_proxy.yml @@ -43,3 +43,8 @@ parameters: proxy: alternative_names: "IP:${_param:openstack_proxy_address}" key_usage: 'digitalSignature, keyEncipherment' + keepalived: + cluster: + vrrp_scripts: + check_pidof: + args: 'nginx' |