---
title: "Enable Cluster"
slug: "enable-cluster"
updated: 2024-08-21T04:50:50Z
published: 2024-08-21T04:50:50Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zpesystems.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable Cluster

Cloud is a NodeGrid feature that establishes a secure and resilient connection among other NodeGrid platforms. When Clustering is enabled, multiple NodeGrid systems can easily manage and access all managed devices from different nodes.

NodeGrid makes cloud access management even easier with cloud asset search. By logging into any NodeGrid node users can search the entire NodeGrid-managed enterprise network and cluster with a single interface.

This allows vertical and horizontal scalability.

Note: Ensure the cluster license is added to the Coordinator under System::License.

The following are the steps to configure clustering in NodeGrid:

1. Log in to your first NodeGrid's WebUI as admin
2. Go to **Cluster**:: **Settings** page.
3. Check the **Enable Cluster**checkbox.
4. Enter a **Cluster** Name
5. Select**Type** as **Coordinator**, and enter a **Pre-Shared** Key
6. Select the **Cluster** mode, Star, or Mesh. Change the polling rate if you require. default is 30 sec.
7. Check the **Enable Clustering Access** checkbox.
8. Click **Save.**
9. Go to your second Nodegrid and log in as admin.
10. Go to **Cluster**:: **Settings** page, and enable Cluster.
11. Enter the same **Cluster** name from the Coordinator NodeGrid.
12. Select **Type** as **Peer**, and enter the IP address and the same Pre-Shared Key of the first NodeGrid
13. Check the **Enable Clustering Access**checkbox.
14. Click **Save**.
15. Repeat steps 8 through 13 for other NodeGrids that you want to be part of the Clustering
16. Go to the Cluster :: Peers page and wait until all units establish internal communication and get Status **Online.**
17. Go to the **Access** page and all the nodes should be listed there. You will also see the leased cluster license under **System**:: **License**.

#### Example of Configuration via CLI Note: replace the values of the parameters with your own

1. Access the first NodeGrid via SSH or local port (Console or HDMI) and log in as admin
2. Type the following commands:  
  

```actionscript
[admin@nodegrid /]# cd /settings/cluster/settings
[admin@nodegrid   settings/] edit
[admin@nodegrid {settings}]# set enable_cluster=yes type=coordinator
[admin@nodegrid {settings}]# set cluster_name=clustername
[admin@nodegrid {settings}]# set psk=presharedkey
[admin@nodegrid {settings}]# set cluster_mode=star
[admin@nodegrid {settings}]# set lps_type=server
[admin@nodegrid {settings}]# set enable_license_pool=yes
[admin@nodegrid {settings}]# set enable_clustering_access=yes
[admin@nodegrid {settings}]# commit
```
3. Access the second Nodegrid via SSH or local port, and log in as admin.
4. Type the following commands:    
  

```actionscript
[admin@nodegrid /]# cd /settings/cluster/settings
[admin@nodegrid   settings/] edit
[admin@nodegrid {settings}]# set enable_cluster=yes type=peer
[+admin@nodegrid {settings}]# set cluster_name=cloudname
[+admin@nodegrid {settings}]# set coordinator_address=1.1.1.1
[+admin@nodegrid {settings}]# set psk=presharedkey
[+admin@nodegrid {settings}]# set enable_clustering_access=yes
[+admin@nodegrid {settings}]# commit
```
5. Repeat the commands for other NodeGrids for the Clustering.
