Add/Remove Platform9 CLI

Management of the Platform9 CLI

This page provides instructions to install, update and uninstall the Platform9 CLI

Pre-requisites

The CLI currently supports

  • Ubuntu 16.04
  • Ubuntu 18.04
  • CentOS 7.6/7.7/7.8

Installation

From the command line of your machine, run the following commands to download the CLI installer and run it to install the CLI.

Bash
Copy

This will download a script named cli_setup.sh and invoke the script.

This process will ask for the following:

  • Your PMK deployment URL
  • Your PMK account username and password

The CLI defaults to RegionOne and Service values for Region and Tenant, respectively. If you want to override these settings, set Region [RegionOne]: and Tenant [service]: when prompted for during the CLI installation.

You need to supply the credentials only once - during the CLI installation. You can change the specified credentials later by editing the CLI configuration.

Once the CLI is successfully installed, you can run the CLI to create PMK clusters.

Upgrade

To upgrade the CLI to the latest version, simply run the cli-setup.sh script again.

Bash
Copy

It will update the installed packages if new versions are available in the upstream repository. NOTE - You will need to specify your PMK account credentials again.

Uninstall

Uninstall HostAgent and CLI

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard