rlimit set

Sets the resource usage limit for the cluster's disk resource.

Syntax

CLI
maprcli rlimit set
    -resource disk
    [ -cluster <cluster name> ]
    -value <limit>
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/rlimit/set?<parameters>

Parameters

Parameter Description
resource The type of resource to set the usage limit for. Currently only the value disk is supported.
cluster The name of the cluster whose usage limit is being set.
value The value of the limit being set. You can express the value as KB, MB, GB, or TB.

Examples

Set the disk usage limit for the cluster my.cluster.com to 80TB:

CLI
maprcli rlimit set -resource disk -cluster my.cluster.com -value 80TB
REST
https://abc.sj.us:8443/rest/rlimit/get?resource=disk&cluster=my.cluster.com&value=80TB