Skip to main content

Cluster


Introduction​

The Cluster menu is used to manage cluster nodes and cross-node data replication. It lets administrators monitor the health of each node, add new nodes to the cluster, and control how data is replicated across the backend services. Changes made here apply at runtime, so no service restart is required.

The following is a guide to managing the cluster in the system. This guide covers viewing the cluster overview and managing cluster nodes, including adding a new node.


1. Cluster Overview​

Follow the steps below to view the cluster overview:

  • Click the System Setting menu located at the bottom of the navigation panel.
  • Select the Cluster menu from the options that appear.
  • The Cluster page will be displayed.
Zoomable Image

At the top of the page, a status badge indicates the current cluster status, such as Single Node when running alone, or Healthy when all nodes in a multi-node cluster are connected and functioning normally. Use the Refresh button at the top right to reload the latest cluster status.

The summary cards show the overall health of the cluster:

  • Total Nodes: Displays the total number of nodes in the cluster.
  • Nodes Ready: Displays the number of healthy and ready nodes.
  • Nodes Down: Displays the number of nodes that are currently unavailable.
  • Replication: Shows whether data replication is currently Active across the cluster.

2. Cluster Nodes​

The Cluster Nodes section lists the nodes participating in the cluster. Each node card shows the node ID, its address, and its role in the cluster:

  • Local: Marks the node you are currently viewing the page from (labeled This node).
  • MAIN: Marks the node designated as the cluster's main node, which other nodes sync from.
  • Connected: Indicates that the node is reachable and currently connected to the cluster.

For a node other than your own (labeled Peer node), a Remove button is available to remove it from the cluster.

Zoomable Image

Follow the steps below to add a new node to the cluster:

1. Click the Add Node button

In the Cluster Nodes section, click the Add Node button on the right side to open the Add Node to Cluster window.

Zoomable Image

2. Fill in the node details

  • Host / IP: Enter the address of the node you want to add to the cluster.
  • Cluster Port: Enter the port used for cluster communication.
  • Gateway Address (Optional): Enter the gateway address used for the reciprocal back-call, so the new node also joins this node.
Zoomable Image
info

When the first peer is added, the current node is designated as the cluster main. The new node will be wiped and automatically synced from the main node right after it joins (around 30 seconds), and subsequent invitations will sync from the same main. Make sure the new node does not contain data you need to keep before adding it.


3. Add the Node

  • Once the details are filled in, click the Add Node button to add the node to the cluster. To cancel, click the Cancel button.
  • After the node joins, it will appear in the Cluster Nodes list and the summary cards will update accordingly.
Zoomable Image

3. Data Replication​

The Data Replication section controls whether each backend service's data is moved and synced across the nodes in the cluster.

Zoomable Image
  • Use the toggle on the right side to enable or disable data replication across all backend services.

  • Each backend service displays its current replication status:

    • Idle: The service is not currently being replicated to another node.
    • Replicating: The service's data is actively being moved and synced to the other nodes in the cluster.
    • Replicating · pending: The service is being replicated, and there are still items waiting to be synced to the target node.

    The available services include:

    • Auth
    • Crypto
    • Lock
    • Tokenize
    • Masking
    • Audit
    • Decryptor

By following the steps above, users can easily manage the cluster as needed on the TAKAKRYPT platform.