Setting Default Volume Topology Using the CLI
Use the config save
command to set the default topology for volumes.
By default, new volumes are created with a topology of /data
. To change
the default topology, use the config save
command to change the cldb.default.volume.topology
configuration
parameter. Example:
maprcli config save -values "{\"cldb.default.volume.topology\":\"/data/rack02\"}"
After this command is run, new volumes have the volume topology
/data/rack02
by default, which could be useful to restrict new volume
data to a subset of the cluster.