Enabling and Configuring Disk Balancer
Describes how to enable or disable the disk space balancer and other settings using the Control Panel and the CLI.
About this task
Enabling and Configuring Disk Balancer Using the Control System
About this task
To enable and configure disk space balancer using the Control System:
Procedure
- Log in to the Control System and click .
-
In the Disk Balancer section, move the Enabled
slider to Yes.
To enable disk space balancer from the command-line, see Configuring Disk Balancer Execution.
-
Select one of the presets or specify a custom percentage for
Threshold and Concurrent Disk
Rebalancer settings. You can :
- Disk Balancer Preset:
- Moderate (Default)
-
- Threshold — 70%
- Concurrent Disk Rebalancer — 10%
- Rapid
-
- Threshold — 50%
- Concurrent Disk Rebalancer — 5%
- Relaxed
-
- Threshold — 90%
- Concurrent Disk Rebalancer — 25%
- Custom, use the slider to set the threshold and concurrent disk rebalancer percentages.
Here:Threshold Specifies the minimum utilization threshold for a storage pool to become eligible for rebalancing. Default value is 70%. Concurrent Disk Rebalancer Specifies the maximum percentage of data that can be rebalanced. The cluster will wait until the number of rebalancing operations affects less than this percentage of total data eligible for rebalancing. The default value is 10%. - Disk Balancer Preset:
- Click Save Changes for the changes to take effect.
Enabling and Configuring Disk Balancer Using the CLI
About this task
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
- cldb.balancer.disk.threshold.percentage
- Default Value: 70
- cldb.balancer.disk.max.switches.in.nodes.percentage
- Default Value: 10