The disk space balancer checks every storage pool on a
regular basis and moves containers from a storage pool when that pool's utilization meets
the following conditions:
- The storage pool is over 70% full.
- The storage pool's utilization exceeds the average utilization on the cluster by a
specified threshold:
- When the average cluster storage utilization is below 80%, the threshold is
10%.
- When the average cluster storage utilization is below 90% but over 80%, the
threshold is 3%.
- When the average cluster storage utilization is below 94% but over 90%, the
threshold is 2%.
You can use the config
save command to modify disk space balancer parameter values.
Example: # maprcli config save -values
{"cldb.balancer.disk.max.switches.in.nodes.percentage":"20"}
The following list specifies the disk space balancer configuration parameters
with their default values and descriptions:
- cldb.disk.balancer.enable
- Default Value: 1
- Description: Specifies whether the disk space balancer
runs:
- 0 - Disabled (does not perform any container moves)
- 1 - Enabled (normal operation)
By default, the disk balancer is disabled.
- cldb.balancer.disk.threshold.percentage
- Default Value: 70
- Description: Threshold for moving containers out of a given
storage pool, expressed as utilization percentage.
See also: Balancing Overused and Above Average Bins.
- cldb.balancer.disk.max.switches.in.nodes.percentage
- Default Value: 10
- Description: This can be used to throttle the disk balancer. If it is
set to 10, the balancer will throttle the number of
concurrent container moves (minimum 1) to 10% of the total
nodes in the cluster rounded up.
See Configuring Throttling.