|
|
@ -862,4 +862,17 @@ id=client.libvirt |
|
|
|
ceph auth get "$id" | grep -e "$id" -e key > /etc/ceph/ceph."$id".keyring |
|
|
|
~~~ |
|
|
|
|
|
|
|
Les infos seront dans `/etc/ceph/ceph.client.libvirt.keyring`. |
|
|
|
Les infos seront dans `/etc/ceph/ceph.client.libvirt.keyring`. |
|
|
|
|
|
|
|
## Quel client utilise ce RBD ? |
|
|
|
|
|
|
|
Depuis un nœud de cluster, on peut savoir quel client utilise un RBD avec la commande `rbd status`. |
|
|
|
|
|
|
|
``` |
|
|
|
root@ceph-admin-node:~# rbdname=mypool/myrbd |
|
|
|
root@ceph-admin-node:~# rbd status vm-root "${rbdname}" |
|
|
|
Watchers: |
|
|
|
watcher=x.y.z.t:0/2718281828 client.2718281 cookie=271828182845904 |
|
|
|
``` |
|
|
|
|
|
|
|
L’IP du client est `x.y.z.t`. |