Synchronizing data in a multi-site Ceph Object Gateway configuration
In a multi-site Ceph Object Gateway configuration of a storage cluster, failover and failback causes data synchronization to stop. The radosgw-admin sync status command reports that the data sync is behind for an extended period of time.
About this task
You can run the radosgw-admin data sync init command to synchronize data
between the sites and then restart the Ceph Object Gateway. This command does not touch any actual
object data and initiates data sync for a specified source zone. It causes the zone to restart a
full sync from the source zone.
Important: Contact IBM Support before running the data sync init
command. If you are going for a full restart of sync, and if there is a lot of data that needs to be
synced on the source zone, then the bandwidth consumption is high and then you have to plan
accordingly.
Note: If a user accidentally deletes a bucket on the secondary site, you can use
the metadata sync init command on the site to synchronize data.
Before you begin
- A running IBM Storage Ceph cluster.
- Ceph Object Gateway configured at two sites at least.