gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Adding nodes


From: Marcus Herou
Subject: [Gluster-devel] Adding nodes
Date: Tue, 27 May 2008 11:03:43 +0200

Hi.

I have a question regarding expanding a glusterfs system which
probably been answered but still.

Lets say I use Unify over AFR and have 3 nodes where each file is
replicated twice.

Probably first hand a client file like the one on the web.

volume brick1
 type protocol/client
 option transport-type tcp/client     # for TCP/IP transport
 option remote-host 192.168.1.1      # IP address of the remote brick
 option remote-subvolume brick        # name of the remote volume
end-volume

volume brick2
 type protocol/client
 option transport-type tcp/client
 option remote-host 192.168.1.2
 option remote-subvolume brick
end-volume

volume brick3
 type protocol/client
 option transport-type tcp/client
 option remote-host 192.168.1.3
 option remote-subvolume brick
end-volume

volume brick-ns1
 type protocol/client
 option transport-type tcp/client
 option remote-host 192.168.1.1
 option remote-subvolume brick-ns
end-volume

volume brick-ns2
 type protocol/client
 option transport-type tcp/client
 option remote-host 192.168.1.2
 option remote-subvolume brick-ns
end-volume

volume afr1
 type cluster/afr
 subvolumes brick1 brick2
end-volume

volume afr2
 type cluster/afr
 subvolumes brick2 brick3
end-volume

volume afr-ns
 type cluster/afr
 subvolumes brick-ns1 brick-ns2
end-volume

volume unify
 type cluster/unify
 option namespace afr-ns
 option scheduler rr
 subvolumes afr1 afr2
end-volume

And after I add another node I add the following:

....
volume brick4
 type protocol/client
 option transport-type tcp/client
 option remote-host 192.168.1.4
 option remote-subvolume brick
end-volume
....
volume afr3
 type cluster/afr
 subvolumes brick3 brick4
end-volume
....
volume unify
 type cluster/unify
 option namespace afr-ns
 option scheduler rr
 subvolumes afr1 afr2 afr3
end-volume


So the question is really: Will the new node4 get the data from node3
automatically ?


I appreciate any answers.

Kindly

//Marcus





--
Marcus Herou CTO and co-founder Tailsweep AB
+46702561312
address@hidden
http://www.tailsweep.com/
http://blogg.tailsweep.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]