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 the
27 <literal>[cluster]</literal> section of
28 <citerefentry><refentrytitle>ctdb.conf</refentrytitle>
29 <manvolnum>5</manvolnum></citerefentry>:
31 <screen format="linespecific">
32 recovery lock = !ctdb_mutex_ceph_rados_helper [Cluster] [User] [Pool] [Object]
34 Cluster: Ceph cluster name (e.g. ceph)
35 User: Ceph cluster user name (e.g. client.admin)
36 Pool: Ceph RADOS pool name
37 Object: Ceph RADOS object name
40 The Ceph cluster <parameter>Cluster</parameter> must be up and running,
41 with a configuration, and keyring file for <parameter>User</parameter>
42 located in a librados default search path (e.g. /etc/ceph/).
43 <parameter>Pool</parameter> must already exist.
48 <title>SEE ALSO</title>
50 <citerefentry><refentrytitle>ctdb</refentrytitle>
51 <manvolnum>7</manvolnum></citerefentry>,
53 <citerefentry><refentrytitle>ctdbd</refentrytitle>
54 <manvolnum>1</manvolnum></citerefentry>,
56 <ulink url="http://ctdb.samba.org/"/>
63 This documentation was written by David Disseldorp
69 <holder>David Disseldorp</holder>
73 This program is free software; you can redistribute it and/or
74 modify it under the terms of the GNU General Public License as
75 published by the Free Software Foundation; either version 3 of
76 the License, or (at your option) any later version.
79 This program is distributed in the hope that it will be
80 useful, but WITHOUT ANY WARRANTY; without even the implied
81 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
82 PURPOSE. See the GNU General Public License for more details.
85 You should have received a copy of the GNU General Public
86 License along with this program; if not, see
87 <ulink url="http://www.gnu.org/licenses"/>.