From 986c2507493d969b3602eb30dbe5b060173a5fc6 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Thu, 25 Aug 2022 17:51:54 +0200 Subject: [PATCH] Ajouter section RGW --- HowtoCeph.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/HowtoCeph.md b/HowtoCeph.md index e73adb68..47a882a4 100644 --- a/HowtoCeph.md +++ b/HowtoCeph.md @@ -783,6 +783,26 @@ $ ceph-fuse -n $CEPH_USERNAME -m $MONITOR_IP_ADDRESS:6789 /mnt/mycephfs -r /dir0 > Le mécanisme de restriction d'accès fonctionne aussi bien avec `ceph-fuse` qu'avec `mount.ceph`. +# RGW + +> Cette section est en cours d’écriture ! + +~~~ +# sudo -i -u cephuser +$ cd ~/ceph +$ ceph-deploy --overwrite-conf rgw create +$ exit +# ss -lnpt | grep 7480 # un processus radosgw devrait écouter le port 7480 +# printf 'rgw_override_bucket_index_max_shards = 32\n' >> /etc/ceph/ceph.conf +# apt install dnsmasq +# vi /etc/dnsmasq.conf # address=//127.0.0.1 +# systemctl restart dnsmasq.service +# printf 'nameserver 127.0.0.1\n' >> /etc/resolv.conf +# ping quelquechose. # devrait ping 127.0.0.1 +# radosgw-admin user create --uid="testuser" --display-name="First User" +~~~ + + # Troubleshooting ## Impossible d'ajouter un RBD à une VM