Scale a Node

put

/api/v1.1/instances/{identityId}/{serviceId}/{serverName}

Scales the specified Administration Server or Managed Server node to change its compute shape or add block storage.

You can scale only the Administration Server node and Managed Server nodes in a WebLogic Server cluster. Oracle SOA Cloud Service does not support scaling for other nodes in a service instance, such as the load balancer node or capacity unit nodes in the Coherence data tier.

You can add block storage to a new volume or one of the following existing volumes:

  • Backup storage volume (Administration Server node only)
  • Domain home storage volume
  • Oracle Fusion Middleware home storage volume

You cannot remove block storage from a storage volume.

Note: Scaling is not supported by Oracle SOA Cloud Service - Virtual Image instances.

Request

Supported Media Types
  • application/json
Path Parameters
identityId
Type: string
Required: true
Identity domain ID for the Oracle SOA Cloud Service account.
serverName
Type: string
Required: true
Name of the node (Administration Server or Managed Server) for which you want to increase block storage capacity.
serviceId
Type: string
Required: true
Name of the Oracle SOA Cloud Service instance.
Body Parameter
The request body defines the details of the create instance request. Bold indicates a required value.
Root Schema : scale-up-request

Response

Supported Media Types
  • application/json
202 Response
Accepted
Body
The response body contains information about the scale operation.
Root Schema : scale-up-response
The response body contains information about the scale operation.
Nested Schema : details
Type: array
Groups the details of the scale operation.
Nested Schema : scale-details

Examples

The following example shows how to scale up an Administration Server by one node by submitting a PUT request on the REST resource using cURL. For more information, see Use cURL.

See also Scaling an Oracle SOA Cloud Service Instance.

cURL Command

curl -i -X PUT -u joe@example.com:Welcome1! -d @scale.json -H "Content-Type:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/ExampleI_server_1
Note:: This example uses the URL prefix for the United States ( soacs). For information about the URL prefixes for other regions of the world, see Send Requests.

Example of Response Header

The following shows an example of the response header.

The Location header returns a REST URI that can be used to access the status of the scale operation, as described in View Server Operation Status by Job ID.

HTTP/1.1 202 Accepted
Date: Thu, 29 Jan 2015 21:20:52 GMT
Transfer-Encoding: chunked
Location: https://api-host/paas/service/soa/api/v1.1/instances/ExampleIdentityDomain/ExampleInstance/servers/history/job/17
Content-Type: application/json

Example of Request Body

The following shows an example of the request body in JSON format.

{
   "additionalStorage": "1",
   "scalingVolume" : "backup",
   "shape": "oc4m"
}

Example of Response Body

The following shows an example of the response document returned in JSON format.

{
   "status": "New",
   "details": {
      "message": "scaleup.job.submitted",
      "jobId": "17"
   }
}