kolla-ansible/ansible/roles/hacluster/templates/hacluster-corosync.json.j2
Gaëtan Trellu 9f578c85e0 Add HAcluster Ansible role
Adds HAcluster Ansible role. This role contains High Availability
clustering solution composed of Corosync, Pacemaker and Pacemaker Remote.

HAcluster is added as a helper role for Masakari which requires it for
its host monitoring, allowing to provide HA to instances on a failed
compute host.

Kolla hacluster images merged in [1].

[1] https://review.opendev.org/#/c/668765/

Change-Id: I91e5c1840ace8f567daf462c4eb3ec1f0c503823
Implements: blueprint ansible-pacemaker-support
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
2021-04-08 06:39:19 +00:00

18 lines
459 B
Django/Jinja

{
"command": "/usr/sbin/corosync -f",
"config_files": [
{
"source": "{{ container_config_directory }}/corosync.conf",
"dest": "/etc/corosync/corosync.conf",
"owner": "root",
"perm": "0400"
},
{
"source": "{{ container_config_directory }}/authkey",
"dest": "/etc/corosync/authkey",
"owner": "root",
"perm": "0400"
}
]
}