HowtoCeph: https
This commit is contained in:
parent
0810195ddc
commit
61435828c3
29
HowtoCeph.md
29
HowtoCeph.md
|
@ -3,7 +3,7 @@ categories: cloud storage
|
||||||
title: Howto Ceph
|
title: Howto Ceph
|
||||||
...
|
...
|
||||||
|
|
||||||
* Documentation : <http://docs.ceph.com>
|
* Documentation : <https://docs.ceph.com>
|
||||||
* Notre présentation de Ceph en vidéo (1h10) : <https://www.youtube.com/watch?v=9VzZKGFfjGw>
|
* Notre présentation de Ceph en vidéo (1h10) : <https://www.youtube.com/watch?v=9VzZKGFfjGw>
|
||||||
* Thèse de Sage Weil : <https://ceph.com/wp-content/uploads/2016/08/weil-thesis.pdf>
|
* Thèse de Sage Weil : <https://ceph.com/wp-content/uploads/2016/08/weil-thesis.pdf>
|
||||||
* Publications sur Ceph : <https://ceph.io/publications/>
|
* Publications sur Ceph : <https://ceph.io/publications/>
|
||||||
|
@ -335,7 +335,7 @@ Pour redémarrer tous les services du _cluster_ faire, sur tous les nœuds du cl
|
||||||
# systemctl stop ceph\*.service ceph\*.target
|
# systemctl stop ceph\*.service ceph\*.target
|
||||||
# systemctl start ceph.target
|
# systemctl start ceph.target
|
||||||
|
|
||||||
Pour plus de détails : [Operating a Cluster](http://docs.ceph.com/docs/luminous/rados/operations/operating/).
|
Pour plus de détails : [Operating a Cluster](https://docs.ceph.com/docs/luminous/rados/operations/operating/).
|
||||||
|
|
||||||
# Gestion des comptes utilisateurs
|
# Gestion des comptes utilisateurs
|
||||||
|
|
||||||
|
@ -915,40 +915,29 @@ Il s’agit un outil en ligne de commande pour interagir avec du stockage compat
|
||||||
|
|
||||||
On défini un _alias_, qui est un nom pour le stockage S3.
|
On défini un _alias_, qui est un nom pour le stockage S3.
|
||||||
|
|
||||||
```
|
$ mc alias set <alias> https://<hote> <access_key> <secret_key>
|
||||||
mc alias set <alias> http://<hote> <access_key> <secret_key>
|
|
||||||
```
|
|
||||||
|
|
||||||
> Si on peut aussi préciser un port :
|
> Si on peut aussi préciser un port :
|
||||||
> ```
|
>
|
||||||
> mc alias set <alias> http://<hote>:<port> <access_key> <secret_key>
|
> $ mc alias set <alias> https://<hote>:<port> <access_key> <secret_key>
|
||||||
> ```
|
|
||||||
|
|
||||||
> La configuration est écrite dans le fichier `~/.mc/config.json`
|
> La configuration est écrite dans le fichier `~/.mc/config.json`
|
||||||
|
|
||||||
Pour créer un _bucket_ :
|
Pour créer un _bucket_ :
|
||||||
|
|
||||||
```
|
$ mc mb <alias>/<bucket>
|
||||||
mc mb <alias>/<bucket>
|
|
||||||
```
|
|
||||||
|
|
||||||
Pour lister les objets dans un _bucket_ :
|
Pour lister les objets dans un _bucket_ :
|
||||||
|
|
||||||
```
|
$ mc ls <alias>/<bucket>
|
||||||
mc ls <alias>/<bucket>
|
|
||||||
```
|
|
||||||
|
|
||||||
Pour _upload_ un fichier :
|
Pour _upload_ un fichier :
|
||||||
|
|
||||||
```
|
$ mc mv mon_fichier <alias>/<bucket>/
|
||||||
mc mv mon_fichier <alias>/<bucket>/
|
|
||||||
```
|
|
||||||
|
|
||||||
Pour supprimer un _bucket_ :
|
Pour supprimer un _bucket_ :
|
||||||
|
|
||||||
```
|
$ mc rb <alias>/<bucket>
|
||||||
mc rb <alias>/<bucket>
|
|
||||||
```
|
|
||||||
|
|
||||||
# _Monitoring_
|
# _Monitoring_
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue