User Tools

Site Tools


linux:ceph:howtos:autoscaling_pgs

[HOWTO] Enable PG autoscale

Documentation
Name: [HOWTO] Enable PG autoscale
Description: [HOWTO] Enable PG autoscale
Modification date :27/06/2018
Owner:dodger
Notify changes to:Owner
Tags:ceph, object storage
Scalate to:The_fucking_bofh

Pre-Requirements

This is a new option for Nautilus and is still un-documented on the official ceph wiki.

Instructions

Enable pg_autoscaler module:

ceph mgr module enable pg_autoscaler

check:

ceph mgr module ls

Then enable pg_autoscale for a specific pool:

ceph osd pool set ${POOL_NAME} pg_autoscale_mode on

For all pools:

for POOL_NAME in $(ceph osd pool ls ) ; do ceph osd pool set ${POOL_NAME} pg_autoscale_mode on ; done
linux/ceph/howtos/autoscaling_pgs.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1