dump rereplicationinfo
Returns information about the ongoing re-replication of replica containers.
This information includes the destination IP address and port number, the ID number of the destination file server, and the ID number of the destination storage pool.
Re-replication occurs whenever the number of available replica containers drops below the number prescribed by that volume's replication factor. Re-replication may occur for a variety of reasons including replica container corruption, node unavailability, hard disk failure, or an increase in replication factor.
Syntax
- CLI
-
maprcli dump rereplicationinfo [-cluster <cluster name>]
NOTEFor best results, use the-json
option from the command line. - REST
- N/A
Parameters
Parameter |
Description |
---|---|
cluster
|
The cluster on which to run the command. If this parameter is omitted, the command is run on the same cluster where it is issued. In multi-cluster contexts, you can use this parameter to specify a different cluster on which to run the command. |
Output
The maprcli dump rereplicationinfo
command returns information about
the ongoing re-replication of replica containers including the destination IP address
and port number, the ID number of the destination file server, and the ID number of the
destination storage pool.
# maprcli dump rereplicationinfo -json
{
"timestamp":1338222709331,
"status":"OK",
"total":7,
"data":[
{
"containerid":2158,
"replica":{
"sizeMB":15467,
"To fsid":9057314602141502940,
"To IP:Port":"192.0.2.28:5660-",
"To SP":"03b5970f41abbe48004f828abaabcdef"
}
},
{
"containerid":3367,
"replica":{
"sizeMB":658,
"To fsid":3684488804112157043,
"To IP:Port":"192.0.2.33:5660-",
"To SP":"3b86b4ce5bfd6bbf004f87e9b6ghijkl"
}
},
{
"containerid":3376,
"replica":{
"sizeMB":630,
"To fsid":3684488804112157043,
"To IP:Port":"192.0.2.33:5660-",
"To SP":"3b86b4ce5bfd6bbf004f87e9b6ghijkl"
}
},
{
"containerid":3437,
"replica":{
"sizeMB":239,
"To fsid":6776586767180745590,
"To IP:Port":"192.0.2.32:5660-",
"To SP":"6cd440fad0426db7004f828b2amnopqr"
}
},
{
"containerid":8833,
"replica":{
"sizeMB":7327,
"To fsid":9057314602141502940,
"To IP:Port":"192.0.2.28:5660-",
"To SP":"33885e3c5be9a04d004f828abcstuvwx"
}
}
]
}
Output fields
Field |
Description |
---|---|
sizeMB |
The amount of data (in MB) being moved. |
To fsid |
The ID number (FSID) of the destination file server. |
To IP:Port |
The IP address and port number of the destination node. |
To SP |
The ID number (SPID) of the destination storage pool. |
Example
- CLI
-
maprcli dump rereplicationinfo -json