Configuring ANSI X3.64 Connections

Operations Sentinel establishes and manages each ANSI X3.64 connection using a separate process on the Operations Sentinel server. Each process adopts a number of interface characteristics based on the type of connection it is to control, either a direct serial connection or a LAN-based TCP/IP connection. The defaults used for each of these connection types work for most connections. However, you may find it desirable or necessary to modify these connections to address a specific application. Operations Sentinel provides a means for you to manually configure many of these properties.

Configuration Files

Operations Sentinel creates a Universal Control Interface (UCI) process for each connection you configure.Each UCI process attempts to read two configuration files that define the behavior of that process.

A sample of this configuration file, named c_ _, that includes the defaults each UCI utilizes is located in installation-folder\misc\amux on the Operations Sentinel server.

Each UCI process tries to read the first configuration file immediately after it begins. The file c_ _ supplies general configuration information that applies to all connections and is located in the data-folder\amux folder on the Operations Sentinel server. By default, this file does not exist. If you need to change the general configuration information, create this file by copying the sample c_ _ file from the installation-folder\misc\amux folder to data-folder\amux. The configuration parameters in this file are a subset of the entire available set. These parameters represent debugging control that you might be asked to modify by Unisys support representative to gather information related to a problem. The values in this file correspond to the defaults for the UCI process. Do not create this file or modify these values unless directed by Unisys.

The second configuration file that a UCI process may read has the same format and structure as the first configuration file c_ _, but is named so the UCI process can identify it as being relevant to its specific connection. The name of this connection-specific configuration file is based on the connection network and service names you configure for the connection using Operations Sentinel Console. If you need this file, you must create it by copying and renaming the sample c_ _ file from the following location: installation-folder\misc\amux on the Operations Sentinel server to data-folder\amux.

For example, if you define a connection to a system that uses the TELNET management capabilities of Operations Sentinel Console with the connection network name systemA (as defined in the file SystemFolder\drivers\etc\hosts, DNS server, or WINS server), and the installed connection service name of spo_telnet, the connection-specific configuration file name is

c_systemA_spo_telnet

For a managed system that is directly connected to the Operations Sentinel server “unknown” is used as the connection network name. For example, a directly connected system with the connection service name rumba (in the file SystemFolder\drivers\etc\services) has the configuration name

C_unknown_rumba

In both cases, the files must reside in the amux subfolder in your Operations Sentinel data folder, data-folder\amux. Any parameters defined in a connection-specific configuration file override parameters that are also defined in the global file c_ _.

The existence of a connection-specific configuration file is optional. If not present, the connection uses the parameter specifications in the global c_ _ file or the defaults, if they are not specified in the c_ _ file, or if this file does not exist.

Update the parameters in these files as described in the following text.

Parameter Syntax

The syntax for the parameter specifications is

parameter-name details        

The following are syntax considerations:

Parameter Groups

You can customize the following groups of parameters:

The descriptions of these parameters are generally grouped according to function. In some cases, the text does not contain detailed descriptions because you should not modify the parameters unless so directed by Unisys support representative. The descriptions contain general information so you are aware of their function and the consequences of modifying their values.

Trace/Logging Parameters

In the global configuration file (installation-folder\misc\amux\c_ _) supplied with Operations Sentinel, you find the specification of several parameters that end with the suffix TRACE.Each controls a debugging parameter in UCI that Unisys support representative uses to resolve problems with Operations Sentinel.

Note: Do not change these values except at the direction of Unisys support representative. Activation or deactivation of a parameter can impact the performance of your system or restrict the ability of Unisys to quickly resolve a problem you may encounter.

By default, the MESSAGETRACE parameter is enabled. All other trace options are disabled. The UCI process of Operations Sentinel logs the information generated by this trace (and others) in the connection-specific folder created by the UCI process handling that connection.

Each UCI process creates a connection-specific subfolder in the common output folder (output/amux), that records information about the connection.The subfolder names take the following form:

U_network-name_service-name

For example, in the cases described earlier for the configuration file, the folders created are U_systemA_spo_telnet and U_unknown_rumba.

Operations Sentinel creates four files in each log folder:

The information logged in these files is available for your examination, but is generally of limited use to you. Unisys support representative uses this information to analyze problems with your system.

