diff --git a/HowtoCeph.md b/HowtoCeph.md index a496bc5a..ba9d1df6 100644 --- a/HowtoCeph.md +++ b/HowtoCeph.md @@ -795,17 +795,21 @@ $ ceph-fuse -n $CEPH_USERNAME -m $MONITOR_IP_ADDRESS:6789 /mnt/mycephfs -r /dir0 ## Installer un démon RadosGW -On souhaite installer un démon RadosGW (RGW) sur ``. On suppose pour `` est déjà un nœud du _cluster_ Ceph. +On souhaite installer un démon RadosGW (RGW) sur ``. On suppose pour `` est un nœud du _cluster_ Ceph. ~~~ -# apt install radosgw +# apt install radosgw # certainement déjà installé # mkdir /var/lib/ceph/radosgw/ceph-rgw."${HOSTNAME}" +# ceph auth get client.bootstrap-rgw | grep -e '^\[' -e '^[[:space:]]*key' > /var/lib/ceph/bootstrap-rgw/ceph.keyring # ceph --cluster ceph --name client.bootstrap-rgw --keyring /var/lib/ceph/bootstrap-rgw/ceph.keyring auth get-or-create client.rgw."${HOSTNAME}" osd 'allow rwx' mon 'allow rw' -o /var/lib/ceph/radosgw/ceph-rgw."${HOSTNAME}"/keyring +# rm /var/lib/ceph/bootstrap-rgw/ceph.keyring # systemctl enable ceph-radosgw@rgw."${HOSTNAME}" # systemctl start ceph-radosgw@rgw."${HOSTNAME}" # systemctl enable ceph.target ~~~ +Cette procédure va provoquer la création de plusieurs _pools_ pour le stockage object. + Le démon RGW devrait être joignable sur le port 7480. Une simple requête GET sur http://127.0.0.1:7480/ devrait retourner : ~~~