2013-12-07 21:07:38 +00:00
|
|
|
.\" Man page generated from reStructuredText.
|
|
|
|
.
|
2014-01-12 16:48:00 +00:00
|
|
|
.TH "CEPH-CONF" "8" "January 12, 2014" "dev" "Ceph"
|
2009-03-11 03:49:30 +00:00
|
|
|
.SH NAME
|
2011-09-22 23:18:19 +00:00
|
|
|
ceph-conf \- ceph conf file tool
|
2011-09-09 23:25:14 +00:00
|
|
|
.
|
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
.
|
|
|
|
.de1 rstReportMargin
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
-
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
..
|
|
|
|
.de1 INDENT
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
. RS \\$1
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
..
|
|
|
|
.de UNINDENT
|
|
|
|
. RE
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
..
|
|
|
|
.
|
2013-12-07 21:07:38 +00:00
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
.
|
|
|
|
.de1 rstReportMargin
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
-
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
..
|
|
|
|
.de1 INDENT
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
. RS \\$1
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
..
|
|
|
|
.de UNINDENT
|
|
|
|
. RE
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
..
|
2009-03-11 03:49:30 +00:00
|
|
|
.SH SYNOPSIS
|
2011-09-09 23:25:14 +00:00
|
|
|
.nf
|
2011-09-22 23:18:19 +00:00
|
|
|
\fBceph\-conf\fP \-c \fIconffile\fP \-\-list\-all\-sections
|
|
|
|
\fBceph\-conf\fP \-c \fIconffile\fP \-L
|
|
|
|
\fBceph\-conf\fP \-c \fIconffile\fP \-l \fIprefix\fP
|
|
|
|
\fBceph\-conf\fP \fIkey\fP \-s \fIsection1\fP ...
|
|
|
|
\fBceph\-conf\fP [\-s \fIsection\fP ] \-\-lookup \fIkey\fP
|
|
|
|
\fBceph\-conf\fP [\-s \fIsection\fP ] \fIkey\fP
|
2011-09-09 23:25:14 +00:00
|
|
|
.fi
|
|
|
|
.sp
|
2009-03-11 03:49:30 +00:00
|
|
|
.SH DESCRIPTION
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-09-22 23:18:19 +00:00
|
|
|
\fBceph\-conf\fP is a utility for getting information about a ceph
|
2011-09-09 23:25:14 +00:00
|
|
|
configuration file. As with most Ceph programs, you can specify which
|
|
|
|
Ceph configuration file to use with the \fB\-c\fP flag.
|
2011-04-15 21:34:39 +00:00
|
|
|
.SH ACTIONS
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-09-22 23:18:19 +00:00
|
|
|
\fBceph\-conf\fP will perform one of the following actions:
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
\-\-list\-all\-sections or \-L prints out a list of all the section names in the configuration
|
|
|
|
file.
|
|
|
|
.sp
|
|
|
|
\-\-list\-sections or \-l prints out a list of all the sections that begin
|
|
|
|
with a given prefix. For example, \-\-list\-sections mon would list all
|
|
|
|
sections beginning with mon.
|
|
|
|
.sp
|
|
|
|
\-\-lookup will search the configuration for a given value. By default, the sections that
|
|
|
|
are searched are determined by the Ceph name that we are using. The Ceph name defaults to
|
|
|
|
client.admin. It can be specified with \-\-name.
|
|
|
|
.sp
|
|
|
|
For example, if we specify \-\-name osd.0, the following sections will be searched:
|
|
|
|
[osd.0], [osd], [global]
|
|
|
|
.sp
|
|
|
|
You can specify additional sections to search with \-\-section or \-s. These additional
|
|
|
|
sections will be searched before the sections that would normally be searched. As always,
|
|
|
|
the first matching entry we find will be returned.
|
|
|
|
.sp
|
|
|
|
Note: \-\-lookup is the default action. If no other actions are given on the command line,
|
|
|
|
we will default to doing a lookup.
|
2009-03-11 03:49:30 +00:00
|
|
|
.SH EXAMPLES
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-04-15 21:34:39 +00:00
|
|
|
To find out what value osd 0 will use for the "osd data" option:
|
2013-12-07 21:07:38 +00:00
|
|
|
.INDENT 0.0
|
|
|
|
.INDENT 3.5
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-09-22 23:18:19 +00:00
|
|
|
ceph\-conf \-c foo.conf \-\-name osd.0 \-\-lookup "osd data"
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
2013-12-07 21:07:38 +00:00
|
|
|
.UNINDENT
|
|
|
|
.UNINDENT
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-04-15 21:34:39 +00:00
|
|
|
To find out what value will mds a use for the "log file" option:
|
2013-12-07 21:07:38 +00:00
|
|
|
.INDENT 0.0
|
|
|
|
.INDENT 3.5
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-09-22 23:18:19 +00:00
|
|
|
ceph\-conf \-c foo.conf \-\-name mds.a "log file"
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
2013-12-07 21:07:38 +00:00
|
|
|
.UNINDENT
|
|
|
|
.UNINDENT
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
To list all sections that begin with osd:
|
2013-12-07 21:07:38 +00:00
|
|
|
.INDENT 0.0
|
|
|
|
.INDENT 3.5
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-09-22 23:18:19 +00:00
|
|
|
ceph\-conf \-c foo.conf \-l osd
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
2013-12-07 21:07:38 +00:00
|
|
|
.UNINDENT
|
|
|
|
.UNINDENT
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2011-04-15 21:34:39 +00:00
|
|
|
To list all sections:
|
2013-12-07 21:07:38 +00:00
|
|
|
.INDENT 0.0
|
|
|
|
.INDENT 3.5
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ft C
|
2011-09-22 23:18:19 +00:00
|
|
|
ceph\-conf \-c foo.conf \-L
|
2011-09-09 23:25:14 +00:00
|
|
|
.ft P
|
|
|
|
.fi
|
2013-12-07 21:07:38 +00:00
|
|
|
.UNINDENT
|
|
|
|
.UNINDENT
|
2009-03-11 03:49:30 +00:00
|
|
|
.SH AVAILABILITY
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
2013-12-07 21:07:38 +00:00
|
|
|
\fBceph\-conf\fP is part of the Ceph distributed storage system. Please refer
|
2012-09-27 21:23:42 +00:00
|
|
|
to the Ceph documentation at \fI\%http://ceph.com/docs\fP for more
|
2011-09-09 23:25:14 +00:00
|
|
|
information.
|
2009-03-11 03:49:30 +00:00
|
|
|
.SH SEE ALSO
|
2011-09-09 23:25:14 +00:00
|
|
|
.sp
|
|
|
|
\fBceph\fP(8),
|
|
|
|
.SH COPYRIGHT
|
2014-01-12 16:48:00 +00:00
|
|
|
2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons BY-SA
|
2011-09-09 23:25:14 +00:00
|
|
|
.\" Generated by docutils manpage writer.
|
|
|
|
.
|