From: Sage Weil Date: Thu, 17 May 2012 04:15:28 +0000 (-0700) Subject: mon: add initial quorum config options X-Git-Tag: v0.48argonaut~137^2~13^2~44 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e197e79dc71d342ed2d7b2625b2c625f673358cd;p=ceph.git mon: add initial quorum config options Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 7d97b9d424e0..399c41e2cca3 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -96,6 +96,8 @@ OPTION(ms_rwthread_stack_bytes, OPT_U64, 1024 << 10) OPTION(ms_tcp_read_timeout, OPT_U64, 900) OPTION(ms_inject_socket_failures, OPT_U64, 0) OPTION(mon_data, OPT_STR, "/var/lib/ceph/mon/$cluster-$id") +OPTION(mon_initial_members, OPT_STR, "") // list of initial cluster mon ids; if specified, need majority to form initial quorum and create new cluster +OPTION(mon_initial_hosts, OPT_STR, "") // list of initial cluster mon hosts; if specified, need majority to form initial quorum and create new cluster OPTION(mon_sync_fs_threshold, OPT_INT, 5) // sync() when writing this many objects; 0 to disable. OPTION(mon_tick_interval, OPT_INT, 5) OPTION(mon_subscribe_interval, OPT_DOUBLE, 300)