Deploying RGW

We will use the Ansible lab deployed in Chapter 2, Deploying Ceph with Containers, to deploy a RGW.

First, edit the /etc/ansible/hosts file and add the rgws role to the mon3 VM:

We also need to update the /etc/ansible/group_vars/ceph file to add the radosgw_address variable; it will be set to [::], which means bind to all IPv4 and IPv6 interfaces:

Now run the Ansible playbook again:

ansible-playbook -K site.yml

After running, you should see it has successfully deployed the RGW component:

Viewing the Ceph status from a monitor ...

Get Mastering Ceph - Second Edition 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.