ctdb_mutex_ceph_rados_helper — Ceph RADOS cluster mutex helper


ctdb_mutex_ceph_rados_helper can be used as a recovery lock provider for CTDB. When configured, split brain avoidance during CTDB recovery will be handled using locks against an object located in a Ceph RADOS pool. To enable this functionality, include the following line in your CTDB config file:

CTDB_RECOVERY_LOCK="!ctdb_mutex_ceph_rados_helper [Cluster] [User] [Pool] [Object]"

Cluster: Ceph cluster name (e.g. ceph)
User: Ceph cluster user name (e.g. client.admin)
Pool: Ceph RADOS pool name
Object: Ceph RADOS object name

The Ceph cluster Cluster must be up and running, with a configuration, and keyring file for User located in a librados default search path (e.g. /etc/ceph/). Pool must already exist.


ctdb(7), ctdbd(1),