Cabling Redundancy Configuration Procedures

Important: Make entries on the Hosts tab and Network tab in the CIMPLICITY Options dialog box. Entries on the Hosts tab are written to the CimHosts.txt file. When CimHosts.txt is edited through the Hosts tab, comments that have been written:

In the body of the file or at the end are deleted.

At the beginning of the file are not deleted.

Failover Rate for Cabling Redundancy

The default value for detecting that a network connection has been lost is 20 seconds. Due to the seamless nature of CIMPLICITY Computer Cabling Redundancy, this should be a reasonable default. It can be modified, depending on the needs of the application. The loss detection rate should never be modified to less than 3 seconds.

The failover period is defined as:

PING_INTERVAL * (PING_COUNT + 1)

The two parameters, PING_INTERVAL and PING_COUNT are defined in the cimhosts.txt file.

The formats for these parameters are:

#PING_INTERVAL <seconds>

#PING_COUNT <count>

where

<seconds> is the number of seconds between probe attempts and <count> is the number of probes to make.

Example

Sample entries for these parameters would be:

#PING_INTERVAL 2

#PING_COUNT 10

A related parameter is CONNECT_TIMEOUT. This is the number of seconds to wait after forming the TCP/IP connection for the initial data to arrive from the other computers. The default value is 10 seconds. There should be no reason to change this value.

Diagnostic Output for Cabling Redundancy

The CIMPLICITY Computer Cabling Redundancy option can generate diagnostic output that you can use to track down problems with the functioning of the cabling redundancy system. To generate diagnostic output, enter a valid value for the DEBUG parameter in the cimhosts.txt file.

The format for this parameter is:

#DEBUG <flags>

where

<flags> is a value used to control what types of diagnostic output to generate.

You can add any of the following values together to form the <flags> value:

Value

Output

1

Print errors

2

Print infrequent calls

4

Print all Winsock calls

8

Print all transactions

TCP/IP Port for Cabling Redundancy

To support CIMPLICITY Computer Cabling Redundancy, you need to use a set of TCP/IP ports in the range 5000 to 6000. Depending on other communication software you are running you might have to alter this range. This is controlled by the START_PORT_RANGE and NUMBER_OF_PORTS parameters in the cimhosts.txt file.

The formats for these parameters are:

#START_PORT_RANGE <port>

#NUMBER_OF_PORTS <count>

where

<port> is the TCP/IP port to start with and <count> is the number of ports to use.

Example

Sample entries for these parameters would be:

#START_PORT_RANGE 5000

#NUMBER_OF_PORTS 1000

More information

Computer cabling redundancy.