Retrieve Cluster Role

get

/services/{version}/installation/cluster/role/{member}

Required Role: Security

Retrieve a member's role in the OGG cluster

Request

Path Parameters
  • Minimum Length: 1
    Maximum Length: 4095
    Pattern: ^(((([a-zA-Z0-9][-a-zA-Z0-9]{0,61})?[a-zA-Z0-9])[.])*([a-zA-Z][-a-zA-Z0-9]{0,61}[a-zA-Z0-9]|[a-zA-Z])[.]?)$

    Name of the OGG Cluster member.

  • Oracle GoldenGate Service API version.

    Allowed Values: [ "v2" ]
Back to Top

Response

Supported Media Types

200 Response

Cluster role returned
Body ()
Root Schema : Oracle GoldenGate Cluster Membership - Cluster Member Role
Type: object
Title: Oracle GoldenGate Cluster Membership - Cluster Member Role
Details of the role that a cluster member plays
Show Source
  • Allowed Values: [ "ogg:clusterRole" ]
  • Allowed Values: [ "initialized", "standalone", "voter", "backup", "regionPrimary", "primary" ]
    Member role
  • Minimum Length: 1
    Maximum Length: 4095
    Pattern: ^(((([a-zA-Z0-9][-a-zA-Z0-9]{0,61})?[a-zA-Z0-9])[.])*([a-zA-Z][-a-zA-Z0-9]{0,61}[a-zA-Z0-9]|[a-zA-Z])[.]?)$
    The name of the cluster member
  • Allowed Values: [ "initialized", "standalone", "voter", "backup", "regionPrimary", "primary" ]
    Member role
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "rel":"canonical",
            "href":"https://127.0.0.1:9011/services/v2/installation/cluster/role/oggdev-1",
            "mediaType":"application/json"
        },
        {
            "rel":"self",
            "href":"https://127.0.0.1:9011/services/v2/installation/cluster/role/oggdev-1",
            "mediaType":"application/json"
        },
        {
            "rel":"describedby",
            "href":"https://127.0.0.1:9011/services/v2/metadata-catalog/member",
            "mediaType":"application/schema+json"
        }
    ],
    "messages":[
    ],
    "response":{
        "$schema":"ogg:clusterRole",
        "memberName":"oggdev-1",
        "current":"primary"
    }
}
Back to Top