volume balancecontainers

Balances the containers, or stops the balancing of containers associated with the volume.

Syntax

CLI
maprcli volume balancecontainers 
    [ -cluster cluster_name ]
      -name <volume name>
    [ -cancel <true|false>. default: false ]
REST API
N/A

Parameters

Parameter Description
cancel Stop the balancing of containers associated with the volume. Set this parameter to true to cancel balancing a volume.
cluster The name of the cluster on which to run the command.
name The name of the volume.

Examples

Start balancing the containers associated with a volume:

maprcli volume balancecontainers -name sampleVol

Stop balancing the containers associated with a volume:

maprcli volume balancecontainers -name sampleVol -cancel true