Dashboard:Get Local Zone Replication Groups

Search (SHIFT+S)




New in this release

Get Local Zone Replication Groups

GET /dashboard/zones/localzone/replicationgroups

Gets the local VDC replication groups details.


Required Roles

Requires one of the following roles:

  • SYSTEM_MONITOR

  • SYSTEM_ADMIN


Response Body

Local VDC replication group details


JSON Example

Request
GET https://192.168.0.0:4443/dashboard/zones/localzone/replicationgroups.json HTTP/1.1

Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json

{
    "_links": {
        "self": { "href": "/dashboard/zones/localzone/replicationgroups"},
    },
    "_embedded": {
        "instances": [{
            "_links": {
                "self": { "href": "/dashboard/replicationgroups/{rg-id1}" },
                "rglinks": { "href": "/dashboard/replicationgroups/{rg-id1}/rglinks" },
            },                                                                          
            "id": "rg-id1",
            "name": "rg_name1",
            "numZones": 3,

            "replicationIngressTraffic": [ {"t":"12345678" , "Bandwidth":10000}, {"t":"23435455" , " Bandwidth ":10000}, {"t":"55433455" , " Bandwidth ":10000}],
            "replicationEgressTraffic": [ {"t":"12345678" , "Bandwidth":10000}, {"t":"23435455" , " Bandwidth ":10000}, {"t":"55433455" , " Bandwidth ":10000}],

            "chunksRepoPendingReplicationTotalSize": 500000,
            "chunksJournalPendingReplicationTotalSize": 500000,
            "chunksPendingXorTotalSize": 500000,
            "replicationRpoTimestamp": 12345678,
        }, {
            "_links": {
                "self": { "href": "/dashboard/replicationgroups/{rg-id1}" },
                "rglinks": { "href": "/dashboard/replicationgroups/{rg-id1}/rglinks" },
            },                                                                          
            "id": "rg-id1",
            "name": "rg_name1",
            "numZones": 3,

            "replicationIngressTraffic": [ {"t":"12345678" , "Bandwidth":10000}, {"t":"23435455" , " Bandwidth ":10000}, {"t":"55433455" , " Bandwidth ":10000}],
            "replicationEgressTraffic": [ {"t":"12345678" , "Bandwidth":10000}, {"t":"23435455" , " Bandwidth ":10000}, {"t":"55433455" , " Bandwidth ":10000}],
            "chunksRepoPendingReplicationTotalSize": 500000,
            "chunksJournalPendingReplicationTotalSize": 500000,
            "chunksPendingXorTotalSize": 500000,
            "replicationRpoTimestamp": 12345678,
        }]

    }

}


ATTRIBUTES DESCRIPTION
======================

a. All Time Stamps are GMT Epoch time in seconds.
b. Numbers can be reported in different formats, including without decimal point (e.g. 23000000), with decimal point (23000000.0) or exponential (2.3e7)
c. <Attribute>Current : Most current value of an attribute. Attribute is returned in the form of a single snapshot {"t":12345678, " 'value tag' ":10} where value reports the most                               recently known value of the attribute and timestamp 't' reports time for which this value is available. The value tag is the same as used for the original                                historical attribute. Units of the reported current value are the same as units of the relevant Xyz attribute.
d. <Attribute>Summary : Reporting summary values for a historical attribute which includes Min (lowest),(highest) and Avg (average) values across all snapshots. Attribute is returned in                        the for of { "Min" : {"t":"12345678" , "Percent":10}, "Max" : {"t":"23435455" , "Percent":43}, "Avg" : 30.67 }. The value tag is the same as used for the original                        historical attribute. Units of the reported current value are the same as units of the relevant Xyz attribute.
e. <Attribute> Current / Summary values will be available only for Historical attributes.
f. 'dataType' filter  : The client can use this filter to which data needs to be returned in the feed. If not supplied all that will be returned.
                        dataType=current : to return only the Current values, as detailed in Point C.
                        dataType=historical&starTime=<Time>&endTime=<Time>&interval=<Interval in seconds>  : to return historical series data and summary for the period specified.
                        Start and End Times are in Epoch Time in Seconds.
g. 'category' filter  : Every API can be called with an optional 'category' filter. This filter specifies the category of data to be included in the API. It is recommended to use filters
                        only when a subset of the attributes is necessary.
h. Starting from ECS 2.2 a new variable named "apiChange' will be returned with every Dashboard api call to allow api consumers to collect data from different ECS versions and react to any new or modified metrics that are returned.

------------------------------------+-----------+--------+--------------------------------------------------------------+--------
Attribute                           |Historical?|Category|                Description                                   |Units
------------------------------------+-----------+--------+--------------------------------------------------------------+--------
url.self                            |           | 	 |URL to this resource                                          |
------------------------------------+-----------+-----------------------------------------------------------------------+--------    
url.self                            |           | 	 |URL to the replication group resource                         |
------------------------------------+-----------+-----------------------------------------------------------------------+--------    
url.rglinks                         |           | 	 |URL to get data about replication to and from remote zones in this| 
                                    |           | 	 |replication group                                             |
------------------------------------+-----------+-----------------------------------------------------------------------+-------- 
id                                  |           | 	 |ID of the replication group                                   | 
------------------------------------+-----------+-----------------------------------------------------------------------+--------
name                                |           | 	 |Name of the replication group                                 |   
------------------------------------+-----------+-----------------------------------------------------------------------+-------- 
numZones                            |           | 	 |Number of zones in the replication group                      |
------------------------------------+-----------+-----------------------------------------------------------------------+--------    
replicationIngressTraffic           |Historical |geo 	 |Average amount of replication data received per second by     |
                                    |           | 	 |local zone from all remote zones combined as part of this     |
                                    |           | 	 |replication group.                                            |MB/s
------------------------------------+-----------+-----------------------------------------------------------------------+--------
replicationEgressTraffic            |Historical |geo	 |Average amount of replication data sent per second from local |
                                    |           | 	 |zone to all remote zones combined as part of this replication group| MB/s
------------------------------------+-----------+-----------------------------------------------------------------------+--------
chunksRepoPendingReplicationTotalSize           |geo 	 |Total size of all repo chunks in the local zone pending replication|
                                    |           | 	 |as part of this replication group.                            | Bytes
------------------------------------+-----------+-----------------------------------------------------------------------+--------
chunksJournalPendingReplicationTotalSize        |geo 	 |Total size of all journal chunks in the local zone pending    | 
                                    |           | 	 |replication as part of this replication group.                | Bytes
------------------------------------+-----------+-----------------------------------------------------------------------+--------
chunksPendingXorTotalSize           |           |geo 	 |Total size of all pending XOR operation chunks replicated     |
                                    |           | 	 |to the local zone as part of this replication group.          | Bytes
------------------------------------+-----------+-----------------------------------------------------------------------+--------
replicationRpoTimestamp             |           |geo 	 |Recovery Point Objective for the zone related to this replication|
                                    |           | 	 |group - Timestamp of the oldest chunk in this replication group|
                                    |           | 	 |that can be lost in case of the local zone failure.           |seconds
------------------------------------+-----------+-----------------------------------------------------------------------+--------
Notes: