Hybrid Manager CLI - edbctl
edbctl
is a command line tool to manage HM resources and perform database cluster operations.
Prerequisites
To use edbctl
you must download the package from pgai-platform
repository.
Before you begin the installation process:
Set up the pgai-platform repository.
Setting up the repository is a one-time task. If you have already set up your repository, you don't need to perform this step.
To determine if your repository exists, enter this command:
dnf repolist | grep pgai-platform
If no output is generated, the repository isn't installed.
To set up the pgai-platform
repository:
Go to repositories page.
Select the button that provides access to the repository.
Select the platform and software that you want to download.
Follow the instructions for setting up the repository.
The command to install the edbctl package:
<package-manager> install edbctl
Where <package-manager>
is the package manager used with your operating system.
Package manager | Operating system |
---|---|
dnf | RHEL 8/9 and derivatives |
yum | RHEL 7 and derivatives, CentOS 7 |
apt-get | Debian and derivatives |
For example, to install edbctl
on RHEL 8 platform:
sudo dnf -y install edbctl
After installing the package, configure an access key using the "credential" command to proceed using this tool. These credentials allows you to access the supported HM resources and manage them using the edbctl CLI. The CLI supports various commands for managing projects, clusters, backups, credentials, and more.
Examples
edbctl credential import-access-key --name user1 --access-key baak_xyz --address http://localhost:8080 edbctl config set context_project "Adaptable Chameleon"
Options
Use edbctl --help or -h
command to find the complete list of commands available for operations using edbctl.
edbctl --help
Usage: edbctl [options] edbctl [command] Management Commands: credential Manage authentication credentials. project Manage projects associated with the database clusters. cluster Manage database cluster resources. backup Manage cluster backups. Configuration Commands: config Manages configuration settings for edbctl tool help Help about any command completion Generate the autocompletion script for the specified shell Setup Commands: image Asset management commands operator Operator management commands image-pull-secret Pull Secret management commands Options: -h, --help help for edbctl -v, --version version for edbctl Use "edbctl [command] --help" for more information about a command.
SEE ALSO
- edbctl credential — Manage authentication credentials.
- edbctl image — Asset management commands
- edbctl image-pull-secret — Pulls secret management commands.
- edbctl operator — Operator management commands.
- edbctl project — Manage projects associated with the database clusters.
- edbctl cluster — Manage database cluster resources.
- edbctl backup — Manage cluster backups.
- edbctl config — Manages configuration settings for edbctl tool
- On this page
- Prerequisites
- Examples
- Options
- SEE ALSO
Could this page be better? Report a problem or suggest an addition!