[sheepdog] [PATCH] nd
Yu Yang
yuyang at cmss.chinamobile.com
Tue Feb 24 11:17:58 CET 2015
- Previous message: [sheepdog] [PATCH] Modified zookeeper driver to support multi-sheep cluster in one zookeeper cluster. In order to distinguish different sheep cluster in one zookeeper, one more level directory is added in znode as domain. The same domain means the same sheep cluster. For example, the current directory tree seems like /sheepdog/(queue, member, master, lock), in this patch, it seems like /sheepdog/domain/(queue, member, master, lock). In sheep.c, cluster_help is modified for tips, In zookeeper.c, all codes related to znode path is modified.
- Next message: [sheepdog] [PATCH] nd
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>
---
sheep/sheep.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sheep/sheep.c b/sheep/sheep.c
index a5ba208..5e5f287 100644
--- a/sheep/sheep.c
+++ b/sheep/sheep.c
@@ -68,9 +68,10 @@ static const char cluster_help[] =
"\tlocal: use local driver\n"
"\tcorosync: use corosync driver\n"
"\tzookeeper: use zookeeper driver, need extra arguments\n"
-"\n\tzookeeper arguments: address-list,timeout=value(default as 3000),domain=value(default as sd_domain_default)\n"
+"\n\tzookeeper arguments: address-list,timeout=value(default as 3000)"
+",domain=value(default as sd_domain_default)\n"
"\nExample:\n\t"
-"$ sheep -c zookeeper:IP1:PORT1,IP2:PORT2,IP3:PORT3,timeout=1000,domain=sheep_domain ...\n"
+"$ sheep -c zookeeper:IP1:PORT1,IP2:PORT2,IP3:PORT3,timeout=1000,domain=sheep_01 ...\n"
"This tries to use 3 node zookeeper cluster, which can be reached by\n"
"IP1:PORT1, IP2:PORT2, IP3:PORT3 to manage membership and broadcast message\n"
"and set the timeout of node heartbeat as 1000 milliseconds\n"
--
1.7.9.5
- Previous message: [sheepdog] [PATCH] Modified zookeeper driver to support multi-sheep cluster in one zookeeper cluster. In order to distinguish different sheep cluster in one zookeeper, one more level directory is added in znode as domain. The same domain means the same sheep cluster. For example, the current directory tree seems like /sheepdog/(queue, member, master, lock), in this patch, it seems like /sheepdog/domain/(queue, member, master, lock). In sheep.c, cluster_help is modified for tips, In zookeeper.c, all codes related to znode path is modified.
- Next message: [sheepdog] [PATCH] nd
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the sheepdog
mailing list