[openstack-dev] [HA][RabbitMQ][messaging][Pacemaker][operators] Improved OCF resource agent for dynamic active-active mirrored clustering
Bogdan Dobrelya
bdobrelia at mirantis.com
Mon Feb 15 15:58:36 UTC 2016
Hello!
A quick status update inline:
On 23.10.2015 10:01, Bogdan Dobrelya wrote:
> Hello.
> I'm glad to announce that the pacemaker OCF resource agent for the
> rabbitmq clustering, which was born in the Fuel project initially, now
> available and maintained upstream! It will be shipped with the
> rabbitmq-server 3.5.7 package (release by November, 2015)
>
> You can read about this OCF agent in the official guide [0] (flow charts
> for promote/demote/start/stop actions in progress).
>
> And you can try it as a tiny cluster example with a Vagrant box for
> Atlas [1]. Note, this only installs an Ubuntu box with a
> Corosync/Pacemaker & RabbitMQ clusters running, no Fuel or OpenStack
> required :-)
- Extracted Vagrantfile and cluster provision scripts to a separate repo
[1]. The packer example repo [2] now manages only atlas and docker
(new!) builds.
- Added docker images for Ubuntu Trusty [3] and Wily [4]. Only the
latter works stable, though. For Ubuntu Trusty, there are vagrant boxes
working w/o issues, so perhaps that is only docker related issue.
Perhaps I can build new ones for Xenial or other distros as well.
- Vagrantfile can now also deploy with the docker provider. Although,
there are few hacks to w/a unimplemented in vagrant docker things...
So, what's next?
- I'm open for merging both [5], [6] of the existing OCF RA solutions,
as it was proposed by Andrew Beekhoff. Let's make it happen.
- Would be nice to make Travis CI based gate to the upstream
rabbitmq-server's HA OCF RA. As for now, it relies on Fuel CI gates and
manual testing with atlas boxes.
- Please also consider Travis or a suchlike CI for the resource-agents'
rabbit-cluster OCF RA as well.
[1] https://github.com/bogdando/rabbitmq-cluster-ocf-vagrant
[2] https://github.com/bogdando/packer-atlas-example
[3] https://hub.docker.com/r/bogdando/rabbitmq-cluster-ocf/
[4] https://hub.docker.com/r/bogdando/rabbitmq-cluster-ocf-wily/
[5]
https://github.com/rabbitmq/rabbitmq-server/blob/master/scripts/rabbitmq-server-ha.ocf
[6]
https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/rabbitmq-cluster
>
> I'm also planning to refer this official RabbitMQ cluster setup guide in
> the OpenStack HA guide as well [2].
Done, see [7]
[7] http://docs.openstack.org/ha-guide/controller-ha-rabbitmq.html
>
> PS. Original rabbitmq-users mail thread is here [3].
> [openstack-operators] cross posted as well.
>
> [0] http://www.rabbitmq.com/pacemaker.html
> [1] https://atlas.hashicorp.com/bogdando/boxes/rabbitmq-cluster-ocf
> [2] https://bugs.launchpad.net/openstack-manuals/+bug/1497528
> [3] https://groups.google.com/forum/#!topic/rabbitmq-users/BnoIQJb34Ao
>
--
Best regards,
Bogdan Dobrelya,
Irc #bogdando
More information about the OpenStack-dev
mailing list