Use pacemaker and corosync on Illumos (OmniOS) to run a HA active/passive cluster

In the Linux world, a popular approach to build highly available clusters is with a set of software tools that include pacemaker (as resource manager) and corosync (as the group communication system), plus other libraries on which they depend and some configuration utilities.

On Illumos (and in our particular case, OmniOS), the ihac project is abandoned and I couldn’t find any other platform-specific open source and mature framework for clustering. Porting pacemaker to OmniOS is an option and this post is about our experience with this task.

The objective of the post is to describe how to get an active/passive pacemaker cluster running on OmniOS and to test it with a Dummy resource agent. The use case (or test case) is not relevant, but what should be achieved in a correctly configured cluster is that, if the node of the cluster running the Dummy resource (active node) fails, then that resource should fail-over and be started on the other node (high availability).

I will assume to start from a fresh installation of OmniOS 151012 with a working network configuration (and ssh, for your comfort!). Check the general administration guide, if needed.

This is what we will cover:

  • Configuring the machines
  • Patching and compiling the tools
  • Running pacemaker and corosync from SMF
  • Running an active/passive cluster with two nodes to manage the Dummy resource

Continue reading

2nd Swiss OpenStack User Group Meeting

The second swiss OpenStack user group (CHOSUG) was held. It was an excellent event so well attended that there was only standing room! A big thanks goes out to the organisers and sponsors (RackSpace, SWITCH and ICCLab).

20130219_210004

There was six presentations, 3 which were more detailed and 3 that were more lightning talks in nature. Lucas and Toni from the ICCLab gave a super presentation on Ceilometer and Christof made short work of the deep topic of OpenStack and CloudFoundry. The presentations (in running order) were:

All talks were recorded by the kind folks at SWITCH and are available for your viewing pleasure!

Check out more pics on the CHOSUG flickr account.