From 17a7aefec3e9523d922efcfc5b2d1522d08b1e99 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Wed, 16 Nov 2022 17:42:08 +0100 Subject: [PATCH] =?UTF-8?q?Ceph:=20m=C3=A0j=20proc=C3=A9dure=20install=20r?= =?UTF-8?q?adosgw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoCeph.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 : ~~~