Andy Sporner | 8 Sep 2003 10:04
Picon

Directory shadowing utility now available...

Hi list,

After a long silence, I have some software to release.

The link:

http://www.sporner.com/freebsdclusters/frep

What it is:

Well it's a start of a directory replication scheme.  In the moment it
replicates changes from one filesystem tree to another on a remote
machine.  NO THIS IS NOT NFS!!  As files are changed, the changes
are reflected to another node.  This creates a duplicate of the data changes
that are occurring locally.

The directories that are replicated are configured (up to 16 at present).
Any changes (file creation, writes, deletes) are also performed on the
remote system (assyncronously).

For more information read the README in the package.  It lists
the installation instructions as well as the current limitations.

Bye!

Andy

_______________________________________________
freebsd-cluster <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
(Continue reading)

Andy Sporner | 8 Sep 2003 10:18
Picon

Re: Directory shadowing utility now available...

PS.

It has been tested with 5.0-RELEASE.   If there are any
brave souls who wish to try other FreeBSD releases,
let me know the results.  

Andy

Andy Sporner wrote:

> Hi list,
>
> After a long silence, I have some software to release.
>
> The link:
>
> http://www.sporner.com/freebsdclusters/frep
>
> What it is:
>
> Well it's a start of a directory replication scheme.  In the moment it
> replicates changes from one filesystem tree to another on a remote
> machine.  NO THIS IS NOT NFS!!  As files are changed, the changes
> are reflected to another node.  This creates a duplicate of the data 
> changes
> that are occurring locally.
>
> The directories that are replicated are configured (up to 16 at present).
> Any changes (file creation, writes, deletes) are also performed on the
> remote system (assyncronously).
(Continue reading)

Evgeny Dolgopiat | 9 Sep 2003 14:05
Picon

Re: Directory shadowing utility now available...

Hello!

I tested your frep utility on  CURRENT. Device code (frep.c.patch) has error:

243+ 	if (strlen(xpath) > 1) { /* must be - if (strlen(xpath) > 0) */
244+ 		*cptr++ = '/';
245+ 	}

When I use dd command to create big file
(dd if=/dev/urandom of=/{path_to_frep_directory}/bigfile bs=1024 count=10000), 
frep goes to overrun very quickly :(
Are you have some ideas to correct this problem?
Maybe dynamic queue with sysctl tunable size will help?

And one more question:
What about data recovery? How directory data from client will get to new
server? I mean if one server goes down and i'll set up new one instead of it.
Do you have some ideas or protocol?

Best wishes, Evgeny :)

_______________________________________________
freebsd-cluster <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
To unsubscribe, send any mail to "freebsd-cluster-unsubscribe <at> freebsd.org"

Evgeny Dolgopiat | 1 Oct 2003 13:44
Picon

ng_one2many heartbeat algorithm for LAN fault tolerance

Hi all,

The link to the patches and some docs:
http://www.watson.org/~ilmar/download/ng_one2many.tbz

What is it
Link failure determination for one2many netgraph node.
	
How it works
It is implemented as "heartbeat" packet counters on all one2many tranked
interfaces. If the number of packest hook received is less for some
specified value than max number of packest, received by another hooks of the
node, then interface is marked as failed (subnet or link failure). If this
difference is less than this value and interface is marked as failed, then
interface is up and working.

How to setup
Algorithm number is 2, so to configure node one should issue "setconfig 
{xmitAlg=1 failAlg=2}" message for ng_one2many node.

There are two params of algorithm:
	timeout - time between sending of hearbeat packets (integer number of 1/10 
sec)
	period - number of timeouts for failure determination statistics
Default values are timeout=10 and period=10.

Two new node messages: "gethbconfig" and 
"sethbconfig {timeout=X period=Y}" for getting and 
setting heartbeat algorithm params.

(Continue reading)


Gmane