upgrade-database

subtitle

Upgrades the database.

version

0.9.126

Description

Upgrades an operational database in an environment to a given runtime.

Synopsis

  upgrade-database
[--environment <value>]
[--database <value>]
[--runtime <value>]
[--os-upgrade-only | --no-os-upgrade-only]
[--image-id <value>]
[--worker-batch-size <value>]
[--non-worker-batch-size <value>]
[--rolling-upgrade | --no-rolling-upgrade]
[--edge-upgrade-strategy <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment (string)

The name or CRN of the environment.

--database (string)

The name or CRN of the database.

--runtime (string)

The CDP Runtime version to upgrade to.

--os-upgrade-only | --no-os-upgrade-only (boolean)

Only perform an Operating System upgrade.

--image-id (string)

ID of a database image to upgrade to. If this is empty, the default image is used.

--worker-batch-size (integer)

Batch size of worker nodes for restart.

--non-worker-batch-size (integer)

Batch size of non-worker nodes for restart.

--rolling-upgrade | --no-rolling-upgrade (boolean)

Perform upgrade in a rolling fashion.

--edge-upgrade-strategy (string)

Edge node upgrade strategy. ALL - Upgrade edge nodes together. ONE_BY_ONE - Upgrade edge nodes one by one.

Possible values:

  • ALL

  • ONE_BY_ONE

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

statusReason -> (string)

The reason whether upgrade request is accepted or why it is not possible.

Form Factors

public