Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to Home → Settings → Search for Cluster

  2. Upload a JSON file like below:

    Code Block
    languagejson
    {
      "notifTimeout": 60,
      "notifErrorRcpts": ["john.doe@krishagni.com", "jane.doe@krishagni.com"],
      "secret": "TopSecret!@3",
      "nodes": [
        {
          "name": "lion",
          "url": "http://10.0.1.1:8080/openspecimen/"
       	 },
       	 {
        	  "name": "panther",
       	   "url": "http://10.0.1.2:8080/openspecimen/"
       	 }
      ]
    }

Attribute

Description

nodes

The list of OpenSpecimen nodes in the cluster.

  1. The name attribute identifies the node (same as that specified in openspecimen.properties).

  2. The URL attribute specifies the HTTP URL of the node's Tomcat to use for sending the cluster related events/notifications.

secret

A secret known only to the OpenSpecimen nodes. Used for trusted communication between the nodes in the cluster.

notifTimeout

Max. amount of time, in seconds, that a node waits for receiving the acknowledgement from the other nodes in the cluster for its broadcast event.

notifErrorRcpts

Comma separated list of email IDs to whom the cluster error notifications are sent.

...