Serial Communications Parameters

When connecting to a managed system through a direct serial connection, the communication parameters Operations Sentinel establishes for its serial port to that system must match that of the port on the managed system. Operations Sentinel assumes the following default values for these parameters:

If your settings do not match the default values, either change the parameters for the console on the managed system to match those used by Operations Sentinel, or ensure the Operations Sentinel changes its values for that connection. Operations Sentinel also uses software flow control to stop data flow temporarily while processing the information it has received.

Operations Sentinel uses flow control only when data flow is unusually heavy, not during typical data exchange, and the standard start and stop control characters, Ctrl-q (0x11) and Ctrl-s (0x13), to implement flow control. According to conventional ANSI X3.64 implementations, the terminal handler intercepts these characters on the console of the managed system and recognizes the characters as data flow control if the IXON option is enabled. If you encounter a problem with the flow control algorithm, disable it using the FLOWCONTROL parameter described later.

Serial Communications Parameter—BAUDRATE

To specify a baud rate (bits per second) that is different from the default 9600, specify the following parameter in the configuration file:

BAUDRATE baud-rate

where baud rate is one of the following:

Baud Rate

Description

1200

1200 bits per second line speed

2400

2400 bits per second line speed

4800

4800 bits per second line speed

9600

9600 bits per second line speed (default)

19200

19200 bits per second line speed

38400

38400 bits per second line speed

Example

The following parameter specifies that the connection uses a baud rate of 19,200 bps:

BAUDRATE 19200

Serial Communications Parameter—PARITY

To specify parity handling that is different from the default of no parity, specify the following parameter in the configuration file:

PARITY parity-handling

where parity-handling is one of the following:

Parity

Description

NONE

No parity (default)

EVEN

Even parity

ODD

Odd parity

Example

The following parameter specifies that the connection uses odd parity:

PARITY ODD

Serial Communications Parameter—CHARSIZE

To specify a character size that is different from the default of 8 bits, specify the following parameter in the configuration file:

CHARSIZE character-size

where character-size is either of the following:

Character Size

Description

8BIT

8-bit character size (default)

7BIT

7-bit character size

Example

The following parameter specifies that the connection uses 7-bit characters:

CHARSIZE 7BIT

Serial Communications Parameter—STOPBITS

To specify stop bit handling that is different from the default of 1 stop bit, specify the following parameter in the configuration file:

STOPBITS stop-bits

where stop-bits is either of the following:

Stop Bits

Description

1STOP

Use 1 stop bit per character (default).

2STOP

Use 2 stop bits per character.

Example

The following parameter specifies that the connection uses 2 stop bits per character:

STOPBITS 2STOP

Serial Communications Parameter—FLOWCONTROL

To control the use of flow control by Operations Sentinel for direct serial connections, specify the following parameter in the configuration file.

Do this only if the managed system does not support software flow control or you encounter a problem with flow control.You can recognize this problem if you encounter a hung connection.

FLOWCONTROL state

where state is either of the following:

State

Description

ON

This enables the use of software flow control (default).

OFF

This disables the use of software flow control.

Example

The following parameter specifies that the connection should not use software flow control:

FLOWCONTROL OFF

Serial Communications Parameter—Summary

The following table summarizes the serial communication specifications, identifying the appropriate “sty” parameters to which they correspond. Here bps is bits per second.

Parameter

Configuration File Value

sty Specification

Description

BAUDRATE

1200

2400

4800

9600

19200

38400

1200

2400

4800

9600

19200

38400

1200 bps line speed

2400 bps line speed

4800 bps line speed

9600 bps line speed

19200 bps line speed

38400 bps line speed

PARITY

NONE

EVEN

ODD

parenb

parenb -parodd

parenb parodd

Parity generation/detection is disabled.

Even parity generation/detection enabled.

Odd parity generation/detection enabled.

CHARSIZE

7BIT

8BIT

cs7

cs8

7-bit character size

8-bit character size

STOPBITS

1STOP

2STOP

-cstopb

cstopb

Use 1 stop bit per character

Use 2 stop bits per character

FLOWCONTROL

ON

OFF

ixon start ^q stop ^s

-ixon

