psm bdcsce operation-status

View the status of an operation on an Oracle Big Data Cloud cluster.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm bdcsce operation-status -j|--job-id job-id
	[-of|--output-format short|json|html]

Parameters

Parameter Description

-j|--job-id job-id

Specifies the ID number of the job about which you want information.

-of|--output-format short|json|html

(Optional) Specifies the output format of the command’s response:

  • short— output is formatted as a brief summary.

  • json— output is formatted as a JSON array.

  • html— output is formatted as HTML

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example shows the current status of job 5833, which is a create operation to create the bdcsce-cluster Oracle Big Data Cloud cluster.

$ psm bdcsce operation-status --job-id 5833
{
    "activityLogId":6067,
    "serviceName":"bdcsce-cluster",
    "serviceType":"bdcsce",
    "identityDomain":"beta",
    "serviceId":119,
    "jobId":5833,
    "startDate":"2017-01-06T06:00:51.930+0000",
    "status":"RUNNING",
    "operationId":119,
    "operationType":"CREATE_SERVICE",
    "summaryMessage":"CREATE_SERVICE",
    "authDomain":"beta",
    "authUser":"weblogic",
    "initiatedBy":"USER",
    "messages":[
        {
            "activityDate":"2017-01-06T06:00:51.930+0000",
            "message":"Activity Submitted"
        },
        {
            "activityDate":"2017-01-06T06:00:51.950+0000",
            "message":"Activity Started"
        },
        {
            "activityDate":"2017-01-06T06:00:51.962+0000",
            "message":"Started operation to create service [bdcsce-cluster] in identity domain [beta]."
        },
        {
            "activityDate":"2017-01-06T06:00:52.058+0000",
            "message":"Creating service [bdcsce-cluster] resources [bdcsce-cluster-bdcsce-2,bdcsce-cluster-bdcsce-1]."
        },
        {
            "activityDate":"2017-01-06T06:10:23.043+0000",
            "message":"Completed creating service [bdcsce-cluster] in domain [beta]."
        },
        {
            "activityDate":"2017-01-06T06:10:36.475+0000",
            "message":"Started operation to establish security on VMs for component [bdcsce]."
        },
        {
            "activityDate":"2017-01-06T06:10:36.475+0000",
            "message":"Completed operation to establish security on VMs for component [bdcsce]"
        },
        {
            "activityDate":"2017-01-06T06:10:36.672+0000",
            "message":"Started operation to check provisioning status on the VMs for [bdcsce]"
        }
    ]
}