[Gluster-devel] Client side afr versus server side, doing a self-heal

Krishna Srinivas krishna at zresearch.com
Thu May 1 07:11:58 UTC 2008


On Thu, May 1, 2008 at 11:37 AM, Brandon Lamb <brandonlamb at gmail.com> wrote:
> Would I be correct in this thinking?
>
>  2 servers as data nodes, multiple clients doing afr client side. This
>  is a new setup where server1 has 100 gigs of data and server2 has
>  empty directory.
>
>  So by doing afr client side, does the client have to read and transfer
>  data FROM server1, and then copy it to server2?

yes.

> Would doing server
>  side afr be faster for this process?

Server will still have to replicate so there should not be any difference.

> Or does server1 magically know to
>  send the file directly to server2? Im assuming no, because from my
>  understanding server1 and server2 dont even know about each other as
>  its the client doing the afr?

your assumption is right

>
>  I guess there are multiple ways to get your initial setup, set up as
>  well? What would you recommend in a situation like this? Setup server
>  side afr at first to get the data to server2 then take down the
>  cluster and set it up as client side afr once all the data is copied?

There is no recommended way, up to your convenience.


>  Or just go with the data having to be copied over the network twice
>  (if this is how it works)

I could not understand this...

Regards
Krishna

>
>
>  _______________________________________________
>  Gluster-devel mailing list
>  Gluster-devel at nongnu.org
>  http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list