RHEL (ppc64le)
adduser xormon passwd xormonIncrease user system limits
xormon hard stack -1 xormon soft stack -1 xormon hard data -1 xormon soft data -1 xormon hard nofile 32768 xormon soft nofile 32768 xormon hard nproc 64000 xormon soft nproc 64000
# RHEL 9: subscription-manager repos --enable codeready-builder-for-rhel-9-ppc64le-rpms # Rocky / Alma / Centos Linux 9.x dnf config-manager --enable crb
dnf install -y perl ed libxml2 epel-release wget curl gnupg net-tools sblim-wbemcli libaio wget curl strace dnf install -y perl-TimeDate perl-XML-Simple perl-XML-SAX perl-XML-LibXML perl-Env perl-CGI perl-Data-Dumper dnf install -y perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty openldap-clients perl-Time-Piece dnf install -y perl-JSON perl-JSON-PP perl-JSON-XS net-snmp-perl net-snmp-utils perl-DBI perl-DBD-ODBC unixODBC unixODBC-devel freetds dnf install -y libjpeg-devel zlib-devel libpng-devel libjpeg-turbo-devel libjpeg-turbo-utils dnf install -y perl-DBD-Pg # for oVirt/RHV/OLVM support only dnf install -y perl-FindBin # it does not exist on RedHat 8.xPython: required only for prediction graphs
dnf install -y python3-virtualenv python3-pip libpq-devel python3-devel
dnf install -y java-11-openjdk-headless
dnf module enable nodejs:20 dnf install nodejs npm update -g npm node -v
cd /tmp wget https://nodejs.org/dist/v20.12.0/node-v20.12.0-linux-ppc64le.tar.xz # extract package to /usr/local cd /usr/local tar xf /tmp/node-v20.12.0-linux-ppc64le.tar.xz --strip-components=1 # check node version node --version # remove source file rm /tmp/node-v20.12.0-linux-ppc64le.tar.xz
setcap 'cap_net_bind_service=+ep' /usr/bin/node
postgresql-setup --help
postgresql-setup initdb
# replace all ident methods with scram-sha-256 to anable login via TCP sed -i 's/ident$/scram-sha-256/g' /var/lib/pgsql/data/pg_hba.conf
# essentials for building dnf install cmake gcc postgresql-server-develIf above fails with
Problem: problem with installed package libpq-devel-13.11-1.el9.ppc64le - package postgresql-private-devel-15.6-1.module+el9.3.0+16128+52b853ae.ppc64le from appstream conflicts with libpq-devel provided by libpq-devel-13.11-1.el9.ppc64le from @System ...Then remove libpq-devel and try installation again
dnf remove libpq-devel
cd /tmp wget https://github.com/timescale/timescaledb/archive/refs/tags/2.14.2.tar.gz -O - | tar xz # bootstrap the build system cd timescaledb-2.14.2/ ./bootstrap # to build the extension cd build && make # to install make installWe need timescaledb-tune to configure PGSQL, install with Go lang if you are online
dnf install golang go install github.com/timescale/timescaledb-tune/cmd/timescaledb-tune@latest # tune PGSQL for TSDB /root/go/bin/timescaledb-tune -yes -pg-config /usr/bin/pg_config -conf-path /var/lib/pgsql/data/ sed -i 's/#synchronous_commit = on/synchronous_commit = off/' /etc/postgresql-setup/upgrade/postgresql.confor get ready to use RPM to install timescaledb-tune:
dnf install timescaledb-tune.el9.ppc64le.rpm # tune PGSQL for TSDB timescaledb-tune -yes -pg-config /usr/bin/pg_config -conf-path /var/lib/pgsql/data/ sed -i 's/#synchronous_commit = on/synchronous_commit = off/' /etc/postgresql/16/main/postgresql.conf
systemctl enable --now postgresql
sudo -u postgres psql postgres=# \password postgres postgres=# ALTER USER postgres VALID UNTIL 'infinity'; postgres=# \qMake note of the password. It will be needed later during XorMon installation.
# OS agents connect to the port 8162 firewall-cmd --zone=public --add-port=8162/tcp --permanent # UI runs on port 443 firewall-cmd --zone=public --add-service=https --permanent # apply rules firewall-cmd --reload firewall-cmd --list-port