psm dhcs add-storage
Extend storage volumes of an Oracle Data Hub Cloud Service cluster.
Syntax
psm dhcs add-storage -s|--service-name cluster-name
-c|--config-payload path-to-json-payload
[-of|--output-format short|json|html]
[-wc|--wait-until-complete true|false]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Oracle Data Hub Cloud Service cluster. |
|
Specifies the path to a JSON file containing the information necessary to add storage. The format of this file is the same as the request body you provide when adding storage by using the REST API. For information about this format, see the “Body Parameter” section of Add Storage to an Existing or New Volume in REST API for Oracle Data Hub Cloud Service. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
|
(Optional) If set to
The default value is |
Examples
The following example increases the data storage volume to 200 GB, the commit log storage volume to 60 GB, and the backup storage volume to 200 GB in all the nodes associated with the cluster1
cluster.
$ psm dhcs add-storage -s cluster1 -c add-storage-payload.json
{
"details":{
"message":"Submitted job to add storage for service [cluster1] in domain [beta].",
"jobId":"7126179"
}
}
Job ID : 7126179
Note:
You can track the progress of this command by using the psm dhcs operation-status command.The payload for this command is similar to the following:
{
"allServiceHosts":true,
"components":{
"CASSANDRA":{
"dataStorage":"200",
"commitLogStorage":"60",
"backupStorage":"200"
}
}
}