diff --git a/chef/cookbooks/ceilometer/recipes/mongodb.rb b/chef/cookbooks/ceilometer/recipes/mongodb.rb index 66ae434..9439f32 100644 --- a/chef/cookbooks/ceilometer/recipes/mongodb.rb +++ b/chef/cookbooks/ceilometer/recipes/mongodb.rb @@ -52,6 +52,9 @@ agent node[:ceilometer][:ha][:mongodb][:agent] op node[:ceilometer][:ha][:mongodb][:op] action :create + meta ({ + "interleave" => "true", + }) only_if { CrowbarPacemakerHelper.is_cluster_founder?(node) } end diff --git a/chef/cookbooks/ceilometer/recipes/server_ha.rb b/chef/cookbooks/ceilometer/recipes/server_ha.rb index 89fcaa7..ade0f36 100644 --- a/chef/cookbooks/ceilometer/recipes/server_ha.rb +++ b/chef/cookbooks/ceilometer/recipes/server_ha.rb @@ -56,6 +56,9 @@ pacemaker_clone "cl-#{group_name}" do rsc group_name action [ :create, :start] + meta ({ + "interleave" => "true", + }) only_if { CrowbarPacemakerHelper.is_cluster_founder?(node) } end