--- Begin Message ---
> 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.









--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to