小编给大家分享一下Ceph Primary Affinity的示例分析,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!
[root@mon0 yum.repos.d]# ceph --admin-daemon /var/run/ceph/ceph-mon.*.asok config show | grep 'primary_affinity' "mon_osd_allow_primary_affinity": "false", #在ceph.conf中加入primary affinity mon osd allow primary affinity = true [root@mon0 yum.repos.d]# ceph pg dump | grep active+clean | egrep "\[0," | wc -l dumped all in format plain 109 [root@mon0 yum.repos.d]# ceph pg dump | grep active+clean | egrep ",0\]" | wc -l dumped all in format plain 123 # ceph osd primary-affinity osd.0 0.5 set osd.0 primary-affinity to 0.5 (8327682) # ceph pg dump | grep active+clean | egrep "\[0," | wc -l 48 # ceph pg dump | grep active+clean | egrep ",0\]" | wc -l 132 # ceph osd primary-affinity osd.0 0 set osd.0 primary-affinity to 0 (802) # ceph pg dump | grep active+clean | egrep "\[0," | wc -l 0 # ceph pg dump | grep active+clean | egrep ",0\]" | wc -l 180
看完了这篇文章,相信你对“Ceph Primary Affinity的示例分析”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。