Flow control enabled on the managed system using Ctrl-q to start and Ctrl-s to stop.

Flow control disabled on the managed system.

Connection Initialization Parameters

When you connect a managed system to Operations Sentinel, the system perceives Operations Sentinel as a user. Through the capabilities of SP-AMS, Operations Sentinel performs most or all of the tasks the typical administrator needs to accomplish. To initiate this level of control, the data must flow from the managed system to the Operations Sentinel server. Normally, when Operations Sentinel connects to the system console (through a terminal/communications server LAN connection), that system is not aware of this new user, nor does it know that this new user needs a prompt to determine the next course of action. Operations Sentinel must initiate this dialog.

Ideally, this exchange begins without causing any interruption in the activity currently underway on the managed system console. Operations Sentinel must receive information from the system console before management operations can begin. Soon after you establish a connection to the managed system, Operations Sentinel sends an ANSI X3.64 newline character (0x0a) to prompt the system for information. In most cases, this results in a new logon prompt or a redisplay of a shell prompt and has no effect on the state of the managed system.

If this default causes a problem for a managed system, configure Operations Sentinel to take any action you specify. This specification may include taking no action.

Connection Initialization Parameter—INITWITH

To modify the action Operations Sentinel takes when establishing a connection to a managed system, specify the INITWITH parameter in either of the following forms:

INITWITH keyword
INITWITH "string"

where keyword is one of the following:

Keyword

Description

NONE

Disables the initialization function entirely. You must take explicit manual action through a console screen or on the managed system to ensure that data exchange is initiated when Operations Sentinel connects.

DEFAULT

Causes Operations Sentinel to use its defined default, which is the newline character (0x0a) to initiate the data exchange.

NL

Indicates a newline character (0x0a) initiates the data flow.(This is the same as DEFAULT.)

CR

Indicates a carriage return character (0x0d) initiates the data flow.

CRNL

Indicates that a combination of the carriage return and newline characters (0x0d0a) initiates the data flow.

BREAK

Indicates that the data flow is to be initiated when the system sends a break signal on the connection. Use caution with this option. The break is not a character, but a signal that can be made visible to software on the managed system by an interrupt. Typically, you should use the stty brkint command to control this option. Programs can also choose to ignore the break, which behaves like NONE.

If a program is not in control of a console port when the connection with Operations Sentinel occurs, the system treats the break as an indication of a desire to negotiate a new baud rate. This can make the console unusable until the baud rate negotiation cycle returns to the original baud rate. Operations Sentinel does not recognize this negotiation state. You must manually bring the interface back to the configured baud rate. Change the baud rate from the local console of the managed system or through a console screen from the Operations Sentinel server using the Ctrl-T keyin (the way you let Operations Sentinel send a break to a managed system console).

You can eliminate this algorithm by reconfiguring your managed system to continuously try the same baud rate when negotiation is initiated. Refer to the administration information for your managed system. Typically, the file /etc/gettydefs or /etc/ttydefs contains this definition.

If one of the keyword parameters in the table does not satisfy your requirements, use the second form of the INITWITH parameter. string is a string of one or more characters (see the following table) enclosed in quotation marks. The format of this string follows the general convention in which any printable character can be specified, plus the following provisions for nonprintable characters.

Characters

Description

\a

Indicates the BEL character (0x07)

\b

Indicates the BACKSPACE character (0x08)

\f

Indicates the FORM FEED character (0x0c)

\n

Indicates the LINE FEED (or NEWLINE) character (0x0a)

\r

Indicates the CARRIAGE RETURN character (0x0d)

\t

Indicates the TAB character (0x09)

\v

Indicates the VERTICAL TAB character (0x0b)

\0nn

Indicates an octal value (0 = zero) in the 2 digits, nn (n must be within the range 0-7)

\0xnn or \0Xnn

Indicates a hexadecimal value (0 = zero) in the 2 digits, nn (n must be within the set 0-9, a, A, b, B, c, C, d, D, e, E, f, F).x or X is required to indicate the hexadecimal notation.

There is no limit on the length of this string.The string is submitted as a single output operation, with no pauses and no analysis (at the connection level) of the data that may return from the managed system. Therefore, the string should not be too long nor too complex, nor be used to perform actions that are more appropriately handled by the SP-AMS.

