It's straightforward to add multiple DNS names to an endpoint. We do
this for the sort of reasons you suggest. You then don't need separate
rgw instances (not for this reason anyway).
Assuming default:
* radosgw-admin zonegroup get > zg-default
* Edit zg-default, changing "hostnames" to e.g. ["host1",
"host1.domain", "host2", "host2.domain"]
* radosgw-admin zonegroup set --infile zg-default
* Restart all rgw instances
Chris
On 16/08/2021 07:52, Burkhard Linke wrote:
Hi,
we are running RGW behind haproxy for TLS termination and load
balancing. Due to some major changes in our setup, we would like to
start a smooth transition to a new hostname of the S3 endpoint. The
haproxy part should be straightforward (adding a second frontend).
But on the RGW side it might be more complex. Let's assume that the
current DNS name is example.com, and I want to transition to
example.org. The example.com name is set as rgw_dns_name in the ceph
configuration for that rgw instance. It is also set as a single
endpoint in the active zone/zonegroup.
Is it sufficient to update the zonegroup setting and add a second
endpoint for example.org? User should be able to access their bucket
as bucket.example.org and bucket.example.com during the transition time.
Regards,
Burkhard
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx