Remove Installation from Cluster
delete
/services/{version}/installation/cluster
Required Role: Security
Remove the installation from the GoldenGate cluster.
Request
Path Parameters
-
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Installation removed from cluster
Root Schema : RESTful API Standard Response
Type:
object
Title:
RESTful API Standard Response
Standard Response for all Oracle GoldenGate RESTful API calls
Show Source
-
$schema:
Allowed Values:
[ "api:standardResponse" ]
-
links(required):
array links
Minimum Number of Items:
0
Maximum Number of Items:16
Oracle GoldenGate links for the request -
messages(required):
array messages
Minimum Number of Items:
0
Maximum Number of Items:65535
Oracle GoldenGate messages issued during the request -
response:
object response
Oracle GoldenGate document from the request
Nested Schema : links
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
16
Oracle GoldenGate links for the request
Show Source
Nested Schema : messages
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
65535
Oracle GoldenGate messages issued during the request
Show Source
Nested Schema : response
Type:
object
Oracle GoldenGate document from the request
Nested Schema : items
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:link" ]
-
description:
string
Minimum Length:
1
Maximum Length:4095
A human-readable description that provides information and detail specific to this link. -
href(required):
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
An absolute URI for the link -
mediaType:
string
Minimum Length:
6
Maximum Length:255
Pattern:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$
Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288) -
rel(required):
Allowed Values:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous", "ogg://service" ]
Relationship of href to the requested link
Nested Schema : items
Type:
Show Source
object
-
$schema:
Allowed Values:
[ "ogg:message" ]
-
code(required):
string
Minimum Length:
9
Maximum Length:9
Pattern:^OGG[-][0-9]{5}$
The Oracle GoldenGate message code -
issued(required):
string
Minimum Length:
20
Maximum Length:32
Pattern:^[0-9]{4}[-](0[1-9]|1[0-2])[-](0[1-9]|[12][0-9]|3[01])[tT ]([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]{1,6})?([zZ]|[+-][0-9][0-9]:[0-5][0-9])$
The date and time that the message was issued -
severity(required):
Allowed Values:
[ "INFO", "WARNING", "ERROR" ]
The severity of the message -
title(required):
string
Minimum Length:
1
Maximum Length:4095
A human-readable description that provides information and detail specific to this occurence of the information, warning or error. -
type(required):
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
An absolute URI [RFC3986] to a page that describes the info, warning or error type.
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"rel":"canonical",
"href":"http://127.0.0.1:9011/services/v2/installation/cluster",
"mediaType":"application/json"
},
{
"rel":"self",
"href":"http://127.0.0.1:9011/services/v2/installation/cluster",
"mediaType":"application/json"
}
],
"messages":[
{
"$schema":"ogg:message",
"title":"This installation is no longer part of an Oracle GoldenGate cluster.",
"code":"OGG-12330",
"severity":"INFO",
"issued":"2024-01-08T16:45:21Z",
"type":"https://www.rfc-editor.org/rfc/rfc9110.html#name-status-codes"
}
]
}
500 Response
Cluster management error
Root Schema : Oracle GoldenGate Cluster Management Error
Type:
object
Title:
Oracle GoldenGate Cluster Management Error
Additional context for Oracle GoldenGate cluster management errors
Show Source
-
$schema:
Allowed Values:
[ "ogg:clusterError" ]
-
error:
object error
The error from the HAMI Web Service REST API
Nested Schema : error
Type:
object
The error from the HAMI Web Service REST API
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"rel":"canonical",
"href":"https://127.0.0.1:9011/services/v2/installation/cluster/role/oggdev-2",
"mediaType":"application/json"
},
{
"rel":"self",
"href":"https://127.0.0.1:9011/services/v2/installation/cluster/role/oggdev-2",
"mediaType":"application/json"
}
],
"messages":[
{
"$schema":"ogg:message",
"title":"Error: HAMI Error:8 (Bad state), Location:[hamiMember.cpp:update:5377,(:HAMEM0159:)] Message Dest: 0 MsgDef(HAMI-HAMI-8#1) Args: #1:type=25,sz=72,value='Dropping member 'M2 oggdev-2' reduces voters below MinVoters value of 2'",
"code":"OGG-12343",
"severity":"ERROR",
"issued":"2024-01-08T15:37:03Z",
"type":"https://docs.oracle.com/en/middleware/goldengate/core/23.4/error-messages/"
},
{
"$schema":"ogg:message",
"title":"An attempt to leave the Oracle GoldenGate cluster failed.",
"code":"OGG-12334",
"severity":"ERROR",
"issued":"2024-01-08T15:37:03Z",
"type":"https://docs.oracle.com/en/middleware/goldengate/core/23.4/error-messages/"
}
]
}