Ajouter section RGW
This commit is contained in:
parent
edea6ec405
commit
986c250749
20
HowtoCeph.md
20
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 <hostname>
|
||||
$ 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=/<hostname>/127.0.0.1
|
||||
# systemctl restart dnsmasq.service
|
||||
# printf 'nameserver 127.0.0.1\n' >> /etc/resolv.conf
|
||||
# ping quelquechose.<hostname> # devrait ping 127.0.0.1
|
||||
# radosgw-admin user create --uid="testuser" --display-name="First User"
|
||||
~~~
|
||||
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
## Impossible d'ajouter un RBD à une VM
|
||||
|
|
Loading…
Reference in a new issue