Standalone TSDB
TSDB contains information related to real-time telemetry events from platform infrastructure, JMX events, and Spark executor or driver JVM usage timeline.
The TSDB standalone installation gives you the choice of running a single TSDB instance that hosts both systems and Spark Graphite Metrics Data events or running two distinct TSDB instances on the same or different hosts.
Follow the steps to make the TSDB a required option.
Single Standalone TSDB
- Follow the steps as performed earlier with Install Pulse on a Single Node (Docker).
- Run the following commands on the host that is being used for standalone TSDB.
[root@pulse2:~ (ad-default)]$ accelo deploy addons
INFO: Active Cluster: pulse_demo
? Select the SA components you would like to install: [Use arrows to move, space to select, type to filter]
> [ ] FS Elastic
[ ] LogSearch
[x] STANDALONE TSDB
[ ] FS Analytics V2
[ ] STANDALONE DB
[ ] HA GraphQL
[ ] LDAP
Type the active cluster name, and select FS Elastic.
- Login to the Pulse server and open the main Pulse configuration file present at
_ACCELO_HOME/config/acceldata_cluster_name.conf_
. Update the influx hostname in every placeholder:
influx = [
{
name = "default"
host = "<influx_host_name>"
port = 19009
username = "<username>"
password = "<password>"
dbName = "<db_name>"
},
{
name = "kafka"
host = "<influx_host_name>"
port = 19009
username = "<username>"
password = "<password>"
dbName = "<db_name>"
},
{
name = "graphite"
host = "<influx_host_name>"
port = 19009
username = "<username>"
password = "<password>"
dbName = "<db_name>"
},
{
name = "nifi"
host = "<influx_host_name>"
port = 19009
username = "<username>"
password = "<password>"
dbName = "<db_name>"
},
{
name = "dsConnection",
host = "<influx_host_name>"
port = 19009,
username = "<username>"
password = "<password>",
encrypted = false,
dbName = "<db_name>"
}
],
- Login to the influx host and connect to Influx db shell for creating databases for SYS, Kafka, Spark, DB names to be used as specified on above Pulse app configuration file.
- Login to Pulse core server for updating all Pulse agents to new TSDB, update influx hostname on override.yml file.
base:
graphite_influxdb_urls: http://<NEW_TSDB_HOSTNAME>:19009
influxdb_urls: http://<NEW_TSDB_HOSTNAME>:19009
- On Pulse-core server run the following command to apply the configuration changes.
accelo reconfig cluster -a
- Run the push config command on Pulse core server to push the updated config changes in application config file. Press Y on any prompts.
accelo admin database push-config -a
- Restart all the Pulse services.
accelo restart all
Was this page helpful?