Installing ACE
ACE is installed by the pgEdge Platform installer. The following commands describe installing ACE on a management system (that is not a member of a replication cluster):
-
Navigate to the directory where ACE will be installed.
-
Invoke the pgEdge installer in that location with the command:
python3 -c "$(curl -fsSL https://pgedge-download.s3.amazonaws.com/REPO/install.py)
-
Create a directory named
cluster
in thepgedge
directory created by the pgEdge installer. -
Create and update a .json file, and place the file in
cluster/cluster_name/cluster_name.json
on the ACE host. For example, if your cluster name isus_eu_backend
, the cluster definition file for this should be placed in/pgedge/cluster/us_eu_backend/us_eu_backend.json
. The .json file must:- Contain connection information for each node in the cluster in the node's stanza.
- Identify the user that will be invoking ACE commands in the
db_user
property. This user must also be the table owner.
After ensuring that the .json file describes your cluster connections and identifies the ACE user, you're ready to use ACE commands.