psm analytics scale-out
Scale out an Oracle Analytics Cloud - Classic cluster by adding new nodes.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm analytics scale-out -s|--service-name serviceName
-c|--config-payload pathToJson
[-of|-–output-format json|html|short]
[-wc, --wait-until-complete <value>]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-s|--service-name serviceName |
Name of the service. |
-c|--config-payload pathToJson |
Path to the JSON file containing payload for this command. |
-of|-–output-format json|html|short |
(Optional) Output format of the command’s response:
The default output format is the one you specified
when using the |
-wc, --wait-until-complete <value> |
(Optional) Wait until the command is complete.
Valid values are [true, false] . The default value
is false .
|
Sample Payload
Required properties are indicated as "required". Replace with real values in the actual payload.
{
"noRollback":"",
"components":{
"BIServerCount":"required"{
"ipReservations":[]
}
}
}
For example,
{
"components":{
"BI": {
"BIServerCount":"1",
}
}
}
Example
psm analytics scale-out -s MyAnalyticsCloudClassicService -c c://home/templates/scale-out-payload.json -of json
{
"details":{
"jobId":"34196",
"message":"ANALYTICS-SCALING-037: Scale out Job (ID: 34196) for service [MyAnalyticsCloudClassicService] in cluster [Examp_cluster] submitted"
},
"status":"New"
}
Job ID : 34196
Note that this command returned
a job ID. To see the status of your scale-out
operation,
use this ID with the psm analytics operation-status command:
$ psm analytics operation-status -j 34196 -of json
When you see the message:
"operationId":364,
"operationType":"SCALE_OUT",
"resourceId":1073,
"resourceName":"example1instance-wls-2",
"resourceType":"VM",
"serverType":"WLS",
"serviceId":364,
"serviceName":"MyAnalyticsCloudClassicService",
"serviceType":"analytics",
"startDate":"2017-04-28T18:00:44.297+0000",
"status":"SUCCEED",
"summaryMessage":"Examp_server_2"
}
the service was successfully scaled-out.