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

-s|--service-name instance-name

Name of the service.

-c|--config-payload path-to-json-file

The path to the JSON payload file.

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

(Optional) 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.

-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

components

Container for Oracle Analytics Cloud - Classic components (analytics), host, and shape information.

BI

The service type. For services created with Oracle Analytics Cloud - Classic, this is BI.

shape

The required shape.

Valid values for shape are as follows:

  • oc3 — 1 OCPU with 7.5 GB RAM

  • oc4 — 2 OCPUs with 15 GB RAM

  • oc5 — 4 OCPUs with 30 GB RAM

  • oc6 — 8 OCPUs with 60 GB RAM

  • oc7 — 16 OCPUs with 120 GB RAM

  • oc8 — 24 OCPUs with 180 GB RAM

  • oc9 — 32 OCPUs with 240 GB RAM

  • oc1m — 1 OCPU with 15 GB RAM

  • oc2m — 2 OCPUs with 30 GB RAM

  • oc3m — 4 OCPUs with 60 GB RAM

  • oc4m — 8 OCPUs with 120 GB RAM

  • oc5m — 16 OCPUs with 240 GB RAM

  • oc8m — 24 OCPUs with 360 GB RAM

  • oc9m — 32 OCPUs with 480 GB RAM

hosts

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 hosts are the host name as listed in the service’s Overview page, and the contents of the adminHostName output by the service command.

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"]
         }
     }
 }