Gerald,

This should work.  Geo-replication is separate for regular replication.  Once 
you have fixed the replication by putting the new hardware in place and 
performing the replace-brick operation, you will want to trigger a self heal:

http://www.gluster.com/community/documentation/index.php/Gluster_3.2:_Migrating_Volumes
http://www.gluster.com/community/documentation/index.php/Gluster_3.2:_Triggering_Self-Heal_on_Replicate

Then you will want to set up passwordless SSH from root on one of those 
systems, to root at the remote Gluster system.  Keep in mind that the 
dependencies all have to be correct for geo-replication on both ends and that 
it is advisable to have a Gluster volume at the remote end even if it only has 
one brick since you can expand it later if you need.  You may also want to make 
sure you have 3.2.3 running at both ends.  You then initiate geo-replication 
like:

gluster volume geo-replication VOLNAME root@REMOTEHOST::REMOTEVOLNAME start

You can check the status after a few minutes and it will say OK when it is 
working.  If it says anything other than that, dependencies are probably the 
issue.  In the commercial appliances we make sure all of the dependencies are 
in place. For open source you will want to check the documentation for the list.

-Jacob

-----Original Message-----
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Gerald Brandt
Sent: Thursday, September 29, 2011 4:37 AM
To: gluster-users@gluster.org
Subject: [Gluster-users] Replication and geo-replication.

Hi,

Will the following scenario work?

I created a 2 bricks with replication.  The second brick was my personal 
machine, so I removed it from the gluster.  I'm now running a replica system 
with a single brick (ie: no replication).

When my new hardware comes in, I'll add it as the second brick to the replica, 
and patiently wait while it syncs data.

Once I have a running replica, can I add geo-replication to the mix?  If so, 
how would that be done?

Gerald
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to