Multi-Node Setup for NATS

This document explains the steps to enable NATS in a Pulse for multi-node setup. This setup requires you to have at least three nodes in your cluster. One of the three nodes must be Pulse core node.

Pulse Core Node Configuration

This section describes the configurations to be performed in the Pulse core node.

  1. Update the ad-core.yml file under the $AcceloHome/config/docker/ad-core.yml directory to use the nats-cluster-server.conf file in the volume section for ad-events.
Bash
Copy
  1. Update the **nats-cluster-server.conf** file under $AcceloHome/config/db/nats-cluster-server.conf directory. You must add the IP addresses of the other two nodes in appropriate places (mentioned as n1 and n2).
Bash
Copy
  1. Execute the following code to deploy the ad-events container.
Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard