1 heat_template_version: ocata
4 Pacemaker service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
21 MonitoringSubscriptionPacemaker:
22 default: 'overcloud-pacemaker'
26 description: Enable IPv6 in Corosync
30 description: Whether to enable fencing in Pacemaker or not.
32 PacemakerRemoteAuthkey:
34 description: The authkey for the pacemaker remote service.
39 description: The password for the 'pcsd' user for pacemaker.
45 Pacemaker fencing configuration. The JSON should have
46 the following structure:
50 "agent": "AGENT_NAME",
51 "host_mac": "HOST_MAC_ADDRESS",
52 "params": {"PARAM_NAME": "PARAM_VALUE"}
61 "host_mac": "52:54:00:aa:bb:cc",
63 "multicast_address": "225.0.0.12",
64 "port": "baremetal_0",
66 "manage_key_file": true,
67 "key_file": "/etc/fence_xvm.key",
68 "key_file_password": "abcdef"
74 PacemakerLoggingSource:
78 path: /var/log/pacemaker.log,/var/log/cluster/corosync.log
80 /^(?<time>[^ ]*\s*[^ ]* [^ ]*)
87 description: Role data for the Pacemaker role.
89 service_name: pacemaker
90 monitoring_subscription: {get_param: MonitoringSubscriptionPacemaker}
93 logging_source: {get_param: PacemakerLoggingSource}
95 pacemaker::corosync::cluster_name: 'tripleo_cluster'
96 pacemaker::corosync::manage_fw: false
97 pacemaker::resource_defaults::defaults:
98 resource-stickiness: { value: INFINITY }
99 corosync_token_timeout: 10000
100 tripleo.pacemaker.firewall_rules:
110 corosync_ipv6: {get_param: CorosyncIPv6}
111 tripleo::fencing::config: {get_param: FencingConfig}
112 enable_fencing: {get_param: EnableFencing}
115 expression: $.data.passwords.where($ != '').first()
118 - {get_param: PcsdPassword}
119 - {get_param: [DefaultPasswords, pcsd_password]}
120 tripleo::profile::base::pacemaker::remote_authkey: {get_param: PacemakerRemoteAuthkey}
122 include ::tripleo::profile::base::pacemaker