psm analytics restart
Use this command to restart a service created with Oracle Analytics Cloud - Classic.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm analytics restart -s|--service-name service-name
-c|--config-payload path-to-json-payload
[-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the service. |
|
Path to the JSON file that contains the configuration parameters for accessing the service. |
|
(Optional) Specifies the output format of the command’s response: JSON, HTML, or SHORT. The default output format is the one you specified when using the |
JSON Payload
The JSON payload has the following syntax:
{
"force":"",
"allServiceHosts":"",
"components":{
"analytics":{
"hosts":""
}
}
}
Parameter | Description |
---|---|
|
(Optional) Set to |
|
(Optional) set to |
|
Container for Oracle Analytics Cloud - Classic components and host information. |
|
The service type. |
|
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. |
Examples
The following example restarts the analytics–aas
service.
$ psm Analytics restart -s analytics–aas -c /tmp/restart-service-payload.json
The payload for this command can be one of the following:
{
"components":{
"analytics":{
"hosts":"[analytics–aas-bi-1]"
}
}
}
or
{
"allServiceHosts":"true"
}