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

From: Chris Taylor <christopherdtaylor1994_at_gmail.com>
Date: Thu, 28 Jul 2022 12:10:24 -0400
Message-ID: <CAP79kiS5s1AYoFvLPmzdBuDzWhVqLQouxyHt+_DNHK2krJ91Ww_at_mail.gmail.com>



>
> 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_at_gmail.com>
> 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_at_gmail.com> 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
>>>
>>

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jul 28 2022 - 18:10:24 CEST

Original text of this message