Hi folks,
Recently, I use puppet to deploy Ceph and integrate Ceph with OpenStack. We put computeand storage together in the same cluster. So nova-compute and OSDs will be in each server. We will create a local pool for each server, and the pool only use the disks of each server. Local pools will be used by Nova for root disk and ephemeral disk.
In order to use the local pools, I need add some rules for the local pools to ensure the local pools using only local disks. There is only way to add rule in ceph:
- ceph osd getcrushmap -o crush-map
- crushtool -c crush-map.txt -o new-crush-map
- ceph osd setcrushmap -i new-crush-map
If multiple servers simultaneously set crush map(puppet agent will do that), there is the possibility of consistency problems. So if there is an command for adding rule, which will be very convenient. Such as:
ceph osd crush add rule -i new-rule-file
Could I add the command into Ceph?
Cheers,
--
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com