小编给大家分享一下Ceph Primary Affinity的示例分析,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!Ceph Primary Affinity[root@mon0 yum.repos.d]#&nb
小编给大家分享一下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 affinitymon osd allow primary affinity = true[root@mon0 yum.repos.d]# ceph pg dump | grep active+clean | egrep "\[0," | wc -ldumped all in fORMat plain109[root@mon0 yum.repos.d]# ceph pg dump | grep active+clean | egrep ",0\]" | wc -ldumped all in format plain123# ceph osd primary-affinity osd.0 0.5set osd.0 primary-affinity to 0.5 (8327682)# ceph pg dump | grep active+clean | egrep "\[0," | wc -l48# ceph pg dump | grep active+clean | egrep ",0\]" | wc -l132# ceph osd primary-affinity osd.0 0set osd.0 primary-affinity to 0 (802)# ceph pg dump | grep active+clean | egrep "\[0," | wc -l0# ceph pg dump | grep active+clean | egrep ",0\]" | wc -l180
看完了这篇文章,相信你对“Ceph Primary Affinity的示例分析”有了一定的了解,如果想了解更多相关知识,欢迎关注编程网精选频道,感谢各位的阅读!
--结束END--
本文标题: Ceph Primary Affinity的示例分析
本文链接: https://lsjlt.com/news/312753.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0