Examples

The following example specifies that the connection is to be initialized with a break:

INITWITH	BREAK

The following example specifies that the connection is to be initialized with two newline characters:

INITWITH	"\n\n"

Connection Initialization Parameter—RECOVERWITH

If Operations Sentinel loses a connection to a managed system and attempts to recover that connection, the same problem arises as initially getting data from the managed system. You can configure action similar to the INITWITH parameter using the RECOVERWITH parameter. Normally, the action needed for recovery is the same as that required for initialization; so if you require special action on initialization, specify the same action for recovery.

The formats of this parameter are as follows:

RECOVERWITH 	keyword
RECOVERWITH 	"string"

The parameter options, definitions, and cautions are the same as that specified earlier for the INITWITH parameter.

Your specifications for the TCP/IP connection managing parameters control the recovery action of UCI for LAN-based connections.As a result, special handling defined for the RECOVERWITH parameter may or may not be used.

Examples

The following example specifies that upon recovery, the system initializes the connection with a carriage return followed by a newline:

RECOVERWITH 	CRNL

The following example specifies that the system initializes the connection with two newline characters (specified using both octal notation and hexadecimal notation, respectively):

RECOVERWITH 	"\012\0x0a"

Input Handling Parameters

SP-AMS allows you to automatically send commands or keyins to a managed system for processing. The managed system perceives Operations Sentinel as a user and those commands must appear to the managed system as though they are coming from a user typing on a keyboard.

This has the following implications for the UCI process controlling that connection:

Input Handling Parameter—ENDLINEWITH

By default, the UCI process appends a newline (0x0a) character to every input or command submitted by SP-AMS to the managed system.Many systems recognize this character as the end-of-input character. If this is not so for your application, adjust UCI to use a different character (or not to append anything) using one of the following formats:

ENDLINEWITH 	keyword
ENDLINEWITH 	"string"

where keyword is one of the following:

KeywordDescription
NONEDisables the append function entirely, meaning the UCI process does not append any data to the end of input messages. Specification of this keyword implies that the managed system receives the necessary termination sequence (from SP-AMS) or does not require such a sequence.
DEFAULTCauses UCI to use its defined default, which is the newline character (0x0a) to terminate the input message.
NLIndicates a newline character (0x0a) should be used to terminate the message. (The same as DEFAULT.)
CRIndicates a carriage return character (0x0d) should be used as the termination character.
CRNLIndicates that a combination of the carriage return and newline characters (0x0d0a) should be used to end the message.

If one of these keyword parameters does not satisfy your requirements, use the second form of the ENDLINEWITH parameter. string is a string of one or more characters enclosed in quotation marks. The format of this string follows the general convention where any printable character can be specified, plus the provisions for non-printable characters shown in the table for the INITWITH parameter.

There is no limit on the length of this string. However, when you use this capability, the system appends the specification to the SP-AMS generated input.Therefore, do not make the string too long or too complex and do not use the string to perform actions that are more appropriately handled by SP-AMS.

This parameter does not affect input you submit through a console screen. Your actions define that information. UCI ignores the information.

Examples

The following example specifies that each input from SP-AMS should be terminated by a carriage return:

ENDLINEWITH CR

The following example specifies that each input from SP-AMS should be terminated by a newline followed by a carriage return:

ENDLINEWITH "\n\r"

Input Handling Parameter—ECHOTIMEOUT

To avoid overrunning the TTY console handler of the managed system, UCI submits lengthy inputs to the system one character at a time. The UCI waits as long as one half- second before sending the next character.

If the system sends output before the one half-second has expired, UCI treats the output as an echo of the last character submitted and submits the next character.

If the system does not send output within the one half-second timeout period, then UCI assumes the input character echo is disabled and proceeds with the next character.

If this timeout period is unacceptable, you believe it is causing unnecessary delays, or you observe that input characters are lost, modify the default one half-second to suit your needs using the following parameter specification:

ECHOTIMEOUT wait-period

where wait-period is a decimal value as follows:

Decimal Value

Description

0

A value of zero disables the timeout function. This means that Operations Sentinel sends the input data to the managed system without delay.

1–3000

