nautilus pg autoscaler PG自动伸缩


链接地址:
https://ceph.io/rados/new-in-nautilus-pg-merging-and-autotuning/

[root@controller ~]# ceph osd pool autoscale-status
Error ENOTSUP: Module 'pg_autoscaler' is not enabled (required by command 'osd pool autoscale-status'): use `ceph mgr module enable pg_autoscaler` to enable it

使能pg_autoscaler:

ceph mgr module enable pg_autoscaler

查看PG自动伸缩状态:

 

设置PG自动伸缩:(ceph osd pool set pool_name pg_autoscale_mode on)

设置目标ratio:

ceph osd pool set volumes target_size_ratio .8 

查看是否开启:

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM