[openstack-dev] [TripleO] pacemaker management tools

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


Hi,
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=192.168.122.120 cidr_netmask=32 op monitor interval=30s
else
   pcs resource create ClusterIP IPaddr2 ip=192.168.0.120 cidr_netmask=32
fi

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

Jan


[1] 
https://blueprints.launchpad.net/ceilometer/+spec/central-agent-improvement



More information about the OpenStack-dev mailing list