[sheepdog] [PATCH] nd
Liu Yuan
namei.unix at gmail.com
Wed Feb 25 02:48:07 CET 2015
- Previous message: [sheepdog] [PATCH] nd
- Next 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.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Tue, Feb 24, 2015 at 06:17:58PM +0800, Yu Yang wrote:
>
> 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
>
>
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog
Please reference https://github.com/sheepdog/sheepdog/wiki/Submit-a-patch for
the well-formated patch header. Or git log will show you some examples.
Thanks
Yuan
- Previous message: [sheepdog] [PATCH] nd
- Next 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.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the sheepdog
mailing list