Switch Server Configuration Files

Delimiter

Description

_ip(data)ip_

IP Address of the socket server

_p(data)p_

Port number on which the socket server listens

_dbg(data)dbg_

Debugging flags for this switch

_ctmo(data)ctmo_

Connection timeout (from DM to socket server) in seconds

_rtmo(data)rtmo-

Receive timeout (from socket server to DM) in milliseconds

_stmo(data)stmo_

Send timeout (from DM to socket server) in milliseconds

_bsz(data)bsz_

DM receive buffer size

_mode(data)mode_

See below, default value is 3

_ping(data)ping_

This specifies the ping timeout in ms, if pinging is enabled

_cp(data)cp_

Port on which the DM listens for up to 5 clients to which it can echo data received from the socket server

_log(data)log_

Start a new time-stamped log file for the switch every day(0) or hour (1), default is 0

_b(data)b_

Makes the transfer of data between the socket server and the DM blocking(0) or non-blocking(1), default is 0

The mode delimiter

The _mode delimiter uses three bits as follows:

·      bit 1: If on, pinging after a receive timeout is enabled. If the ping fails, the DM switch socket is closed and clients are terminated. Adds 1 to the total of _mode if on.

·      bit 2: If on, after a receive timeout a disconnect/reconnect (without terminating clients) is automatically attempted, irrespective of whether pinging is successful. if the automatic reconnect fails, clients are terminated. If both of the first two bits are enabled, pinging happens first. 
Adds 2 to the total of _mode if on.

·      bit 3: If on, this causes an automatic disconnect/reconnect (without terminating clients) whenever the switch host does a GRACEFUL close. If off, the DM responds to the host close by immediately terminating all clients, irrespective of whether those clients have flushed their buffers or not. 
Adds 4 to the total of _mode if on.

Configuration delimiters which may be dynamically changed by means of the ReConfigure facility

·      _b, _ping, _mode, _ctmo, _stmo & _rtmo