summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-05-18 10:52:04 -0700
committerSage Weil <sage@inktank.com>2012-05-18 16:23:59 -0700
commitece33e5bb54ada9c63c75742af0d5990e601b7d2 (patch)
tree485761c4690401c6726acb5efef8b7f27c43721e /doc
parent1473ef43bc2662b8ad5b50e12841893bfe38cd09 (diff)
downloadceph-ece33e5bb54ada9c63c75742af0d5990e601b7d2.tar.gz
monmaptool: add --generate, --filter-initial options
Generate a monmap from conf/args, and apply the mon initial hosts to it. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/8/monmaptool.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/man/8/monmaptool.rst b/doc/man/8/monmaptool.rst
index 52ec475cc04..95b4610a749 100644
--- a/doc/man/8/monmaptool.rst
+++ b/doc/man/8/monmaptool.rst
@@ -44,6 +44,22 @@ Options
will create a new monitor map with a new UUID (and with it, a new,
empty Ceph file system).
+.. option:: --generate
+
+ generate a new monmap based on the values on the command line or specified
+ in the ceph configuration. This is, in order of preference,
+
+ #. ``--monmap filename`` to specify a monmap to load
+ #. ``--mon-host 'host1,ip2'`` to specify a list of hosts or ip addresses
+ #. ``[mon.foo]`` sections containing ``mon addr`` settings in the config
+
+.. option:: --filter-initial-members
+
+ filter the initial monmap by applying the ``mon initial members``
+ setting. Monitors not present in that list will be removed, and
+ initial members not present in the map will be added with dummy
+ addresses.
+
.. option:: --add name ip:port
will add a monitor with the specified ip:port to the map.