1 <?xml version="1.0" encoding="iso-8859-1"?>
3 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
5 <refentry id="ctdb_mutex_ceph_rados_helper.7">
8 <refentrytitle>Ceph RADOS Mutex</refentrytitle>
9 <manvolnum>7</manvolnum>
10 <refmiscinfo class="source">ctdb</refmiscinfo>
11 <refmiscinfo class="manual">CTDB - clustered TDB database</refmiscinfo>
15 <refname>ctdb_mutex_ceph_rados_helper</refname>
16 <refpurpose>Ceph RADOS cluster mutex helper</refpurpose>
20 <title>DESCRIPTION</title>
22 ctdb_mutex_ceph_rados_helper can be used as a recovery lock provider
23 for CTDB. When configured, split brain avoidance during CTDB recovery
24 will be handled using locks against an object located in a Ceph RADOS
26 To enable this functionality, include the following line in your CTDB
29 <screen format="linespecific">
30 CTDB_RECOVERY_LOCK="!ctdb_mutex_ceph_rados_helper [Cluster] [User] [Pool] [Object]"
32 Cluster: Ceph cluster name (e.g. ceph)
33 User: Ceph cluster user name (e.g. client.admin)
34 Pool: Ceph RADOS pool name
35 Object: Ceph RADOS object name
38 The Ceph cluster <parameter>Cluster</parameter> must be up and running,
39 with a configuration, and keyring file for <parameter>User</parameter>
40 located in a librados default search path (e.g. /etc/ceph/).
41 <parameter>Pool</parameter> must already exist.
46 <title>SEE ALSO</title>
48 <citerefentry><refentrytitle>ctdb</refentrytitle>
49 <manvolnum>7</manvolnum></citerefentry>,
51 <citerefentry><refentrytitle>ctdbd</refentrytitle>
52 <manvolnum>1</manvolnum></citerefentry>,
54 <ulink url="http://ctdb.samba.org/"/>
61 This documentation was written by David Disseldorp
67 <holder>David Disseldorp</holder>
71 This program is free software; you can redistribute it and/or
72 modify it under the terms of the GNU General Public License as
73 published by the Free Software Foundation; either version 3 of
74 the License, or (at your option) any later version.
77 This program is distributed in the hope that it will be
78 useful, but WITHOUT ANY WARRANTY; without even the implied
79 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
80 PURPOSE. See the GNU General Public License for more details.
83 You should have received a copy of the GNU General Public
84 License along with this program; if not, see
85 <ulink url="http://www.gnu.org/licenses"/>.