View Compute Nodes

get

/paas/service/dbcs/api/v1.1/instances/{identityDomainId}/{serviceId}/servers

Returns information about the compute nodes associated with an Exadata Cloud Service database deployment.

Request

Path Parameters
  • The value depends on the type of Exadata Cloud Service account that is used to make the request:

    • For a Traditional Cloud Account, specify the Identity Domain Name that is associated with the service.

    • For a Cloud Account with Identity Cloud Service, specify the Identity Service Id that is associated with the service, which has the format idcs-letters-and-numbers.

  • Name of the Exadata Cloud Service database deployment.
Header Parameters
Back to Top

Response

Supported Media Types

202 Response

Accepted. See Status Codes for information about other possible HTTP status codes.
Body ()
Root Schema : instance-response
Type: object
The response body contains information about the specified database deployment.
Show Source
Back to Top

Examples

The following example shows how to view information about the compute nodes associated with an Exadata Cloud Service database deployment by submitting a GET request on the REST endpoint using cURL.

In this example, the identity domain is usexample, the Exadata Cloud Service database deployment is db12c and the Oracle Cloud user name and password are serviceadmin and Pa55_word.

cURL Command

curl -i -X GET --cacert ~/cacert.pem -u serviceadmin:Pa55_word -H "X-ID-TENANT-NAME:usexample"  https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/usexample/db12c/servers

HTTP Status Code and Response Headers

HTTP/2.0 200
server: Oracle-Application-Server-11g
strict-transport-security: max-age=31536000;includeSubDomains
content-language: en
access-control-allow-headers: Content-Type, api_key, Authorization, X-ID-TENANT-NAME, X-USER-IDENTITY-DOMAIN-NAME
access-control-allow-methods: GET, POST, DELETE, PUT, OPTIONS, HEAD
x-oracle-dms-ecid: 005KA6w7l0R6uHFpR0H7id00067c00015S
x-oracle-dms-ecid: 005KA6w7l0R6uHFpR0H7id00067c00015S
access-control-allow-origin: *
x-frame-options: DENY
content-type: application/json
vary: user-agent
date: Mon, 29 May 2017 04:01:00 GMT
content-length: 2112

Response Body

[
  {
    "status": "Running",
    "creation_job_id": "12209047",
    "creation_time": "2017-05-29T01:48:26.563+0000",
    "created_by": "serviceadmin",
    "sid": "DB12C1",
    "pdbName": "DB12CP1",
    "listenerPort": 1521,
    "connect_descriptor": "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(HOST=192.168.214.134)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.135)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.136)(PORT=1521)(PROTOCOL=TCP)))(CONNECT_DATA=(SERVICE_NAME=DB12CP1.us2.oraclecloud.com)))",
    "connect_descriptor_with_public_ip": "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(HOST=192.168.214.134)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.135)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.136)(PORT=1521)(PROTOCOL=TCP)))(CONNECT_DATA=(SERVICE_NAME=DB12CP1.us2.oraclecloud.com)))",
    "initialPrimary": true,
    "storageAllocated": "21",
    "reservedIP": "192.168.214.130",
    "hostname": "node01.us2.oraclecloud.com",
    "vmType": "EXADATA",
    "numberOfCores": "11",
    "memoryAllocated": "720"
  },
  {
    "status": "Running",
    "creation_job_id": "12209047",
    "creation_time": "2017-05-29T01:48:26.563+0000",
    "created_by": "serviceadmin",
    "sid": "DB12C2",
    "pdbName": "DB12CP1",
    "listenerPort": 1521,
    "connect_descriptor": "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(HOST=192.168.214.134)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.135)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.136)(PORT=1521)(PROTOCOL=TCP)))(CONNECT_DATA=(SERVICE_NAME=DB12CP1.us2.oraclecloud.com)))",
    "connect_descriptor_with_public_ip": "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(HOST=192.168.214.134)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.135)(PORT=1521)(PROTOCOL=TCP))(ADDRESS=(HOST=192.168.214.136)(PORT=1521)(PROTOCOL=TCP)))(CONNECT_DATA=(SERVICE_NAME=DB12CP1.us2.oraclecloud.com)))",
    "initialPrimary": true,
    "storageAllocated": "21",
    "reservedIP": "192.168.214.132",
    "hostname": "node02.us2.oraclecloud.com",
    "vmType": "EXADATA",
    "numberOfCores": "11",
    "memoryAllocated": "720"
  }
]
Back to Top