psm analytics scale
Use this command to scale the shape (OCPUs and memory) of a service created with Oracle Analytics Cloud - Classic.
Syntax
In the following syntax, line breaks have been added for clarity. Don’t include them when entering the command.
psm Analytics scale -s|--service-name service-name
-c|--config-payload path-to-json-file
[-of|--output-format json|html|short]
[-wc, --wait-until-complete <value>]
where the JSON file contains the following:
{ "components":
{ "BI":
{ "shape":"shape-name",
"hosts":["host-name"]
}
}
}
Parameters
Parameter | Description |
---|---|
|
Name of the service. |
|
The path to the JSON payload file. |
|
(Optional) The 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] . Default is false .
|
JSON Payload
The JSON payload has the following syntax:
{ "components":
{ "BI":
{ "shape":"shape-name",
"hosts":["host-name"]
}
}
}
Parameter | Description |
---|---|
|
Container for Oracle Analytics Cloud - Classic components (analytics), host, and shape information. |
|
The service type. For services created with Oracle
Analytics Cloud - Classic, this is |
|
The required shape. Valid values for
|
|
The host name of the service. The host name is the fully qualified name of the Virtual Machine. For example, in a service named analytics–aas, the host name takes the format analytics–aas-bi-1. Valid values for |
Examples
The following example scales the analytics-aas
service to the oc5
shape.
$ psm analytics scale -s analytics-aas -c ~/opc-json-files/scale-to-oc5.json
where the JSON file contains the following:
{ "components":
{ "BI":
{ "shape":"oc5",
"hosts":["analytics-aas-bi-1"]
}
}
}