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:14:00 -0400
Message-ID: <CAP79kiRRB_ezy_BSFmYdps3E3vWJVvvvFHekiPss12fKbnkVrA_at_mail.gmail.com>



Looks like its going to be:

$ oci db cloud-vm-cluster update --cloud-vm-cluster-id <my cloud-vm-ocid> ----cpu-core-count
<integer>

Ref:
https://docs.oracle.com/en-us/iaas/tools/oci-cli/3.12.0/oci_cli_docs/cmdref/db/cloud-vm-cluster/update.html

Chris

On Thu, Jul 28, 2022 at 12:10 PM Chris Taylor < christopherdtaylor1994_at_gmail.com> wrote:

> 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:14:00 CEST

Original text of this message