Re: Question - anyone use the Oracle Cloud OCI CLI to adjust cpu_core_count for the cluster compartment?

  • From: Chris Taylor <christopherdtaylor1994@xxxxxxxxx>
  • To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 28 Jul 2022 12:10:24 -0400


I think I'm *getting there*

Have to use "cloud-vm-cluster" it looks like:

$  oci db cloud-vm-cluster get --cloud-vm-cluster-id
ocid1.cloudvmcluster.oc1.iad.anuwcljty4j66kyarhkxt7jbk2kb6pky6sihclgqfdugrphteszsrc7lf2ja


Now I just need to figure out the command to change cpu-core-count for the
cloud-vm-cluster....

Chris




On Thu, Jul 28, 2022 at 11:01 AM Ghassan Salem <salem.ghassan@xxxxxxxxx>
wrote:

Chris,
What exactly are you trying to do ? The command is for adb, not other
database systems.

Regards

On Thu 28 Jul 2022 at 16:56, Chris Taylor <
christopherdtaylor1994@xxxxxxxxx> wrote:

So I'm following this guide:

https://www.ateam-oracle.com/post/automated-cli-scripts-to-scale-autonomous-database-cpus

However there's a command in there that does this:
oci db autonomous-database update --autonomous-database-id < adb ocid >
--cpu-core-count < number of desired OCPUs > --auth instance_principal

We don't use autonomous-database (unless all OCI databases fall under
adb) so I'm a bit stuck on the parameters with an asterisk beside them:

oci db *autonomous-database* update --*autonomous-database-id* < adb
ocid > --cpu-core-count < number of desired OCPUs > --auth
instance_principal


Other related posts: