You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Jürgen Jakobitsch <ja...@punkt.at> on 2011/04/12 13:36:29 UTC
Zookeeper Directory Replication
hi zookeepers,
as a complete zk noob i'm really proud that i have managed to set up my first
training cluster on two nodes that really works.
unfortunately i'm not doing this for fun. i'm in need of synchronizing a whole directory
between servers and know that it should be working with zk, since its working with solr
and neo4j and they have a similar store to copy, it's only a little hard to grasp.
could some be so kind as to point me into the right direction on how to use zookeeper to
synchronize a whole directory with all its contents between nodes. i'm using openrdf sesame's
triple store, which stores it's datafiles in a single directory (most of these files
get certainly bigger than 1MB) that i need to have available on different nodes.
1. is this a suitable use case for zk?
2. is there a standard way of doing this?
3. how do i store a file (directory) reference in a znode and have that file (directory) watched for changes?
any hint 'n help really appreciated
wkr turnguard.com/turnguard
--
punkt. netServices
______________________________
Jürgen Jakobitsch
Codeography
Lerchenfelder Gürtel 43 Top 5/2
A - 1160 Wien
Tel.: 01 / 897 41 22 - 29
Fax: 01 / 897 41 22 - 22
netServices http://www.punkt.at