Transformer SDK For C
8.0.2.290852-a608fcd3
|
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.
To load the cluster module add the following to transformer.conf
add-module cluster
The following options should be placed in cluster.conf
and configure the way that replication takes place.
Type: String Array
Default: None
Symbol patterns ignore when connecting
Type: String Array
Default: None
Symbol patterns to automatically sync on connect
Type: String Array
Default: None
Symbol patterns ignore when distributing regardless of cluster state
Type: String Array
Default: None
Symbol patterns to automatically distribute regardless of cluster state
Type: String Array
Default: None
Symbol patterns ignore when distributing
Type: String Array
Default: None
Symbol patterns to automatically distribute
Type: Integer
Default: -1
Minimum: 0
Index of this node
add-cluster-node
Add a cluster node
Type: String
Default: None
Address of cluster node
Type: Integer
Default: -1
Port of cluster node
Type: Boolean
Default: FALSE
Default primary
Type: Boolean
Default: FALSE
Force this instance to be primary
Type: String
Default: %r/etc/cluster-primary.conf
Config file for the forced status
Type: String
Default: None
Log cluster packets into this file
Type: String
Default: order
Method of determining primary mode operation
Type: Integer
Default: 5
Time for system to be up before becoming primary
Type: String
Default: cluster.log
Logfile
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. |
Type: Floating Point Value
Default: 1.000000
Interval to check primary status at (monitoring only)
Type: Boolean
Default: FALSE
Always sync data regardless of primary status
Type: Floating Point Value
Default: 10.000000
Timeout for connections
Type: Boolean
Default: FALSE
Don't save replicated symbols on secondary
Type: Integer
Default: 15
Minimum: 0
Time between sending heartbeats
Type: Integer
Default: 5
Minimum: 0
Max time between reading heartbeats