[openstack-dev] [TripleO] pacemaker management tools

Jan Provazník jprovazn at redhat.com
Wed Jun 11 11:28:55 UTC 2014

ceilometer-agent-central element was added recently into overcloud 
image. To be able scale out overcloud control nodes, we need HA for this 
central agent. Currently central agent can not scale out (until [1] is 
done). For now, the simplest way is add the central agent to Pacemaker, 
which is quite simple.

The issue is that distributions supported in TripleO provide different 
tools for managing Pacemaker. Ubuntu/Debian provides crmsh, Fedora/RHEL 
provides pcs, OpenSuse provides both. I didn't find packages for all our 
distros for any of the tools. Also if there is a third-party repo 
providing packages for various distros, adding dependency on an 
untrusted third-party repo might be a problem for some users.

Although it's a little bit annoying, I think we will end up with 
managing commands for both config tools, a resource creation sample:

if $USE_PCS;then
   crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 params 
ip= cidr_netmask=32 op monitor interval=30s
   pcs resource create ClusterIP IPaddr2 ip= cidr_netmask=32

There are not many places where pacemaker configuration would be 
required, so I think this is acceptable. Any other opinions?



More information about the OpenStack-dev mailing list