2nd Instance of InfluxDB

Hi community,

is it possible to have more than one instance of influxdb running at the same time?

I’am sittin’ on Ubuntu 20.04.5 LTS - want to use influxdb 2.4

Thanks for response.

@symlink0815,
Welcome! Yes It’s possible to have more than one container running of InfluxDB at the same time.
Or did you mean a local install?

Hi, thanks for answering. Yes, local install. Docker is no option because of the hosters vServer aren’t docker compatible…

You’ll want to follow:

Then I believe you’ll want to change the files it installs or the pathways of the first install:

Installing the InfluxDB package creates a service file at /lib/systemd/services/influxdb.service to start InfluxDB as a background service on startup.
Then I believe you’ll want to run

sudo systemctl edit influxdb

And rename /lib/systemd/services/influxdb.service so you can start a separate service.