How to Enable and Configure Cloud Clustering?

How to Enable and Configure Clustering?

Cloud is a NodeGrid feature that establishes a secure and resilient connection among other NodeGrid platforms so that when Clustering is enabled, multiple NodeGrid systems can easily manage and access all managed devices from other 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: Make sure the cluster license is added to the Coordinator under System::License.

Below are the steps to configure Clustering in the NodeGrid:

1. Log in to your first NodeGrid's WebUI as admin

2. Go to Cluster::Settings page

3. Check 'Enable Cluster' checkbox

4. Enter a Cluster Name

5. Select Type as Coordinator, and enter a Pre-Shared Key

6. Select Cluster mode, Star or Mesh. Change polling rate if you require. default is 30 sec.

7. Check 'Enable Clustering Access' checkbox

8. 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 'Enable Clustering Access' checkbox

14. Save

Repeat steps 8 through 13 for other NodeGrids that you want to be part of the Clustering

Go to Cluster::Peers page and wait until all units establish internal communication and get Status 'Online'

Go to 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:

[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:

[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

 

Repeat the commands for other NodeGrids for the Clustering.


    • Related Articles

    • How to Configure the NodeGrid to Be More Secure?

      As far as the NodeGrid software's networking services, it comes with some security in mind, but it still is not as closed as some network policies require. This can be accomplished by changing the services settings in Security :: Services page per ...
    • How to Connect and Configure a USB Serial device on the NodeGrid ?

      Overview: The Nodegrid OS supports the serial connections via USB as well. In particular, it supports the connections USB - USB Micro, very used on some vendor switches (e.g. Cisco), as alternatives to the RJ45 console ports. For the testing, we used ...
    • Can I Cascade NodeGrid Serial Console Units?

      NodeGrid Serial Console (NSC) serial console server is able to share network ports with fellow devices, sharply reducing network switch port usage for OOB device management. This new port saving feature is already reliably and securely saving many ...
    • How to: Setup the multi-clustering on the Nodegrid OS

      This article deals with the description and the configuration of the multi-clustering feature on the Nodegrid OS. Description: Multi-Clustering allows a centralized view and access across various clusters, therefore across various Datacenters and ...
    • How to Send Syslog Messages to a Different Socket Port?

      If your Remote Syslog Server has its socket port set with a different port e.g. 5514 (default is 514), you can modify the NodeGrid syslog-ng configuration to accommodate this situation. Here's how: Log in as admin to NodeGrid WebUI Go to Auditing :: ...