Manually Setting Time
If you have to change the time on your bricks manually, then you must set uniform time on all bricks. This avoids the out-of-time sync issue described in Section 11.2.4, “Setting Up the Environment for Geo-replication”. Setting time backward corrupts the geo-replication index, so the recommended way to set the time manually is:
- Stop geo-replication between the master and slave using the following command:
# gluster volume geo-replicationMASTER SLAVEstop - Stop the geo-replication indexing using the following command:
# gluster volume setMASTERgeo-replication.indexing off - Set uniform time on all bricks.
- Restart your geo-replication sessions by using the following command:
# gluster volume geo-replicationMASTER SLAVEstart
Running Geo-replication commands in one system
It is advisable to run the geo-replication commands in one of the bricks in the trusted storage pool. This is because, the log files for the geo-replication session would be stored in the Server where the Geo-replication
start command is initiated. Hence it would be easier to locate the log-files when required.