Table 22.1. Mandatory properties - these properties must be properly set on each node of the cluster
| property | type | default |
|---|---|---|
| cluster.enabled | boolean | false |
| description: | switch whether server is connected to the cluster or not | |
| cluster.node.id | String | node01 |
| description: | each cluster node must have unique ID | |
| cluster.shared_sandboxes_path | String, path | |
| description: | Path, where all shared sandboxes are stored on this node. If cluster is enabled, all sandboxes are shared, thus "rootPath" attribute of the sandbox is ignored. Path to the root directory of the sandbox is constructed like this: [shared_sandboxes_path]/[sandboxID] | |
| cluster.jgroups.bind_address | String, IP address | 127.0.0.1 |
| description: | IP address of ethernet interface, which is used for communication with another cluster nodes. Necessary for inter-node messaging. | |
| cluster.jgroups.start_port | int, port | 7800 |
| description: | Port where jGroups server listens for inter-node messages. | |
| cluster.jgroups.tcpping.initial_hosts | String, in format: "IPaddress1[port1],IPaddress2[port2]" | 127.0.0.1[7800] |
| description: | List of IP addresses(with ports) where we expect running and listening nodes. It is related to another nodes "bind_address" and "start_port" properties. I.e. like this: bind_address1[start_port1],bind_address2[start_port2],... It is not necessary to list all nodes of the cluster, but at least one of listed host:port must be running. Necessary for inter-node messaging. | |
| cluster.http.url | String, URL | http://localhost:8080/clover |
| description: | URL to the root of web application of configured node. Necessary for inter-node cooperation. This value will be sent to all other nodes in the cluster to let them know how to connect to this node. | |