psm dbcs start

Start a stopped Oracle Database Classic Cloud Service instance.

Syntax

psm dbcs start -s|--service-name instance-name [-of|--output-format json|html|short]

Parameters

Parameter Description

-s|--service-name instance-name

Specifies the name of the Database Classic Cloud Service instance you want to start.

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

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

  • json—output is formatted as a JSON array.

  • html—output is formatted as HTML

  • short—output is formatted as a brief summary.

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

Examples

The following example starts the db12c-eeep Database Classic Cloud Service instance.

$ psm dbcs start --service-name db12c-eeep
"Accepted"
Job ID : 555353

Here is the information about job 555353 upon successful completion of the operation:

$ psm dbcs operation-status --job-id 555353
{
    "activityLogId":239718,
    "authDomain":"usexample",
    "authUser":"dbaasadmin",
    "endDate":"2016-05-03T03:19:21.454+0000",
    "identityDomain":"usexample",
    "initiatedBy":"USER",
    "jobId":555353,
    "messages":[
        {
            "activityDate":"2016-05-03T03:15:02.236+0000",
            "message":"Activity Submitted"
        },
        {
            "activityDate":"2016-05-03T03:15:05.976+0000",
            "message":"Activity Started"
        },
        {
            "activityDate":"2016-05-03T03:15:06.023+0000",
            "message":"The Service [db12c-eeep] is starting..."
        },
        {
            "activityDate":"2016-05-03T03:19:19.398+0000",
            "message":"Started all Compute resources..."
        },
        {
            "activityDate":"2016-05-03T03:19:19.754+0000",
            "message":"SSH access to VM [DB_1/vm-1] succeeded..."
        },
        {
            "activityDate":"2016-05-03T03:19:21.443+0000",
            "message":"The Service [db12c-eeep] has been started."
        },
        {
            "activityDate":"2016-05-03T03:19:21.454+0000",
            "message":"Activity Ended"
        }
    ],
    "operationId":22847,
    "operationType":"START_SERVICE",
    "serviceId":22847,
    "serviceName":"db12c-eeep",
    "serviceType":"dbaas",
    "startDate":"2016-05-03T03:15:02.236+0000",
    "status":"SUCCEED",
    "summaryMessage":"START_SERVICE"
}