IBM Support

Mttrapd probe failover configuration

Question & Answer


Question

Mttrapd probe : How to configure peer-to-peer functionality

Answer

When configuring the mttrapd probe for failover the PeerHost should be different to increase the resilience of the system.


Example configuration:

MASTER HOST Properties file:
PeerHost: 'slave_host'
PeerPort: 6789
Mode: 'master'
MessageLevel : 'debug'
MessageLog : '/opt/Omnibus/log/mttrapd_master.log'
Port : 162

SLAVE HOST Properties file:
PeerHost: 'master_host'
PeerPort: 6789
Mode: 'slave'
MessageLevel : 'debug'
MessageLog : '/opt/Omnibus/log/mttrapd_slave.log'
Port : 162


It is possible to run two mttrapd probes on the same host in failover mode. In order to do this use unique mttrapd probe ports and define these within the master and slave mttrapd probes property files
e.g.

MASTER HOST Properties file:
Name : 'mttrapd_master'
PeerHost: 'myhost'
PeerPort: 6789
Mode: 'master'
MessageLevel : 'debug'
MessageLog : '/opt/Omnibus/log/mttrapd_master.log'
Port : 162

SLAVE HOST Properties file:
Name: 'mttrapd_slave'
PeerHost: 'myhost'
PeerPort: 6789
Mode: 'slave'
MessageLevel : 'debug'
MessageLog : '/opt/Omnibus/log/mttrapd_slave.log'
Port : 1620

[{"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Generic trapd\/syslog capture per device","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.4.0;7.3.1;7.3.0;8.1.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

LON0128892

Document Information

Modified date:
17 June 2018

UID

swg21241975