1 heat_template_version: 2016-10-14
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.
34 description: The password for the 'pcsd' user for pacemaker.
40 Pacemaker fencing configuration. The JSON should have
41 the following structure:
45 "agent": "AGENT_NAME",
46 "host_mac": "HOST_MAC_ADDRESS",
47 "params": {"PARAM_NAME": "PARAM_VALUE"}
56 "host_mac": "52:54:00:aa:bb:cc",
58 "multicast_address": "225.0.0.12",
59 "port": "baremetal_0",
61 "manage_key_file": true,
62 "key_file": "/etc/fence_xvm.key",
63 "key_file_password": "abcdef"
69 PacemakerLoggingSource:
73 path: /var/log/pacemaker.log,/var/log/cluster/corosync.log
75 /^(?<time>[^ ]*\s*[^ ]* [^ ]*)
82 description: Role data for the Pacemaker role.
84 service_name: pacemaker
85 monitoring_subscription: {get_param: MonitoringSubscriptionPacemaker}
88 logging_source: {get_param: PacemakerLoggingSource}
90 pacemaker::corosync::cluster_name: 'tripleo_cluster'
91 pacemaker::corosync::manage_fw: false
92 pacemaker::resource_defaults::defaults:
93 resource-stickiness: { value: INFINITY }
94 corosync_token_timeout: 10000
95 tripleo.pacemaker.firewall_rules:
105 corosync_ipv6: {get_param: CorosyncIPv6}
106 tripleo::fencing::config: {get_param: FencingConfig}
107 enable_fencing: {get_param: EnableFencing}
110 expression: $.data.passwords.where($ != '').first()
113 - {get_param: PcsdPassword}
114 - {get_param: [DefaultPasswords, pcsd_password]}
116 include ::tripleo::profile::base::pacemaker