solana/metrics/influx-enterprise
joeaba 68d57b1b9f
update influx enterprise scripts (#31117)
* update influx enterprise scripts
2023-04-10 09:10:54 -05:00
..
nginx update influx enterprise scripts (#31117) 2023-04-10 09:10:54 -05:00
README.md update influx enterprise scripts (#31117) 2023-04-10 09:10:54 -05:00
setup-data-nodes.sh update influx enterprise scripts (#31117) 2023-04-10 09:10:54 -05:00
setup-meta-nodes.sh update influx enterprise scripts (#31117) 2023-04-10 09:10:54 -05:00
status.sh update influx enterprise scripts (#31117) 2023-04-10 09:10:54 -05:00

README.md

image

Influxdb_Enterprise

Influx_Enterprise

Deploy an Influx Enterprise Cluster

An influx enterprise cluster requires two type of nodes, meta nodes and data notes in order to operate properly:

Influxdb Meta Nodes

Meta nodes are the ones that keep state about the cluster, including which servers, databases, users, continuous queries, retention policies, subscriptions, and blocks of time exist. You need at least 3 meta nodes running at all times. To replace the meta nodes or add more you can use the setup-meta-nodes.sh script updating the requires variables:

  1. SERVERS="<LIST_OF_SERVERS>"
  2. LICENSE_KEY="<YOUR_LICENSE_KEY>"
  3. VERSION="<INFLUXDB_VERSION>"

Influxdb Data Nodes

Data nodes are the ones that store all time series data and handles all writes and queries. You can have as many data nodes as possible that add up to the number on vCPU that your license allows. To replace the data nodes or add more you can use the setup-data-nodes.sh script updating the requires variables:

  1. SERVERS="<LIST_OF_SERVERS>"
  2. LICENSE_KEY="<YOUR_LICENSE_KEY>"
  3. VERSION="<INFLUXDB_VERSION>"

Status Check

The status.sh script runs periodically on BuildKite to make sure that both, the data and meta services are running properly in all the servers of the cluster. If it detects that the service is not running it will try to redeploy it and send an alert to Discord and PagerDuty in case it fails to do so.