Enable Cluster
    • 21 Aug 2024
    • 1 Minute to read
    • Dark
      Light
    • PDF

    Enable Cluster

    • Dark
      Light
    • PDF

    Article summary

    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:

      [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
    5. Repeat the commands for other NodeGrids for the Clustering.

     


    Was this article helpful?

    What's Next
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence