lbcli upgrade cluster

AI Tools

Upgrades a server or cluster. Note that servers are only upgraded if they are in Upgradeable state and the package version does not break internal operability (i.e., there is no server in the cluster with an old version that will not work properly with the new version).

# Upgrade cluster format: lbcli -J $JWT upgrade cluster --install-pkg-uri=file:///tmp/pkgs/for/upgrade [--uuids=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301,da40a0c1-575f-4941-b2f1-109b26741f77] lbcli -J $JWT upgrade cluster --install-pkg-uri=http://my-repo/pkgs/for/upgrade [--uuids=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301,da40a0c1-575f-4941-b2f1-109b26741f77]

Flag

Short

Type

Default

Description

--help

-h

bool


Help for cluster.

--etag


string


An opaque identifier allowing a client to make conditional requests (optional).

--install-pkg-uri


string


Path to install package (required).

--uuids


Comma Delimited String

Empty

Server UUIDs to upgrade, if empty, all the upgradeable servers are upgraded (optional)

--proxy-password


string


Password for the proxy server (required only if the proxy is provided).

--proxy-url


string


URL of the proxy server (optional). Pattern: http://<server-ip>:<port>

--proxy-username


string


Username for the proxy server (required only if the proxy is provided).

lbcli upgrade cluster [flags]

Examples:

# Upgrade cluster format: lbcli -J $JWT upgrade cluster --install-pkg-uri=file:///tmp/pkgs/for/upgrade [--uuids=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301,da40a0c1-575f-4941-b2f1-109b26741f77] lbcli -J $JWT upgrade cluster --install-pkg-uri=http://my-repo/pkgs/for/upgrade [--uuids=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301,da40a0c1-575f-4941-b2f1-109b26741f77]

Flag

Short

Type

Default

Description

--help

-h

bool


Help for cluster.

--etag


string


An opaque identifier allowing a client to make conditional requests (optional).

--install-pkg-uri


string


Path to install package (required).

--uuids


Comma Delimited String

Empty

Server UUIDs to upgrade, if empty, all the upgradeable servers are upgraded (optional)

--proxy-password


string


Password for the proxy server (required only if the proxy is provided).

--proxy-url


string


URL of the proxy server (optional). Pattern: http://<server-ip>:<port>

--proxy-username


string


Username for the proxy server (required only if the proxy is provided).


On This Page
lbcli upgrade cluster