Ceph: màj procédure install radosgw
This commit is contained in:
parent
df5c384f38
commit
17a7aefec3
|
@ -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 `<HOSTNAME>`. On suppose pour `<HOSTNAME>` est déjà un nœud du _cluster_ Ceph.
|
||||
On souhaite installer un démon RadosGW (RGW) sur `<HOSTNAME>`. On suppose pour `<HOSTNAME>` 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 :
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in New Issue