installing opensearch

logging | elk | fluentbit

opensearch install setup upgrade

dashboard install setup upgrade

tested on debian12

hardware

create four nodes, here with DNC

dnc-new-resource.bash debian12 30 opensearch0 # coordonating node
dnc-new-resource.bash debian12 31 opensearch1 # data1
dnc-new-resource.bash debian12 32 opensearch2 # data2
dnc-new-resource.bash debian12 33 opensearch3 # manager & dashboard
dnc-new-resource.bash debian12 34 opensearch-client # fluent-bit

dnc-newguest-debian.bash 30 opensearch0
dnc-newguest-debian.bash 31 opensearch1
dnc-newguest-debian.bash 32 opensearch2
dnc-newguest-debian.bash 33 opensearch3
dnc-newguest-debian.bash 34 opensearch-client

system

static names

vi /etc/hosts

10.1.0.30       opensearch0
10.1.0.31       opensearch1
10.1.0.32       opensearch2
10.1.0.33       opensearch3
10.1.0.34       fluentbit

ssh keys

this is not necessarilly required however may become handy for testing purposes

all nodes

ssh-keygen -t ed25519
cd .ssh/
cat id_ed25519.pub
vi authorized_keys

node0

ssh opensearch1
ssh opensearch2
ssh opensearch3

install nodes

grab the latest release

node0

ver=2.14.0

wget https://artifacts.opensearch.org/releases/bundle/opensearch/$ver/opensearch-$ver-linux-x64.deb

scp opensearch-$ver-linux-x64.deb opensearch1:~/
scp opensearch-$ver-linux-x64.deb opensearch2:~/
scp opensearch-$ver-linux-x64.deb opensearch3:~/

all nodes

ver=2.14.0
dpkg -i opensearch-$ver-linux-x64.deb
rm -f opensearch-$ver-linux-x64.deb

systemctl daemon-reload

resources

https://opster.com/guides/opensearch/opensearch-high-availability/opensearch-coordinating-node-when-to-use-coordinating-only-nodes/

https://opster.com/guides/opensearch/opensearch-data-architecture/how-to-configure-opensearch-node-roles/

https://opensearch.org/docs/latest/tuning-your-cluster/ ==> node types


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun