Testing the radosgw federated configuration
To test the federated configuration, we will first add some objects to the us-east
zone via the radosgw
instance, us-east-1
, using Swift. Then, after the data synchronization between the us-east
and us-west
zones, we will access the same objects from the us-west
zone via the us-west-1
gateway interface.
How to do it…
- For the
us-east
zone user, create a Swift subuser:# radosgw-admin subuser create --uid="us-east" --subuser="us-east:swift" --access=full --name client.radosgw.us-east-1 --key-type swift --secret="7VJm8uAp71xKQZkjoPZmHu4sACA1SY8jTjay9dP5" # radosgw-admin subuser create --uid="us-east" --subuser="us-east:swift" --access=full --name client.radosgw.us-west-1 --key-type swift --secret="7VJm8uAp71xKQZkjoPZmHu4sACA1SY8jTjay9dP5" ...
Get Ceph Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.