]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: add initial quorum config options
authorSage Weil <sage@inktank.com>
Thu, 17 May 2012 04:15:28 +0000 (21:15 -0700)
committerSage Weil <sage@inktank.com>
Fri, 18 May 2012 23:21:38 +0000 (16:21 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index 7d97b9d424e0d0dcec1e232d5df8773a4f150f80..399c41e2cca3927497e0ef9e72cc9f17ceaec6da 100644 (file)
@@ -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)