cluster info

Returns minimum and maximum values for the following attributes:

  • VolumeSize — The size of the volume.
  • VolumeQuotaSize — The hard quota (disk space) for the volume.
  • VolumeAdvisoryQuota — The advisory quota (disk space) for the volume.
  • VolumeLogicalUsedSize — The logical size used by the volume.
  • VolumeNumContainers — The number of replicas for the volume.
  • VolumeGuranteedNumContainers — The number of guaranteed replicas for the volume.
  • VolumeNumNamespaceContainers — The number of replicas for the name container associated with the volume.
  • VolumeGuranteedNumNamespaceContainers — The number of guaranteed replicas for the name container associated with the volume.
  • VolumeNumSnapshots — The number of snapshots of the volume.
  • VolumeCoalesceInterval — The coalesce interval setting for the volume.
  • VolumeMaxInodesAlarmThreshold — The threshold for triggering the VOLUME_ALARM_INODES_EXCEEDED alarm.
  • VolumeMaxNsSizeMbAlarmThreshold — The threshold for triggering the VOLUME_ALARM_INODES_EXCEEDED alarm.
  • VolumeReReplicationTimeOut — The timeout value for re-replication.
  • StoragePoolCapacitySize — The total amount of disk space on the storage pool.
  • StoragePoolUsedSize — The amount of used space on the storage pool.
  • StoragePoolAvailableSize — The amount of available space on the storage pool.

Syntax

CLI
maprcli cluster info -getminmax <attributes>
REST API
Request Type GET
Request URL
http[s]://<host>:<port>/rest/cluster/info?<parameters> 

Parameters

Parameter Description
getminmax The comma-separated list of attributes to return minimum and maximum values for. To retrieve the minimum and maximum values for all the attributes, use the keyword all. This is a mandatory parameter.

Examples

Retrieve the minimum and maximum values for all the attributes:

CLI
# maprcli cluster info -getminmax all
  unit  min      max      name
  MB    1668446  2505237  StoragePoolAvailableSize
  MB    0        204800   VolumeAdvisoryQuota
  Num   1        2        VolumeGuranteedNumContainers
  Num   0        0        VolumeMaxInodesAlarmThreshold
  MB    1669494  2506849  StoragePoolCapacitySize
  MB    1048     1612     StoragePoolUsedSize
  MB    0        972      VolumeLogicalUsedSize
  Num   1        2        VolumeGuranteedNumNamespaceContainers
  Num   1        3        VolumeNumContainers
  MB    0        0        VolumeMaxNsSizeMbAlarmThreshold
  MB    0        818      VolumeSize
  Num   0        0        VolumeNumSnapshots
  MB    0        0        VolumeQuotaSize
  Sec   0        300      VolumeReReplicationTimeOut
  Num   1        3        VolumeNumNamespaceContainers
  Min   60       60       VolumeCoalesceInterval
            
REST
NOTE Based on your SSL setup, use the appropriate SSL-related command line option in the curl command given below.
 curl -X GET -u <username> https://abc.sj.us:8443/rest/cluster/info?getminmax=all
 {"timestamp":1669028413716,
  "timeofday":"2022-11-21 11:00:13.716 GMT+0000 AM",
  "status":"OK",
  "total":16,
  "data":
  [{"name":"StoragePoolAvailableSize",
    "min":"1668446",
    "max":"2505237",
    "unit":"MB"},
   {"name":"VolumeAdvisoryQuota",
     "min":"0",
     "max":"204800",
     "unit":"MB"},
   {"name":"VolumeGuranteedNumContainers",
    "min":"1",
    "max":"2",
    "unit":"Num"},
   {"name":"VolumeMaxInodesAlarmThreshold",
    "min":"0",
    "max":"0",
    "unit":"Num"},
   {"name":"StoragePoolCapacitySize",
    "min":"1669494",
    "max":"2506849",
    "unit":"MB"},
   {"name":"StoragePoolUsedSize",
    "min":"1048",
    "max":"1612",
    "unit":"MB"},
   {"name":"VolumeLogicalUsedSize",
    "min":"0",
    "max":"972",
    "unit":"MB"},
   {"name":"VolumeGuranteedNumNamespaceContainers",
    "min":"1",
    "max":"2",
    "unit":"Num"},
   {"name":"VolumeNumContainers",
    "min":"1",
    "max":"3",
    "unit":"Num"},
   {"name":"VolumeMaxNsSizeMbAlarmThreshold",
    "min":"0",
    "max":"0",
    "unit":"MB"},
   {"name":"VolumeSize",
    "min":"0",
    "max":"818",
    "unit":"MB"},
   {"name":"VolumeNumSnapshots",
    "min":"0",
    "max":"0",
    "unit":"Num"},
   {"name":"VolumeQuotaSize",
    "min":"0",
    "max":"0",
    "unit":"MB"},
   {"name":"VolumeReReplicationTimeOut",
    "min":"0",
    "max":"300",
    "unit":"Sec"},
   {"name":"VolumeNumNamespaceContainers",
    "min":"1",
    "max":"3",
    "unit":"Num"},
   {"name":"VolumeCoalesceInterval",
    "min":"60",
    "max":"60",
    "unit":"Min"}
 ]
}