lbcli upgrade server
Upgrades a server/cluster. Servers are upgraded only 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 a version that is too old).
lbcli upgrade server [flags]
Examples:
# Upgrade server format:
lbcli -J $JWT upgrade server --uuid=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301 --install-pkg-uri=file:///tmp/pkgs/for/upgrade [--force]
lbcli -J $JWT upgrade server --uuid=32e7b7ab-4e6d-4b6c-8c4e-92710bcd9301 --install-pkg-uri=http://my-repo/pkgs/for/upgrade [--force]
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for server. | |
--etag | string | An opaque identifier allowing a client to make conditional requests (optional). | ||
--install-pkg-uri | string | Path to install package (required). | ||
--uuid | string | Server UUID (required). | ||
--force | bool | Force upgrade (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). |
This is an async operation. The server Upgradeability state must be ‘Upgradeable’ to apply this operation.
Was this page helpful?