From 46079f32ac115169a6f6f588620c89c78d2bca91 Mon Sep 17 00:00:00 2001 From: Anastasia Alexandrova Date: Thu, 12 Sep 2024 17:08:16 +0200 Subject: [PATCH] PG-918 Updated enable etcd section (#656) Removed manual dependency installation according to tarball changes modified: docs/enable-extensions.md Signed-off-by: Anastasia Alexadrova --- docs/enable-extensions.md | 42 ++++++++++++++++----------------------- docs/tarball.md | 8 ++++---- 2 files changed, 21 insertions(+), 29 deletions(-) diff --git a/docs/enable-extensions.md b/docs/enable-extensions.md index 766a16f33..e4bfaec54 100644 --- a/docs/enable-extensions.md +++ b/docs/enable-extensions.md @@ -20,31 +20,23 @@ See the configuration guidelines for [Debian and Ubuntu](solutions/ha-setup-apt. ## etcd -The following steps apply if you [installed etcd from the tarballs](tarball.md). - -1. Install the Python client for `etcd` to resolve dependency issues. Use the following command: - - ```{.bash data-prompt="$"} - $ /opt/percona-python3/bin/pip3 install python-etcd - ``` - -2. Create the `etcd.service` file. This file allows `systemd` to start, stop, restart, and manage the `etcd` service. This includes handling dependencies, monitoring the service, and ensuring it runs as expected. - - ```ini title="/etc/systemd/system/etcd.service" - [Unit] - After=network.target - Description=etcd - highly-available key value store - - [Service] - LimitNOFILE=65536 - Restart=on-failure - Type=notify - ExecStart=/usr/bin/etcd --config-file /etc/etcd/etcd.conf.yaml - User=etcd - - [Install] - WantedBy=multi-user.target - ``` +If you [installed etcd from binary tarballs](tarball.md), you need to create the `etcd.service` file. This file allows `systemd` to start, stop, restart, and manage the `etcd` service. This includes handling dependencies, monitoring the service, and ensuring it runs as expected. + +```ini title="/etc/systemd/system/etcd.service" +[Unit] +After=network.target +Description=etcd - highly-available key value store + +[Service] +LimitNOFILE=65536 +Restart=on-failure +Type=notify +ExecStart=/usr/bin/etcd --config-file /etc/etcd/etcd.conf.yaml +User=etcd + +[Install] +WantedBy=multi-user.target +``` diff --git a/docs/tarball.md b/docs/tarball.md index 7784b6ef6..55dcf5d69 100644 --- a/docs/tarball.md +++ b/docs/tarball.md @@ -2,10 +2,10 @@ You can find the binary tarballs on the [Percona website](https://www.percona.com/downloads). Select the desired version from a version dropdown and _All_ from the Select Platform dropdown. -There are the following tarballs available: +There are the following tarballs available for both x86_64 and ARM64 architectures: -* percona-postgresql-{{dockertag}}-ssl1.1-linux-x86_64.tar.gz - for operating systems that run OpenSSL version 1.x -* percona-postgresql-{{dockertag}}-ssl3-linux-x86_64.tar.gz - for for operating systems that run OpenSSL version 3.x +* percona-postgresql-{{dockertag}}-ssl1.1-linux-.tar.gz - for operating systems that run OpenSSL version 1.x +* percona-postgresql-{{dockertag}}-ssl3-linux-.tar.gz - for for operating systems that run OpenSSL version 3.x To check what OpenSSL version you have, run the following command: @@ -65,7 +65,7 @@ The tarballs include the following components: ## Procedure -The steps below install the tarballs for OpenSSL 3.x. Use another tarball if your operating system has OpenSSL version 1.x. +The steps below install the tarballs for OpenSSL 3.x on x86_64 architecture. Use another tarball if your operating system has OpenSSL version 1.x and / or has the ARM64 architecture. 1. Create the directory where you will store the binaries. For example, `/opt/pgdistro`