Etcd

Etcd is an open source distributed key-value store. OpenSQL utilizes etcd as a Distributed Configuration Store(DCS) that manages the state of each instance in the cluster and performs leader election, and provides the etcdctl tool for effective control.


Installation

1. Setting OPENSQL_INSTALL_HOME directory

. ./setenv.sh `pwd`
OPENSQL_INSTALL_HOME is set to: /home/opensql3.0-rockylinux9.4-pg16.8

2. Installing etcd

sudo -E ./install_rpm.sh etcd

3. Verifying etcd installation

Once installed, you can check the version of etcd and etcdctl with the command below.

[root@396dd54381db etcd-v3.5.6-linux-amd64]etcd --version
etcd Version: 3.5.6
Git SHA: cecbe35ce
Go Version: go1.16.15
Go OS/Arch: linux/amd64

[root@396dd54381db etcd-v3.5.6-linux-amd64]etcdctl version
etcdctl version: 3.5.6
API version: 3.5

Last updated