Failover Cluster

This is a global server configuration property that is responsible for functioning of this Iotellect Server as a part of failover cluster. Fields of this property are mapped to the server configuration file.

Cluster Role

Key name in the configuration file: clusterRole

Value type: Integer

Possible values: 0 for None, 1 for Master and 2 for Failover

Default value: 0

Defines role of this Iotellect Server installation in the failover cluster.

Failover Mode

Key name in the configuration file: clusterFailoverReadonly

Value type: Boolean

Possible values: true or false

Default value: false

Defines whether this failover node works in read-only mode, i.e. its database write operations are disabled.

Node Failure Detection Time

Key name in the configuration file: clusterFailureDetectionTime

Value type: Long

Possible values: 4000 to 86400000

Default value: 20000

Time in milliseconds required for the cluster nodes to mark a certain node as "dead" if it does not perform database updates.

  • Failover nodes will activate themselves and switch to Failover Master mode if master node is inactive for longer than the Node Failure Detection Time

  • Master node will emit a warning event if no failover nodes are alive for longer than the Node Failure Detection Time

Heartbeat Port

Key name in the configuration file: clusterHeartbeatPort

Value type: Integer

Possible values: 0 or more

Default value: 7800

Number of port to listen for other cluster nodes' heartbeat.

Heartbeat Addresses of Other Nodes

Key name in the configuration file: clusterHeartbeatHelperUrls

Value type: String

Possible values: A list of IP addresses with port numbers separated by commas, e.g. address:port, address:port.

Default value: "" (empty)

Heartbeat Interface IP Address

Key name in the configuration file: clusterHeartbeatInterfaceAddress

Value type: String

Possible values: An interface to listen for heartbeat on. If the server hardware has more than one network interface a particular interface should be defined.

Default value: The first founded network interface IP address

Was this page helpful?