Upgrade unmanaged Grid Infrastructure Software home

put

/rhp-restapi/rhp/gihome/{destWcId}

Upgrades the Oracle Grid Infrastructure from the source home path to the destination working copy.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : UpgradeGihomeBody
Type: object
Show Source
  • Default Value: false
    Abort the ongoing operation.
  • Use an authentication plugin to access the remote node.
  • authArgs
    Additional Properties Allowed: additionalProperties
    Additional properties for the selected authentication plugin.
  • Comma-delimited list of batches of nodes (where each batch is a comma-delimited list of node names enclosed in parentheses) enclosed in double quotation marks ("") in the format: "(nA,nB,...),(...,nY,nZ)".
  • Default Value: false
    Continue upgrading the next batch of nodes.
  • Name of the destination working copy to which the Oracle Grid Infrastructure needs to be upgraded.
  • Default Value: false
    Evaluate without executing the command.
  • Name of the destination working copy to which the Grid Infrastructure Management Repository database needs to be upgraded.
  • Default Value: false
    To ignore the CVU pre-requisite checks.
  • Image name from the configured images.
  • The absolute path for the destination working copy.
  • Default Value: false
    Downgrade after a failed upgrade of Oracle Grid Infrastructure.
  • Default Value: false
    Use root credentials to access the remote node.
  • Preferred time to execute the operation, in ISO-8601 format. For example: 2016-12-21T19:13:17+05.
  • Source Oracle home path.
  • Name of the source working copy from which the Oracle Grid Infrastructure needs to be upgraded.
  • location of sudo binary.
  • perform super user operations as sudo user name.
  • The password for the super user account.
  • Name of a node in a remote cluster with no Rapid Home Provisioning Client.
Nested Schema : authArgs
Type: object
Additional Properties Allowed
Show Source
Additional properties for the selected authentication plugin.
Security
Back to Top

Response

Supported Media Types

202 Response

Accepted. A JSON object containing job resource details of the accepted operation to obtain status and output of the progress.
Headers
Body ()
Root Schema : jobResource
Type: object
Show Source
Nested Schema : jobOutputResource
Type: object
Show Source

400 Response

Bad Request. A JSON object containing error details of the issue found while parsing a parameter value or name.
Body ()
Root Schema : errorResource
Type: object
Show Source
Nested Schema : errorDetails
Type: array
If multiple errors are reported they can be organized in a hierarchical structure in this array.
Show Source

Default Response

Unexpected error. A JSON object containing error details of the issue while executing the operation.
Body ()
Root Schema : errorResource
Type: object
Show Source
Nested Schema : errorDetails
Type: array
If multiple errors are reported they can be organized in a hierarchical structure in this array.
Show Source
Back to Top

Examples

The following example shows how to upgrade Oracle Grid Infrastructure from the source home path to the destination working copy, by submitting a PUT request on the REST resource using cURL.

curl -u restUser -X PUT -H "Content-Type: application/json" -d "@body.json" "https://RHP_node_name:8894/rhp-restapi/rhp/gihome/GI_WCopy122"

HTTP Status Code and Response Headers

The following shows an example of the response header.

HTTP/1.1 202
Location: https://RHP_node_name:8894/rhp-restapi/rhp/jobs/1
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET,PUT,POST,DELETE,PATCH,OPTIONS
Access-Control-Allow-Headers: X-Requested-With, Content-Type, Content-Length, Authorization
Connection: keep-alive
Content-Type: application/json
Content-Length: 159
Date:  Tue, 19 Jun 2018 14:03:23 GMT

Request Body (body.json)

{
    "ignoreprereq" : true,
    "sourceHome" : "/oracle/gi/source/home"
}

Response Body

{
     "links": [{
         "uri": "https://RHP_node_name:8894/rhp-restapi/rhp/jobs/1",
         "rel": "self"
      }],
     "jobId": "1",
     "output": {  }
}
Back to Top