Deploy Pulse Database

You can deploy Pulse databases on virtual machines (VMs) or bare metal nodes using the Pulse Manager Server. The Pulse Manager Agent, installed on each VM, applies the database deployment plan and sends the status of the databases to the Pulse Manager Server.

Pulse databases store the data collected from Hadoop nodes and processed by Pulse Core and Add-on services. The Pulse UI retrieves this data from the databases and displays it in the user interface.

Deploy Databases on VMs

As part of the Pulse setup, deploy the following databases on Virtual Machines (VMs):

  • ElasticSearch: ad-elastic and logstash

  • VictoriaMetrics:

    • ad-vmstorage
    • ad-vmselect
    • ad-vminsert
  • MongoDB: ad-db

  • PostgreSQL:

    • ad-pg
    • ad-pg-ui
  • Message Queue

    • Ad-events

Prerequisites

  • Ensure the Pulse Manager Agent is already installed on VMs or Bare Metal Nodes. For more information, see Deploy Pulse Manager Agent.
  • Have the cacerts file ready for the ElasticSearch deployment. This is needed to enable secure communication between ElasticSearch nodes.

Deployment Steps

To begin the database (DB) deployment, follow these steps:

  1. Request the /init API of the Manager Server, providing the image tag and other necessary information.
Bash
Copy

Before running the command, ensure you have updated all placeholder values enclosed in <> with the appropriate information.

  • The curl command sends a POST request to the init endpoint of the Pulse Manager Server via its Ingress API URL.
  • The Authorization provides basic authentication to authorize the request.
  • This JSON payload provides the initial configuration:
KeyDescription
pulse_versionSpecifies the Pulse version to use.
registry_urlThe URL of the container registry (e.g., AWS ECR) where Pulse images are stored.
registry_secretThe Kubernetes secret used to authenticate with the registry.
hdfs_retention_daysHow long to retain HDFS-related data in the system (in days).
mongo_retention_daysHow long to retain MongoDB data.
logstore_retentionLog storage retention duration (e.g., ElasticSearch).
metrics_retentionRetention period for metrics data (e.g., in VictoriaMetrics).
  1. Upload the CACerts for Elastic Deployment.
Bash
Copy
  1. Execute the Deploy DB API call to initiate the database deployment.
Bash
Copy
  1. Verify the database status.

Check whether all the database instances are up and running by querying their status using the appropriate commands or APIs.

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard