opensearch install setup upgrade
dashboard install setup upgrade
tested on debian12
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
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
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
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
https://opensearch.org/docs/latest/tuning-your-cluster/ ==> node types