[RFC qemu 1/1] block/rbd: add @keyring-file option to BlockdevOptionsRbd
DERUMIER, Alexandre
alexandre.derumier at groupe-cyllene.com
Mon May 12 16:53:16 CEST 2025
> crush_location=host:myhost|datacenter:mydc
> read_from_replica=localize
>>Those can/should simply be set in the storage's ceph.conf, or do they
>>need to be different per-volume or per-VM?
read_from_replica=localize ---> it's global for the whole storage in
ceph.cfg
crush_location=host:myhost|datacenter:mydc ---> it's per storage, but
need to be different for each host.
(This is to tell to rbd client (the host) where he's running, to be
able to reach to nearest osd when localize is used)
maybe check first in /etc/ceph/<storeid.conf>, then in
/etc/pve/ceph/storeid.cfg ?
Thinking about that, I don't have tested it yet, but maybe it's
possible with a single shared ceph.conf
[client.host1]
crush_location=host:host1|datacenter:dc1
[client.host2]
crush_location=host:host2|datacenter:dc2
?
I'll try to test it this week.
More information about the pve-devel
mailing list