The timeout period (in milliseconds) to use. By default, the UCI process uses 500 (one-half second). The maximum wait period is 3000 milliseconds (3 seconds).

Use these guidelines for changing the ECHOTIMEOUT parameter value:

Situation

Action

The managed system can handle data at a faster rate

Decrease the ECHOTIMEOUT parameter value

Characters are being lost

Increase the ECHOTIMEOUT parameter value

Example

The following parameter specification directs Operations Sentinel not to wait for an echo from the managed system before sending the next character. The input should be delivered to the managed system as quickly as possible.

ECHOTIMEOUT 0

The following parameter specification directs Operations Sentinel to wait at most 1000 milliseconds (1 second) for an echo from the managed system before sending the next character.

ECHOTIMEOUT 1000

TCP/IP Connection Management Parameters

When managing a system using LAN based services (for example, spo_ats or spo_telnet), Operations Sentinel is not necessarily notified when the other end of the connection fails. As a result, Operations Sentinel uses the expected periodic flow of data from the managed system to ensure the connection is functioning. You can control the expected periodic flow by specifying a timeout period for the connection when you configure your system.

The default period is 150 seconds (2.5 minutes). If Operations Sentinel does not receive data from a connection within that time, the UCI process controlling that connection treats the connection as dead and forces an automatic recovery.

If the 150-second timeout period is unacceptable, change the value using Administration mode of Operations Sentinel Console, which gives you the option of disabling the timeout function entirely by specifying a timeout period of 0.

If the default connection management feature does not meet your needs, you can modify it in a few different ways, including disabling it through a connection configuration file parameter rather than modifying the timeout value.

You can also specify that the connection can be managed by using the TCP/IP KeepAlive protocol or a combination of this and the default data traffic method.

In addition to the capability to control the means by which UCI checks a connection, you can also define the steps to be taken to recover the connection. By default, if a connection has failed, Operations Sentinel automatically recovers it with just a momentary loss of connection noticeable in the connection status displays.

Other alternatives allow you to recover the connection without any status changes or to not recover the connection, leaving that task for the operator.

TCP/IP Connection Management Parameter—TIMEOUTDETECTION

By default, UCI uses the configured timeout period (default 150 seconds) to wait for information from the managed system. If no data is received in that time period, UCI treats the connection as failed and takes recovery action. If this procedure does not suit your needs, modify that algorithm by specifying the following parameter:

TIMEOUTDETECTION keyword

where keyword is one of the following:

Keyword

Description

MESSAGETRAFFIC

Indicates that the receipt of data from the managed system should be used to ensure that the connection is up. You specify the timeout period when you define the system using the Administration mode of Operations Sentinel Console. This is the default.

KEEPALIVE

Specifies that the UCI process should use the KeepAlive option of TCP/IP to ensure the connection is up. KeepAlive is a TCP/IP control sequence that must be answered by the recipient (meaning the LAN connection management software) to determine if it is operational.

Because the KeepAlive protocol is a control sequence, no visible data is exchanged, nor does it impact the normal data exchange between Operations Sentinel and the managed system. The timeout interval for KeepAlive is typically two hours and applies to your entire Operations Sentinel server. You need to rebuild the UNIX or Linux operating system in order to modify that value. See the TCP/IP administration materials for your Operations Sentinel server.

MSGORKEEPALIVE

Helps determine when a connection has failed.(This is a combination of the two previous keyword functions.)

NONE

Specifies that you do not want any management of the connection at the UCI level.In this case, the operator must visually monitor the connection in the Operations Sentinel Console display to determine if the connection is up and to initiate the action necessary to recover the connection, if it fails.

Example

The following example specifies that the UCI process for this connection should not manage the status of the connection:

TIMEOUTDETECTION NONE

TCP/IP Connection Management Parameter—TIMEOUTRECOVERY

When timeout detection is enabled, UCI automatically recovers the connection.You may see a quick change of the connection status in the various status displays. If you are not interested in seeing this momentary status change or notifying SP-AMS that the connection has failed, set UCI to recover the connection without changing the displays.You can configure these actions by specifying the following parameter:

TIMEOUTRECOVERY keyword

Where Keyword is one of the following:

Keyword

Description

