In the following sections, you will be configuring the master zone and secondary zone for RGW active-active multi-site; this means you can write data on both of the sites and it will be replicated to the other site cluster. Metadata operations like user creation should only be performed on the primary site.
We will use the following steps to configure the RGW multi-site v2 master zone and the secondary zone:
All RADOS Gateways in a multi-site v2 configuration will get their configuration from a radosgw
daemon on a node within the master zone group and master zone. To configure your RADOS Gateways in a multi-site v2 configuration, you need to choose a radosgw
instance to configure the master zone group and master zone. You should be using the us-east-1
RGW instance to configure your master zone:
- Create an RGW keyring in the
/etc/ceph
path and check if you are able to access the cluster with user RGW Cephx:
# cp...