From b199ac6c414389c2777f9daa4f38b6198eafffde Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 6 Aug 2015 22:32:42 +0800 Subject: [PATCH] doc/rados/operations/add-or-rm-mons: simplify the steps to add a mon this change removes the step to "ceph mon add" before starting a new monitor. because the existing leader will start an election at seeing the MMonJoin message sent by the new joiner, after the quorum is archieved, the monmap will be updated with the new monitor. so, "ceph mon add" is not necessary to add a new monitor. moreover, this command will be blocked until a new quorum is formed, and the proposed monmap is accepted. but in case of adding a monitor to a single monitor cluster, the leader will wait until at least two of the monitors reply to it. apparently, this does not happen unless the new monitor starts. so from the user's point of view, this command hangs until timesout, if he/she does not start the mon.b beforehand. but this is an expected behaviour. so, to avoid this confusion and simplify the steps to add a new monitor. we'd better simply remove this "ceph mon add" step. Fixes: #12620 Signed-off-by: Kefu Chai --- doc/rados/operations/add-or-rm-mons.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/rados/operations/add-or-rm-mons.rst b/doc/rados/operations/add-or-rm-mons.rst index cd100d42bda..7a76453ea67 100644 --- a/doc/rados/operations/add-or-rm-mons.rst +++ b/doc/rados/operations/add-or-rm-mons.rst @@ -114,11 +114,6 @@ on ``mon.a``). sudo ceph-mon -i {mon-id} --mkfs --monmap {tmp}/{map-filename} --keyring {tmp}/{key-filename} -#. Add the new monitor to the list of monitors for you cluster (runtime). This enables - other nodes to use this monitor during their initial startup. :: - - ceph mon add [:] - #. Start the new monitor and it will automatically join the cluster. The daemon needs to know which address to bind to, either via ``--public-addr {ip:port}`` or by setting ``mon addr`` in the