Hi,
How to select particular OSD to act as primary OSD.
I modified the ceph.conf file and added
[mon]
...
mon osd allow primary affinity = true
Restarted ceph target, now primary affinity is set to true in all monitor nodes.
Using the below commands set some weights to the osds.
$ ceph osd primary-affinity osd.1 0.25
$ ceph osd primary-affinity osd.6 0.50
$ ceph osd primary-affinity osd.11 0.75
$ ceph osd primary-affinity osd.16 1
Created a pool "poolA" and set a crush_ruleset so that it takes OSDs in order 16,11,6,1
Even after setting the primary affinity weight, it took osds in different order.
Can we select the primary OSD, if so, how can we do that. Please let me know what I am missing here to set an OSD as a primary OSD.
How to select particular OSD to act as primary OSD.
I modified the ceph.conf file and added
[mon]
...
mon osd allow primary affinity = true
Restarted ceph target, now primary affinity is set to true in all monitor nodes.
Using the below commands set some weights to the osds.
$ ceph osd primary-affinity osd.1 0.25
$ ceph osd primary-affinity osd.6 0.50
$ ceph osd primary-affinity osd.11 0.75
$ ceph osd primary-affinity osd.16 1
Created a pool "poolA" and set a crush_ruleset so that it takes OSDs in order 16,11,6,1
Even after setting the primary affinity weight, it took osds in different order.
Can we select the primary OSD, if so, how can we do that. Please let me know what I am missing here to set an OSD as a primary OSD.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com