The rlimit set API sets the resource usage limit for the cluster's disk resource

Syntax

CLI

maprcli rlimit set
    -resource disk
    [ -cluster <cluster name> ]
    -value <limit>

REST

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 name

The name of the cluster whose usage limit is being set.

limit

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://r1n1.sj.us:8443/rest/rlimit/get?resource=disk&cluster=my.cluster.com&value=80TB