...
All the cluster nodes should share the same data directory. There will be one data folder shared across all the nodes in the cluster using any mechanism. All the nodes should have read/write access to the folder.
Cluster Setup
Navigate to Home → Settings → Search for Cluster
Upload a JSON file like below:
Code Block language json { "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.
|
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. |
Startup Sequence
The preferred way to startup the nodes in cluster is to start one node at a time, ensure the node is up and functional, and then move on to the next node in the cluster. Do not attempt to start all nodes of the cluster at the same time or concurrently.
...