Example property file settings for peer-to-peer failover
You set the peer-to-peer failover mode in the properties files of the master and slave probes. The settings differ for the master probe and slave probe, except for the ConnectorName property.
The following example shows the peer-to-peer settings
from the properties file of a master probe:
ConnectorName : "connector_name"
Server : "NCOMS"
RulesFile : "master_rules_file"
MessageLog : "master_log_file"
PeerHost : "slave_hostname"
PeerPort : 5555 # [communication port between master and slave probe]
Mode : "master"
The following example
shows the peer-to-peer settings from the properties file of the corresponding
slave probe:
ConnectorName : "connector_name"
Server : "NCOMS"
RulesFile : "slave_rules_file"
MessageLog : "slave_log_file"
PeerHost : "master_hostname"
PeerPort : 5555 # [communication port between master and slave probe]
Mode : "slave"