Transformer SDK For C  8.0.2.290852-a608fcd3
Configuration: Cluster

The cluster module permits the clustering of Transformers allowing data to be replicated between Transformers.

Data can be replicated either by programmatically or by configuration.

Loading the Cluster module

To load the cluster module add the following to transformer.conf

add-module  cluster
Options

The following options should be placed in cluster.conf and configure the way that replication takes place.


connect-sync-ignore

Type: String Array
Default: None

Symbol patterns ignore when connecting


connect-sync

Type: String Array
Default: None

Symbol patterns to automatically sync on connect


always-auto-distribute-ignore

Type: String Array
Default: None

Symbol patterns ignore when distributing regardless of cluster state


always-auto-distribute

Type: String Array
Default: None

Symbol patterns to automatically distribute regardless of cluster state


auto-distribute-ignore

Type: String Array
Default: None

Symbol patterns ignore when distributing


auto-distribute

Type: String Array
Default: None

Symbol patterns to automatically distribute


cluster-index

Type: Integer
Default: -1
Minimum: 0

Index of this node


add-cluster-node

Configuration group add-cluster-node

Add a cluster node

cluster-addr

Type: String
Default: None

Address of cluster node


cluster-port

Type: Integer
Default: -1

Port of cluster node


default-primary

Type: Boolean
Default: FALSE

Default primary



force-primary

Type: Boolean
Default: FALSE

Force this instance to be primary


primary-config-file

Type: String
Default: %r/etc/cluster-primary.conf

Config file for the forced status


cluster-packet-logfile

Type: String
Default: None

Log cluster packets into this file


primary-method

Type: String
Default: order

Method of determining primary mode operation


stable-time

Type: Integer
Default: 5

Time for system to be up before becoming primary


logfile

Type: String
Default: cluster.log

Logfile


log-level

Type: String
Default: INFO

Specify the level at which logs are reported. This can take the following values (in order of decreasing severity/increasing verbosity):

log-level name Description
CRIT Reports critical errors that prevent the application from running.
ERROR Reports serious errors regarding network connections and all errors included in the CRIT log level.
NOTIFY Reports errors regarding data corruptions and all errors included in the ERROR and CRIT log levels.
WARN Reports minor errors and all errors included in the NOTIFY, ERROR and CRIT log levels.
INFO Reports events and information regarding normal operation, and all errors included in the WARN, NOTIFY, ERROR and CRIT log levels.
DEBUG Reports tracing information and all logs at a higher level.
FINER Reports more deatiled tracing information and all logs at a higher level.
FINEST Reports more deatiled tracing information and all logs at a higher level.

check-period

Type: Floating Point Value
Default: 1.000000

Interval to check primary status at (monitoring only)


connect-sync-always

Type: Boolean
Default: FALSE

Always sync data regardless of primary status


cluster-connect-timeout

Type: Floating Point Value
Default: 10.000000

Timeout for connections


cluster-nosave-on-secondary

Type: Boolean
Default: FALSE

Don't save replicated symbols on secondary


heartbeat-time

Type: Integer
Default: 15
Minimum: 0

Time between sending heartbeats


heartbeat-slack-time

Type: Integer
Default: 5
Minimum: 0

Max time between reading heartbeats



Generated on Wed Jul 31 2024 18:00:14 for Transformer SDK For C