2015-04-07 10:11:29 +00:00
|
|
|
:orphan:
|
|
|
|
|
2011-09-23 22:52:49 +00:00
|
|
|
=================================
|
2011-09-21 23:28:43 +00:00
|
|
|
ceph-mon -- ceph monitor daemon
|
2011-09-23 22:52:49 +00:00
|
|
|
=================================
|
2011-09-09 23:21:52 +00:00
|
|
|
|
2011-09-23 20:39:05 +00:00
|
|
|
.. program:: ceph-mon
|
2011-09-09 23:21:52 +00:00
|
|
|
|
|
|
|
Synopsis
|
|
|
|
========
|
|
|
|
|
2011-09-23 20:39:05 +00:00
|
|
|
| **ceph-mon** -i *monid* [ --mon-data *mondatapath* ]
|
2011-09-09 23:21:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
===========
|
|
|
|
|
2011-09-23 20:39:05 +00:00
|
|
|
**ceph-mon** is the cluster monitor daemon for the Ceph distributed
|
|
|
|
file system. One or more instances of **ceph-mon** form a Paxos
|
|
|
|
part-time parliament cluster that provides extremely reliable and
|
|
|
|
durable storage of cluster membership, configuration, and state.
|
2011-09-09 23:21:52 +00:00
|
|
|
|
|
|
|
The *mondatapath* refers to a directory on a local file system storing
|
|
|
|
monitor data. It is normally specified via the ``mon data`` option in
|
|
|
|
the configuration file.
|
|
|
|
|
|
|
|
Options
|
|
|
|
=======
|
|
|
|
|
|
|
|
.. option:: -f, --foreground
|
|
|
|
|
|
|
|
Foreground: do not daemonize after startup (run in foreground). Do
|
2011-09-21 23:28:43 +00:00
|
|
|
not generate a pid file. Useful when run via :doc:`ceph-run <ceph-run>`\(8).
|
2011-09-09 23:21:52 +00:00
|
|
|
|
|
|
|
.. option:: -d
|
|
|
|
|
|
|
|
Debug mode: like ``-f``, but also send all log output to stderr.
|
|
|
|
|
|
|
|
.. option:: -c ceph.conf, --conf=ceph.conf
|
|
|
|
|
|
|
|
Use *ceph.conf* configuration file instead of the default
|
|
|
|
``/etc/ceph/ceph.conf`` to determine monitor addresses during
|
|
|
|
startup.
|
|
|
|
|
2011-12-19 21:47:43 +00:00
|
|
|
.. option:: --mkfs
|
|
|
|
|
|
|
|
Initialize the ``mon data`` directory with seed information to form
|
|
|
|
and initial ceph file system or to join an existing monitor
|
|
|
|
cluster. Three pieces of information must be provided:
|
|
|
|
|
|
|
|
- The cluster fsid. This can come from a monmap (``--monmap <path>``) or
|
|
|
|
explicitly via ``--fsid <uuid>``.
|
|
|
|
- A list of monitors and their addresses. This list of monitors
|
|
|
|
can come from a monmap (``--monmap <path>``), the ``mon host``
|
|
|
|
configuration value (in *ceph.conf* or via ``-m
|
2012-02-14 23:52:55 +00:00
|
|
|
host1,host2,...``), or ``mon addr`` lines in *ceph.conf*. If this
|
2011-12-19 21:47:43 +00:00
|
|
|
monitor is to be part of the initial monitor quorum for a new
|
|
|
|
Ceph cluster, then it must be included in the initial list,
|
|
|
|
matching either the name or address of a monitor in the list.
|
|
|
|
When matching by address, either the ``public addr`` or ``public
|
|
|
|
subnet`` options may be used.
|
|
|
|
- The monitor secret key ``mon.``. This must be included in the
|
|
|
|
keyring provided via ``--keyring <path>``.
|
|
|
|
|
|
|
|
.. option:: --keyring
|
|
|
|
|
|
|
|
Specify a keyring for use with ``--mkfs``.
|
|
|
|
|
2011-09-09 23:21:52 +00:00
|
|
|
|
|
|
|
Availability
|
|
|
|
============
|
|
|
|
|
2015-01-22 02:16:35 +00:00
|
|
|
**ceph-mon** is part of Ceph, a massively scalable, open-source, distributed storage system. Please refer
|
2012-06-16 21:50:29 +00:00
|
|
|
to the Ceph documentation at http://ceph.com/docs for more
|
2011-09-23 20:39:05 +00:00
|
|
|
information.
|
2011-09-09 23:21:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
See also
|
|
|
|
========
|
|
|
|
|
|
|
|
:doc:`ceph <ceph>`\(8),
|
2011-09-22 22:16:56 +00:00
|
|
|
:doc:`ceph-mds <ceph-mds>`\(8),
|
|
|
|
:doc:`ceph-osd <ceph-osd>`\(8)
|