From f7826b8a3a083a1776c5f1f02526232a3bf32d4d Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Fri, 17 Apr 2015 20:19:36 +0200 Subject: Perform basic setup of Pacemaker cluster using puppet-pacemaker Depends-On: Ia1bbf53c674e34ba7c70249895b106ec0af3c249 Change-Id: Ifa9f579d26a3cba9f8705226984c7b987ae0ad1c --- overcloud-without-mergepy.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'overcloud-without-mergepy.yaml') diff --git a/overcloud-without-mergepy.yaml b/overcloud-without-mergepy.yaml index f61536ca..32dc9709 100644 --- a/overcloud-without-mergepy.yaml +++ b/overcloud-without-mergepy.yaml @@ -263,6 +263,11 @@ parameters: default: true description: Whether to use Galera instead of regular MariaDB. type: boolean + EnablePacemaker: + default: true + description: If enabled services will be monitored by Pacemaker; it + will manage VIPs as well, in place of Keepalived. + type: boolean ExtraConfig: default: {} description: | @@ -516,10 +521,10 @@ resources: HeatAuthEncryptionKey: type: OS::Heat::RandomString - CorosyncAuthKey: + PcsdPassword: type: OS::Heat::RandomString properties: - length: 128 + length: 16 Controller: type: OS::Heat::ResourceGroup @@ -540,9 +545,9 @@ resources: CloudName: {get_param: CloudName} ControlVirtualInterface: {get_param: ControlVirtualInterface} ControllerExtraConfig: {get_param: controllerExtraConfig} - CorosyncAuthKey: {get_resource: CorosyncAuthKey} Debug: {get_param: Debug} EnableGalera: {get_param: EnableGalera} + EnablePacemaker: {get_param: EnablePacemaker} ExtraConfig: {get_param: ExtraConfig} Flavor: {get_param: OvercloudControlFlavor} GlancePort: {get_param: GlancePort} @@ -583,6 +588,7 @@ resources: NeutronTunnelTypes: {get_param: NeutronTunnelTypes} NovaPassword: {get_param: NovaPassword} NtpServer: {get_param: NtpServer} + PcsdPassword: {get_resource: PcsdPassword} PublicVirtualInterface: {get_param: PublicVirtualInterface} RabbitPassword: {get_param: RabbitPassword} RabbitUserName: {get_param: RabbitUserName} -- cgit 1.2.3-korg