source: trunk/params/nq2wws.d @ 7968

Revision 7968, 5.0 KB checked in by paulf, 2 months ago (diff)

updated common params dir with latest .d .desc from source

  • Property svn:executable set to *
Line 
1#
2#
3
4#   nq2wws_ack configuration file
5#
6#Background: 
7# Import/Export are the long-distance message transfer
8# modules. They operate as one-on-one pairs.
9#
10# Import/Export send heartbeats to each other, as well as into their
11# local earthworm systems. If the heartbeat from the distant partner is
12# not received whithin the expected time period (RcvAliveInt) the link is
13# terminated, and an attempt to reconnect is initiated. If things go
14# seriously wrong, the heartbeat into the local earthworm system in
15# stopped. The expectation is that "restartMe" has been set in the .desc
16# file, and we'll be killed and restarted.
17#
18# All socket operations are performed with a timeout. This is noramlly
19# defaulted, but can be set in this file (SocketTimeout).
20#
21# Nq2wws_ack maintains a circular FIFO buffer of messages to be shipped. The
22# size of this buffer (RingSize) controls the maximum latency of the
23# data.
24#
25#
26#Configuration notes:
27#
28# "restartMe" should be stated in our desc file.
29#
30# The period of our local heartbeat (HeartBeatInt) must be safely smaller
31# (faster) than our advertised period in our .desc file (tsec:).
32# Otherwise we'll get continually restarted for no good reason.
33# Note that tsec:0 implies no heartbeats expected, and so we'll never get
34# restarted.
35#
36# The rate at which we send heartbeats to our distant partner should be
37# considerably faster than the rate at which our partner expects them.
38# Otherwise, a heartbeat delayed in transmission will cause our partner to
39# conclude that the link is broken, and cause them to break the link and
40# reinitialize. Which will cause us to do the same.
41#
42# For export, the ServerIPAdr is  the address of the port to be used in
43# the exporting machine.  This is to specify a network card case the
44# exporting machine has several network cards.
45#
46# If SocketTimeout is specified, it should be at least as large as the
47# expected period of heartbeats from our distant partner.
48
49#
50 MyModuleId     MOD_NQ2WWS          # module id for this program
51 RingName       HYPO_RING           # transport ring to use for input/output
52 HeartBeatInt   30                  # EW internal heartbeat interval (sec)
53                                    #   Should be >= RcvAliveInt
54
55 LogFile        1      # If 0, don't write logfile
56                       #    1, write to logfile and stdout
57                       #    2, write to module log but not stderr/stdout
58#Verbose               # If uncommented, VERY LARGE logfiles will be
59                       #   generated with info about queue status of
60                       #   each msg, socket alive msgs sent & received.
61
62# Set up Message Queues
63# Note: socket "alive" messages are not put in either queue
64#----------------------------------------------------------
65 MaxMsgSize       1024         # maximum size (bytes) for input/output msgs
66 RingSize         6000         # number of msgs to buffer for export
67                               #  (msgs waiting to be sent to socket)
68 SendQueueLength   200         # Optional command: #msgs in SendQueue
69                               #  (msgs sent, acknowledgments pending)
70                               #  Valid range: 1-254 (default 100)
71 
72# ServerIPAdr and ServerPort specify the local IP address and port number
73# on which this module will be ready to accept a client connection.
74#
75 ServerIPAdr  aaa.bbb.ccc.dd   # Export messages via this ethernet card   
76 ServerPort     16005          # Well-known port number to export msgs on
77
78 SendAliveText   "alive"       # string sent to client as heartbeat
79 SendAliveInt      30          # seconds between alive msgs sent to client.
80                               #  0=> no heartbeat
81 RcvAliveText    "alive"       # text of client's heartbeat (we get this)
82 RcvAliveInt       150         # seconds between client's heartbeats to us.
83                               #  0 => no heartbeat
84#
85# Socket commands
86#
87# The commands below are optional.
88# SocketTimeout defaults to RcvAliveInt + 3
89#  If set to -1, all socket calls will block (no timeout).
90#  SocketTimeout has no effect in export, unless it is set to -1,
91#  because there is no code in export to handle socket timeouts.
92#  If set to -1, the program may run slightly more efficiently because
93#  timeout checking code will not execute.
94# SocketTimeout 200000  # Timeout length in milliseconds for socket calls
95
96# SocketDebug defaults to 0
97 SocketDebug   0       # if 1, socket_ew debug statements are logged
98                       # if 0, socket_ew debug is turned off
99 HBDebug       0       # if 1, heartbeats sent and received are logged
100                       # if 0, turned off
101
102# Directory where we should look for the NetQuakes miniSEED files
103NQFilesInDir    /home/luetgert/getfiles/netquakes
104
105# Directory where the successfully processed files are put
106NQFilesOutDir /home/luetgert/getfiles/netquakes/save
107
108# Directory where the problem files are put
109NQFilesErrorDir /home/luetgert/getfiles/netquakes/trouble
110
111# Debug switch: the token "Debug" (without the quotes) can be stated.
112# If it is, lots of weird debug messages will be produced
113# Debug
114
Note: See TracBrowser for help on using the repository browser.