Unrecoverable unfound objects in Ceph 0.67 and earlier

Posted on Tue 28 January 2014 in hints-and-kinks • Tagged with Ceph • 3 min read

As Ceph author Sage Weil points out frequently, distributed storage solutions for all their goodness have a “dirty little secret”: No matter just how redundant and reliable they are by design, a bug in the storage software itself can be a real issue.

And occasionally, the bug doesn’t have …


Continue reading

Solid-state drives and Ceph OSD journals

Posted on Sun 13 January 2013 in hints-and-kinks • Tagged with Ceph, Performance • 4 min read

Considerations for running Ceph OSD journals on SSDs.


Continue reading

Adding MySQL/Galera resources to Pacemaker

Posted on Tue 04 December 2012 in hints-and-kinks • Tagged with Galera, MySQL, Pacemaker • 1 min read

Once you have one instance of Galera running, and it is running on the same node that holds the temporarily-configured cluster IP (192.168.122.99 in our example), you can add your resources to the Pacemaker cluster configuration.

Create a temporary file, such as /tmp/galera.crm, with the …


Continue reading

Bootstrapping the Galera cluster

Posted on Tue 04 December 2012 in hints-and-kinks • Tagged with Galera, MySQL, Pacemaker • 1 min read

In order to bootstrap your Galera cluster, manually bring up the cluster IP address on the desired interface. In this example, we’ll use 192.168.122.99 and eth1:

ip address add 192.168.122.99/24 dev eth1 label eth1:galera

And initialize the Galera cluster:

mysqld --wsrep_cluster_address …

Continue reading

Configuring Corosync

Posted on Tue 04 December 2012 in hints-and-kinks • Tagged with Galera, MySQL, Pacemaker • 2 min read

You now need configure Corosync. The following example configuration file assumes that your cluster nodes have two network interfaces, using the 192.168.122.0/24 and 192.168.133.0/24 networks. You will need to adjust this to your own network configuration.

Set the contents of /etc/corosync …


Continue reading