AUTORECOVERY

Indicates that if a connection failure occurs, UCI automatically recovers the connection and notifies the display services to indicate momentary changes in the connection status. This is the default.

SILENTRECOVERY

Indicates that when a connection failure condition occurs, UCI recovers the connection without notifying the display services that the connection was lost. If the connection is recovered silently, you may see that the connection was restarted. You always see that the connection was restarted for a spo_telnet connection, which results in a new logon prompt.

Example

The following example specifies that if the connection times out, UCI recovers the connection silently without notifying the display services:

TIMEOUTRECOVERY SILENTRECOVERY

Display Type—SCREENMODE

By default, for the most accurate management and automation, the UCI service prefers line-at-a-time display sessions.Line-at-a-time means that the display is a simple scrolling session where new information is displayed at the bottom of the screen and old information is scrolled up to eventually roll off the screen at the top. Each new line as it is delivered to the display device, (in the case of Operations Sentinel, UCI) captured, packaged, and sent to all interested Operations Sentinel components for analysis and recording.

Some management interfaces, however, use a full-screen type of display mode. In full-screen display mode, updates are made to the displayed screen not necessarily at the bottom, but anywhere on the screen, with or without an associated scrolling action. To accommodate this type of display, Operations Sentinel provides the configuration parameter SCREENMODE.

When SCREENMODE is set to FULL, the corresponding instance of UCI utilizes a special screen scraping algorithm to capture lines of data from the screen image. The captured lines are only those lines that have been updated. Regardless of the number of characters updated, the entire line is captured and passed to various Operations Sentinel components for analysis or recording.

Because of the additional processing involved in screen analysis for full-screen mode, performance is affected slightly; avoid using this mode unless it is required.

The format of this specification is as follows:

SCREENMODE keyword

where keyword is one of the following:

Keyword

Description

LINE

Indicates that the display on this connection uses a typical line-at-a-time protocol, where new information is displayed at the bottom of the screen, and old information is scrolled up and eventually off the screen. (LINE is the default.)

FULL

Indicates that the display on this connection uses a full-screen display protocol, where new information can be displayed at any position on the screen, and the screen does not necessarily scroll when updates are applied. In this mode, new information is captured relative to the entire line on which it is displayed. Even if only one character is updated, the entire line around the character is captured for delivery to other Operations Sentinel components.

Configuration Parameter Summary

The following table contains a summary of the configuration parameters.

Parameter

Description

Trace/logging

Use only when directed by Unisys support representative.

  FUNCTRACE

 

  MESSAGETRACE

 

  SCREENTRACE

 

  PARSETRACE

 

  TOSPOTRACE

 

  TRACELOGSIZE

 

  ERRORLOGSIZE

 

Serial communications

 

BAUDRATE

Use to indicate the baud rate (bits per second).

PARITY

Use to indicate the parity handling (none, even, odd).

CHARSIZE

Use to indicate the character size (7 or 8 bits).

STOPBITS

Use to indicate the number of stop bits (1 or 2).

FLOWCONTROL

Use to enable or disable flow control.

Connection initialization

 

  INITWITH

Use to initially start data flow.

  RECOVERWITH

Use to start data flow after recovery.

Input handling

 

  ENDLINEWITH

Use to terminate an input line.

  ECHOTIMEOUT

Use to control the speed at which input is sent to system.

TCP/IP connection management

 

  TIMEOUTDETECTION

Use to indicate the means to detect failed LAN connection.

  TIMEOUTRECOVERY

Use to recover a failed LAN connection.

  SCREENMODE

Use to indicate the type of screen display.

  

UCI Ping

 

  PINGINTERVAL

The time in seconds between successful pings. Default: 15 seconds

  PINGFAILRETRIES

The number of consecutive times a PING must fail before UCI generates its failed connection message. Default: 3 retries

  PINGFAILRETRYINSEC

When a ping attempt fails, this defines the number of seconds to wait before trying another ping. Similar to the “PINGINTERVAL” but times the interval between FAIL attempts. Default: 1 second

  PINGMAXHOPCOUNT

This defines the limit of “hops” that a ping attempt is to endure. This prevents a ping attempt in a complex network from trying to resolve the ping forever. Default: 50 hops