Installing InfluxDB on IBM Power Systems

Updated: Jul 18, 2019

First create a file system where you want to store the data:

[root@myserver root]# lvcreate -L1G -n influxdb rhel

[root@myserver root]# mkfs.xfs /dev/rhel/influxdb

meta-data=/dev/rhel/influxdb     isize=512    agcount=4, agsize=65536 blks

         =                       sectsz=512   attr=2, projid32bit=1

         =                       crc=1        finobt=0, sparse=0

data     =                       bsize=4096   blocks=262144, imaxpct=25

         =                       sunit=0      swidth=0 blks

naming   =version 2              bsize=4096   ascii-ci=0 ftype=1

log      =Internes Protokoll     bsize=4096   blocks=2560, version=2

         =                       sectsz=512   sunit=0 blks, lazy-count=1

realtime =keine                  extsz=4096   blocks=0, rtextents=0

[root@myserver root]# echo '/dev/mapper/rhel-influxdb /srv/influxdb         xfs     defaults        0 1' >>/etc/fstab

[root@myserver root]# mkdir /srv/influxdb

[root@myserver root]# mount /srv/influxdb

Download the package and unpack it:

[root@myserver root]# curl -O

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 46.9M  100 46.9M    0     0  41109      0  0:19:57  0:19:57 --:--:— 53488

[root@myserver root]# tar --strip-components=1 -xzf influxdb-1.7.7_linux_ppc64le.tar.gz  -C /

Prepare auto-start of the service:

[root@myserver root]# cp /usr/lib/influxdb/scripts/influxdb.service /etc/systemd/system/

[root@myserver root]# systemctl daemon-reload

[root@myserver root]# systemctl enable influxdb

The next step is to configure InfluxDB. Open the file /etc/influxdb/influxdb.conf in your favourite editor and change the following values:

reporting-disabled = true


  # Where the metadata/raft database is stored

  dir = "/srv/influxdb/meta"


  # The directory where the TSM storage engine stores TSM files.

  dir = "/srv/influxdb/data"

  # The directory where the TSM storage engine stores WAL files.

  wal-dir = "/srv/influxdb/wal"

A little bit security - create a separate user and a group for InfluxDB:

[root@myserver root]# useradd -c 'influxdb owner' -d /srv/influxdb -M -s /bin/bash -U influxdb

[root@myserver root]# mkdir /srv/influxdb/{meta,data,wal}

[root@myserver root]# chown -R influxdb:influxdb /srv/influxdb /var/log/influxdb

Now we are ready to start InfluxDB:

[root@myserver root]# systemctl start influxdb

[root@myserver root]# systemctl status influxdb

● influxdb.service - InfluxDB is an open-source, distributed, time series database

   Loaded: loaded (/etc/systemd/system/influxdb.service; enabled; vendor preset: disabled)

   Active: active (running) since So 2019-06-30 10:54:01 GMT; 3s ago


Main PID: 1019 (influxd)

   CGroup: /system.slice/influxdb.service

           └─1019 /usr/bin/influxd -config /etc/influxdb/influxdb.conf

If you have firewalld don't forget to permit traffic on port 8086:

[root@myserver root]# firewall-cmd --add-port 8086/tcp --permanent


[root@myserver root# firewall-cmd --add-port 8086/tcp


Have fun!

#influxdb #ppc64le

552 views0 comments

Recent Posts

See All
  • YouTube
  • Facebook
  • Twitter
  • Instagram

©2019-2020 by