[openstack-dev] [TripleO] pacemaker management tools

Adam Gandelman adamg at ubuntu.com
Thu Jun 12 19:37:59 UTC 2014

It's been a while since I've used these tools and I'm not 100% surprised
they've fragmented once again. :)  That said, does pcs support creating the
CIB configuration in bulk from a file? I know that crm shell would let you
dump the entire cluster config and restore from file.  Unless the CIB
format has differs now, couldn't we just create the entire thing first and
use a single pcs or crm command to import it to the cluster, rather than
building each resource command-by-command?


On Wed, Jun 11, 2014 at 4:28 AM, Jan Provazník <jprovazn at redhat.com> wrote:

> 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= cidr_netmask=32 op monitor interval=30s
> else
>   pcs resource create ClusterIP IPaddr2 ip= 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
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140612/247ed613/attachment.html>

More information about the OpenStack-dev mailing list