0. preview
本文的例子基于ceph 10.2.3。
本文以一个例子来介绍如何配置RGW的远程同步(multisite),对于其机制的研究,见http://blog.youkuaiyun.com/for_tech/article/details/68928185
1. Overview
+--- master-zone : 1 or more rgw backed by ceph cluster1+--- secondary-zone-1 : 1 or more rgw backed by ceph cluster2
+-master-zone-group ----------+ ......
| +--- secondary-zone-N : 1 or more rgw backed by ceph clusterN
|
| +--- master-zone
| +--- secondary-zone-1
realm---+-secondary-zone-group-1------+ ......
| +--- secondary-zone-N
+-secondary-zone-group-2
|
+ ......
|
+-secondary-zone-group-N
2. Example
In this example, I will make a simplest configuration:+--- zone_master_hyg : client.radosgw.gateway0 on ceph-cluster-1
realm_hyg - zonegroup_hyg --+
+--- zone_secondary_hyg : client.radosgw.gateway1 on ceph-cluster-2