Example configuration file
The following example shows a configuration file complete with gateway commands and writer attributes:
#
START READER SERVER_READER CONNECT TO NCOMS;
#
# Start up the writer
#
START WRITER PEREGRINE_WRITER
(
TYPE = PEREGRINE,
REVISION = 1,
MODULE_REVISION = 5,
OPEN_MAP = PEREGRINE_OPEN_MAP,
UPDATE_MAP = PEREGRINE_UPDATE_MAP,
CLOSE_MAP = PEREGRINE_CLOSE_MAP,
JOURNAL_MAP = PEREGRINE_JOURNAL_MAP,
READER_PORT = 9000,
WRITER_PORT = 9001,
FEEDBACK_SERVER = 'NCOMS',
FEEDBACK_FIELD = 'Location',
PROBNUM_FIELD_INDEX = 2,
SEPARATOR_CHAR = '^',
CLOSE_PROBLEMS = TRUE,
DATE_FORMAT = '%m/%d/%y %T',
COUNTERPART = SERVER_READER,
CONVERSIONS_TABLE = 'conversions.peregrine',
MAX_SAF_FILE_SIZE = 20240000,
STORE_FILE = '/tmp/G_PEREGRINE_PEREGRINE_WRITER.store',
OPEN_ACTION_SQL = '$OMNIHOME/gates/peregrine
/open_action.peregrine.sql',
UPDATE_ACTION_SQL = '$OMNIHOME/gates/peregrine
/update_action.peregrine.sql',
CLOSE_ACTION_SQL = '$OMNIHOME/gates/peregrine
/close_action.peregrine.sql'
# STORE_FILE = '/opt/Omnibus/var/G_PEREGRINE_PEREGRINE_WRITER.store',
# OPEN_ACTION_SQL = '/opt/Omnibus/gates/peregrine/
open_action.peregrine.sql',
# UPDATE_ACTION_SQL = '/opt/Omnibus/gates/peregrine/
update_action.peregrine.sql',
# CLOSE_ACTION_SQL = '/opt/Omnibus/gates/peregrine/
close_action.peregrine.sql'
# OPEN_ACTION_SQL = 'C:\\Program Files\\Netcool\\OMNIbus
\\gates\\Peregrine\\open_action.peregrine.sql',
# UPDATE_ACTION_SQL = 'C:\\Program Files\\Netcool\\OMNIbus
\\gates\\Peregrine\\update_action.peregrine.sql',
# CLOSE_ACTION_SQL = 'C:\\Program Files\\Netcool\\OMNIbus
\\gates\\Peregrine\\close_action.peregrine.sql',
# CURR_SYS_SEQ_TABLE = 'custom.sys_seq',
# CURR_SYS_SEQ_NAME = 'peregrine',
# RW_MODULE_PING = TRUE
);
#
# Add a route from the reader to the writer so the info gets passed
#
ADD ROUTE FROM SERVER_READER TO PEREGRINE_WRITER;
#
# End of file