Chapter 2. IRIS SNA SERVER Menus and Operation

This chapter first describes the menu options of the IRIS SNA SERVER. It is intended more as a reference guide than a tutorial. Four menus are presented in this chapter:

Each menu is shown as it appears, and its options and specific parameters are described in detail. When a selected option regards a node operator or configuration verb, the name of that verb is provided (for more information on each verb, refer to the IRIS SNA SERVER Programming Guide, Chapter 2, “Programming with the SNA SERVER Verbs”). The first part of the chapter concludes with a description of the core programs, which contain information for creating your own control scripts

The last part of the chapter provides instructions for running the network configuration program and for running the network operations program for both SDLC and token ring connections.

IRIS SNA SERVER Menus

To access to the IRIS SNA SERVER menus from a VT100 terminal with the IRIS SNA SERVER software product installed, enter the following command line at the IRIX™ prompt:

/usr/sna/etc/menu-name 

where menu-name is:

  • netOper for the Network Operations Menu

  • netConfig for the Network Configuration Menu

  • lu62Oper for the LU 6.2 Operations Menu


Note: You must load the SDLC code every time the IRIX system is rebooted. To load SDLC, enter at the IRIX prompt:


/usr/sna/etc/ldSDLCn 

where n is either 0 or 1, depending on whether you are using Controller 0 or 1.

Network Operations Menu Options

The Network Operations Menu is accessed by entering at the shell prompt:

/usr/sna/etc/netOper 

which displays the menu shown in Figure 2-1.

Figure 2-1. Network Operations Menu


The Network Operations Menu options activate the node processes, start and stop links, and call the Logging and Trace Menu. This menu functions on the default configuration specified in option [d] Set Current Configuration of the Configuration Menu. (When controlling a number of configurations, use option [f] of the Network Operations Menu to change the default.)

A “message(s) waiting” comment displayed in the middle of the screen indicates that a node operator message was generated. To see it, select option [h] Display Messages.


Note: Many of the line activation/deactivation events are asynchronous. It is critical, therefore, that you display all messages to find out the true outcome of your request.


Option [a]: Activate SNA Server

This option activates the default configuration, initializes the environment, and starts the SNA background processes (s2_schd). Whenever this option is selected, a confirmation is requested. The response message either indicates that the node processes are already active, or confirms that the command to activate the server was accepted.

Option [b]: Activate Physical Unit

This option activates the physical unit (PU), which logically opens SNA for operations. Be sure the IRIS SNA SERVER is active, however, before starting the PU. Other requests issued prior to activating the PU are queued until the PU is activated.

A message confirms that the command was accepted. If it was not accepted, major and minor return codes are displayed (specific return code information is contained in Appendix B, “Major and Minor Return Codes,” of the IRIS SNA SERVER Administration Guide). Use option [h] Display Messages, to see the results of this command.

This option issues the actpu node operator verb.

Option [c]: Activate Logical Unit

This option activates a specific logical unit (LU) and makes it available to LU 6.2 application programs. Programs cannot attach to the local LU until it is activated. If the PU is not active, the LU activation is queued. On host connection, LU activation is performed by the hosts; thus, this type of local LU cannot be activated locally.

Enter the name of a local LU defined in the current configuration. A message confirms that the command was accepted. If it was not accepted, major and minor return codes are displayed (specific return code information is contained in Appendix B, “Major and Minor Return Codes,” of the IRIS SNA SERVER Administration Guide). Use option [h] Display Messages, to see the results of this command.

This option issues the actlu node operator verb.

Option [d]: Activate Line

This option prepares the physical device specified in the line definition for communications. The PU and LU that use this line must already be active. For a line configured as a leased connection, this option establishes the communications link. If the line is configured as multipoint (switched), this option prepares the device, but does not establish the connection. To make the connection, activate the adjacent link station (see option [e]), since a number of remote stations can be defined for the same switched or multipoint line.

Enter the line name that corresponds to the one defined in the current configuration. An accepted command is confirmed by a message. If the command is unacceptable, major and minor return codes are displayed (specific return code information is contained in Appendix B, “Major and Minor Return Codes,” of the IRIS SNA SERVER Administration Guide). Use option [h] Display Messages, to see the message.

This option issues the actline node operator verb.

Option [e]: Activate Adjacent Link Station

This option activates a specific adjacent link station of a multipoint or switched line (leased lines do not use this option). Specify whether the station is to be connected (so you can dial out to the station) or enabled (so the station can dial in to you). A station enabled for dial-in can also be connected for dial-out by reselecting this option; if the call is disconnected, the station remains enabled so that the remote station can call in.

Enter the station name that corresponds to the one defined for a partner in the current configuration. After specifying whether the station is to be connected or enabled, a message confirms that the command was accepted. If it was not, major and minor return codes are displayed (specific return code information is contained in Appendix B, “Major and Minor Return Codes,” of the IRIS SNA SERVER Administration Guide). Use option [h] Display Messages, to see the results of this command.

A successful connection causes the message station [name] successfully contacted to appear. No message means the connection has not been made. This option issues the actsta node operator verb.

Option [f]: Set Current Configuration

This option selects the configuration controlled by subsequent menus and menu commands.

Option [g]: Run Control Script

This option runs a control script, a file that contains activation or deactivation commands issued on a routine basis. With a control script, you run a single file rather than separate commands. (For more information on creating control scripts, see , “Core Programs,” on core programs s2_mscp or s2_lgcp.)

Option [h]: Display Messages

This option displays node operator messages. After a message is displayed, it is removed from the operator-message queue. Copies of messages are placed in the system log (if it is active) for reference. Occasionally, when the operator's queue is full, messages are discarded on a first-in/first-out basis, and a message-queue-overflow comment is placed in the queue and in the system log. Operator messages are also placed in the system log. If the log was running at the time of the overflow, the overflow message is still visible; otherwise, it is lost.

Use this option whenever you receive an indication that messages are waiting. Many of the line activation/deactivation events are asynchronous, so it is important to display messages to find out the true outcome of your request.

Option [i]: Logging and Trace Menu

This option presents the Logging and Trace Menu. It controls and displays the output of the logging or link trace features of the SNA network. Both features are useful in problem isolation and problem solving.

Option [j]: Display Station Status

This option presents a Display Station Status screen that shows the status of the lines, partners, and sessions for the current configuration.

Option [k]: Display Host Status

This option displays a Display Host Status screen that shows the status of LUs attached to the host control point. It also shows session IDs and the IDs of the programs allocating the LU.

Option [l]: Deactivate Adjacent Link Station

This option deactivates a particular adjacent link station of a multipoint or switched line (if the line is leased, ignore this option).

Enter the station name that corresponds to the one defined for a partner in the current configuration. Use option [h] Display Messages, to see the results of this command.

When the connection is established, the message station [name] successfully disconnected shows. If this message does not appear, the disconnection has not been made. This option issues the dctsta node operator verb.

Option [m]: Deactivate Line

This option deactivates a specific line and causes an orderly take-down of the connection.


Note: In a host-mediated switched connection, deactivate the adjacent link station first.

This option also clears any pending activation request; for example, one that may have remained to a non-enabled partner. Any session using a deactivated line is terminated.

Enter the line name of an active line. If the name is accepted, a confirmation message appears. If not accepted, a major and minor return code is displayed (see Appendix B, “Major and Minor Return Codes,” in the IRIS SNA SERVER Administration Guide). Use option [h] Display Messages to see the results of this command. This option issues the dctline node operator verb.

Option [n]: Deactivate Logical Unit

This option deactivates a specific LU and abnormally terminates all sessions with that LU. Programs that were using the sessions will receive errors on subsequent conversation verb calls that indicate session failure.

The LU name entered must be that of an active local LU. A message confirms that the command was accepted. If the command was not accepted, major and minor return codes are displayed (specific return code information is contained in Appendix B, “Major and Minor Return Codes,” in the IRIS SNA SERVER Administration Guide). Use option [h] Display Messages to see the results of this command. This option issues the dctlu node operator verb.

Option [o]: Deactivate Physical Unit

This option deactivates the PU, which shuts down the operations of the SNA configuration without actually terminating the background process. All open communications devices are closed (causing abnormal line terminations) and all local LUs are deactivated. Display messages and logging remain active, but you cannot display station status. A confirmation message indicates that the command was accepted. Use option [h] Display Messages to see the results of this command.

This option issues the dctpu node operator verb.

Option [p]: Deactivate SNA Server

This option terminates the IRIS SNA SERVER processes, closes any open communications devices, and deactivates the default configuration. You are asked to confirm that this is what you really want to do.

If the IRIS SNA SERVER was active when you issued the deactivation request, a message confirms that the command was accepted. At this point, you can no longer access messages or use the status displays.


Note: Option [p] is not the preferred way to terminate communications sessions. It abnormally closes the communications lines at the remote site, which sometimes requires manual intervention to reset modems or lines.


Network Configuration Menu

The Network Configuration Menu shown in Figure 2-2 is accessed by entering /usr/sna/etc/netOper at the IRIX prompt.

Figure 2-2. Configuration Menu


This menu defines, displays, and generates SNA configurations. You can have many different configurations, each defining a particular remote system, or you can have one large configuration that defines all of the remote systems in your network. In either case, the configuration is managed through the options of the Configuration Menu.

All configuration elements available are in the resources directory named in the variable STRSC in the /usr/sna/etc/SNAENV file. The IRIS SNA SERVER is initially installed with sample configurations in the directory /usr/sna/rsrc. Use this directory as your resource directory or use a private set of resources.

This section presents the options of the Configuration Menu.

Before creating a configuration, gather all necessary input information as described in , “Collecting Configuration Data.”

Option [a]: Define Resource Menu

This option displays the Define Resource Menu which defines the discrete network elements or resources and organizes them into configurations.


Note: Because of the menu's size and importance, the options of the Define Resource Menu are described separately in , “The Define Resource Menu.”


Option [b]: Display Configuration

This option provides information on the components of a specific configuration. When selected, it presents a list of existing configurations. Select a configuration and a screen appears with the information shown in Table 2-1. The LU Name, NetName, Wait, Partner, Rmt LU, Mode, Program, and Network Name fields are applicable only to LU6.2 configurations. The LU and DAF fields are applicable only to LU0-3, which is included as part of the IRIS SNA SERVER.

Table 2-1. Display Configuration Field Information

Field

Description

Local Node

The name of the local node for this configuration.

Exchid

The ID of the local node used in XID exchange at link establishment.

Autostart

An option that indicates whether the node process begins when node initialization is complete.

LU Name

The name of a local LU configured in the selected node configuration.

NetName

The network name of the LU. If entered, this name must match the remote site's name for the LU.

Wait

The time-out value for programs attached to this LU.

Partner

The name of the partner.

Rmt Node

The name of the remote node for this partner.

Rmt LU

A remote LU name at the previously specified remote node.

Mode

The name of the mode under which a session with the preceding partner would run.

Station

The name of the station used for the session. This name was entered as part of the partner definition.

Line

The name of the line component used for a session with the preceding partner.

Type

The connection type of a session between the preceding local LU and partner. The options are preceding local LU and partner. The options are MULTI, LEASED, or SWITCHED.

Program

The local name for the transaction program.

Network Name

The network name for the preceding transaction program.

SLU

The name of the secondary LU of LU type 0-3.

DAF

The LU destination address of the named secondary LU of LU type 0-3.


Option [c]: Generate Configuration

Select this option after creating or modifying a configuration with the Define Resource Menu to make the new configuration executable.


Note: Changes to a configuration do not take effect until the configuration is regenerated and the IRIS SNA SERVER is activated or, if it was active at the time of the change, deactivated, then reactivated.

Within the resource directory, executable configurations are those files with a .Z suffix. They are generated from the configuration-definition directories, which have an .X suffix.

Choose a configuration from the screen displays list of existing configurations. A Generation Successful message indicates the entry of a valid configuration. The generation takes approximately two minutes.

Option [d]: Set Current Configuration

This option selects the configuration that is controlled by commands issued from this or subsequent menus.


Note: When this option is executed, the absolute pathname of the selected configuration is written to the file indicated in the STCFG variable in the /usr/sna/etc/SNAENV file. If the STCFG variable is not set, the absolute pathname of the selected configuration is written to the s2node file in the current login directory.


The Define Resource Menu

The Define Resource Menu, shown in Figure 2-3, is accessed from the Configuration Menu (option [a]).

The options of the Define Resource Menu add, change, or delete the definition of a particular component within a given configuration. To make these modifications effective, return to the Configuration Menu and select option [c] to generate a configuration and option [d] to establish it as the current working configuration.

More information about this menu see, “Defining Resources.”

Figure 2-3. Define Resource Menu


Select option [a] through [j] to view the Define Resource Block screen (Figure 2-4). The screen prompts for an action to perform on the resource selected. If you select [a] for Add or [b] for Change, enter the file name of a resource to see a screen of values for that particular resource. Select a field value to alter by entering the letter of the field. This places the cursor on the field line. To delete the field, select [c]. Respond to the prompts for the resource file name and confirmation. All resource definition options work in this way.


Note: Characters entered are automatically converted to uppercase, the default for all name fields on the configuration screens.

Figure 2-4. Define Resources Block Screen


The following information describes the values for each resource being defined. A detailed explanation of configuration procedures also appears in, “Running the Network Configuration Program.”

Option [a]: Define Local Node

This option adds, changes, or deletes a local node definition. It also stores the parameters for the dfnnode verb. Table 2-2 describes these values.


Note: Configuration parameters that indicate support or non-support of a function accept 1, y, Y, S, or s for SUPPORT and 0, n or N for NON-SUPPORT to accommodate multiple-language environments.


Table 2-2. Values for the Local Node Option

Value

Description

Autostart Option

Autostart automatically begins the node process when node initialization is complete. Options are YES (enter1) or NO (enter 0). The default is YES.

Memory Size

The size in kilobytes of the memory segment. Values range from 50 to 1000K. Memory segment size has an effect on the possible number of sessions supported.

Exchange ID

The exchange ID, sent from this node to the partner, identifies the local node to the partner in XID exchange at link establishment. It must be eight hex characters (0-9 and A-F), and embedded blanks are not allowed. Your site and remote sites must agree on this number. A peer partner uses this number when defining its remote node. An XID value supplied in the station definition supersedes this one.

Master Device Name

The name of the master device created by the install procedure. Unless specifically changed, this value is dev/simaster. Enter the full pathname of the master device, up to 20 characters.

Monitor Timer

The monitor timer is the wake-up interval for the program monitor given in seconds. Values range from 1 to 60 seconds with a default of 10.

Node Operator Messages

This value determines whether node operator messages are generated. These messages can be viewed using the Display Messages option of the Network Operations Menu. Options are YES (enter 1 or NO (enter 0). (YES, the default, means that messages are generated).

Logging Messages

This value determines whether messages are written to the log. NO means logging messages are not generated even if the log is turned on with the Start Logging option of the Logging and Trace Menu. Options are YES (enter 1) or NO (enter 0). The default is YES.

Control Point Name

The name of the remote node is optional. Values entered cannot exceed eight Type A characters. Enter ? for a list of available control points.

Verb Message Buffer Size

This value specifies the amount of data sent (VSIZE) in messages between the application and the IRIS SNA SERVER. Do not set VSIZE lower than LSIZE. Values are DEF, 256 (the default), 512, 1024, 2048, 3840, and 4096.

Link Message Buffer Size

This value specifies the upperbound buffer (LSIZE) space reserved for traffic on all links and is equal to the amount of data on a segment; the amount reserved for SNA headers is automatically added to this number. The maximum BTU parameter on the dfnline and dfnsta verbs defines the maximum BTU size the space reserved for traffic on all links and is equal to the partner node can receive. The LSIZE parameter defines the maximum BTU size this node can receive. The partner maximum BTU size value cannot exceed the LSIZE value. Values are DEF, 256, 512, 1024, 2048, 3840, and 4096. The default value is 256.



Note: Specifying NO for “Node Operator Messages” greatly reduces your visibility of the working of the IRIS SNA SERVER because it eliminates feedback on activation or deactivation requests issued from the Network Operations Menu.


Option [b]: Define Remote Node

This option adds, changes, or deletes a remote node definition. It also stores the parameters for the dfncp verb. Table 2-3 describes the values.

Table 2-3. Values for the Define Remote Node Option

Value

Description

Accept Maint.

This value indicates whether Maintenance Service RUs are Service RUs accepted from the host and is relevant only if the control point type is HOST. Options are YES (enter 1) or NO (enter 0). The default is NO.

Exchange ID

This value identifies the partner to the local node if the partner is a peer. This number is received by the local node from the partner during link establishment and is available from the system administrator at the remote site. When communicating with another LU 6.2 node, this number must correspond to the one entered by the partner in the Exchange ID field of option [a] Define Local Node. The value must be either eight hex (0-F) characters without embedded blanks or NONE if the remote CPU ID (see below) is specified. This field is optional. If neither the Exchange ID nor the CPU ID field is entered, the type field must be entered.

CPU ID

This is a null-terminated string of twelve hex [0-F] characters. The first two characters (representing the first byte of the CPU ID) are the PU type (usually 05 for PU type 5). The remaining ten characters (representing the final five bytes) are an implementation-dependent binary identifier. On a characters. The first two characters (representing the VTAM host, the five bytes are set to the subarea identifier of the host, specified by the SSCPID keyword in the VTAM ATCSTR definition. This value must match the value sent by the SSCP in bytes three through eight of the actpu request. This field is optional. If neither the Exchange ID nor the CPU ID field are entered, the type field must be entered.

Control Point Type

This value indicates the type of control point. Values are HOST or PEER.

Controller Type

This parameter describes the type of IBM controlleremulated, and is relevant only if the control point type is HOST. Options are 3274, 3276, 4700, OTHR. The is HOST. Options are 3274, 3276, 4700, OTHR. The default is 3274.

Load Module Name

Name of the load module returned on the ACTPU. This parameter is relevant only if the control point type is HOST.


Option [c]: Define Line

This option adds, changes, or deletes a line definition. It also stores the parameters for the dfnline verb. Table 2-4 describes the values for option [c] Define Line.

Table 2-4. Values for the Define Line Option

Value

Description

Device File

This value gives the pathname of the device file created by the installation procedure. The file must already exist and the entry cannot exceed 20 characters. The default is /dev/si1.

SDLC Role

This is the Synchronous Data Link Control role. The options are PRIMARY, SECONDARY, and NEGOTIABLE. The default is NEGOTIABLE.

Connection Type

This value describes the type of physical equipment used on the line. Possible values are LEASED (for point-to-point), MULTI (for multipoint), and SWITCHED (for lines using dial-up modems). The default is LEASED.

Maximum BTU Length

This sets the maximum Basic Transmission Unit (BTU) length that can be sent and received on this line. Values are 265 (the default), 521, 1033, 2057, 3849, and 4105. Any BTU value supplied in the station definition supersedes this one.

Line Speed

This value sets the speed of transmission as a baud rate. Values are 300, 1200, 2400, 4800, 9600, 19200, and 56000. The default is 9600.

Maximum Retransmissions

This value states the maximum number of retries possible in case of error. Values range from 0 to 30. The default is 3.

Idle Time in milliseconds

This value is the maximum time allowed frresponse. Values range from 100 to 10000. The default om poll to response. Values range from 100 to 10000. The default is 800.

Max. Non-productive

This value is the maximum time allowed for Receive non-productive receive or transmit. Values range from 1000 to 30000, with a default of 10000.

Maximum I-Frames

This sets the maximum number of frames sent and received before an acknowledgment is required. Values range from 1 to 7. The default is 7. A Maximum I-frame value supplied in the station definition supersedes this value.

Transmission Coding

This value determines the transmission-encoding method. A setting of NRZ indicates Non-Return on Zero. A setting of NRZI indicates Non-Return on Zero Inverted. (This value must match the value at the other end of the line; otherwise, communication is impossible.) The default is NRZ.

Half Duplex/Full Duplex

In half-duplex mode, send and receive requests cannot be made simultaneously. In full-duplex mode, send and receive requests can be transmitted simultaneously. Two values are possible: HDX if the modem is set to half-duplex operations; or FDX if the modem is set to full-duplex operations. HDX must

be specified for switched connections. The default is FDX.

Transmit Clocking

This value specifies external or internal transmit clocking. Internal transmit clocking is generated internally by an on-board baud-rate generator and is provided as output on pin 24 of the RS-232 interface. External transmit clocking is expected as input on pin 15 of the RS-232 interface. Values are EXTERNAL,INTERNAL, and NONE. The default is EXTERNAL.

Autodial Support

This value specifies the modem dialer control protocol. Values are MANUAL, SADL, V25BIS, and NONE. The default is MANUAL.


Option [d]: Define Station

This option adds, changes, or deletes a station definition. It also stores the parameters for the dfnsta verb. Table 2-5 lists descriptions of the values for the Define Station option.

Table 2-5. Values for the Define Station Option

Value

Description

Line Name

This is the name of a previously defined line used to reach the station. Enter ? to list the available lines.

SDLC Address

This value, the Synchronous Data Link Control address, must match the partner's SDLC address. Enter any two hex (0-F) characters, except 00 or FF.

Remote Node Name

The remote node name is the name for the remote node at the other end of the line. The node must have already been defined. Enter ? for a list of available remote nodes.

Phone Number

This is the phone number to the remote PU. It is returned in a node operator message to indicate which phone number to use for a manual switched (dial-up) connection. The field value is either a phone number or NONE. Special characters and letters are accepted to support autodial modems. Autodial automatically dials this number for you. For more specific autodial requirements, see dfnline in the man pages.

Polling Interval in seconds

The interval between polls to this station is a value not implemented by the Silicon Graphics SDLC in release 1.0.

Exchange ID

The exchange ID identifies the local node to the partners in XID exchange at link establishment. It must be eight hex characters (0-9 and A-F) and embedded blanks are not allowed. This exchange ID overrides the exchange ID declared in the local node definition for this station only. This parameter is relevant only if the control point type is HOST.

Maximum BTU Length

This is the maximum BTU length that can be sent and received on this line. Values are 265 (the default), 521,1033, 2057, 3849, and 4105. If a value is not specified, the BTU value given in the line definition is the default. If both values are given, this value supersedes the BTU value in the line definition.

Maximum I-Frames

The maximum number of frames sent or received before acknowledgment is required. Values range from 1 to 7. If a value is not specified, the I-Frame value given in the line definition is the default. If both values are given, this value supersedes the I-Frame value in the line definition.



Note: Local node, remote node, and line resources are independent source characteristics and can be combined to generate a number of configurations. A station resource, however, is dependant on a specific Line resource and Remote Node resource.


Option [e]: Define Secondary LU

This option adds, changes, or deletes a secondary LU definition. It also stores the parameters for the dfnslu verb. Table 2-6 describes the values of the Define Secondary LU option.

Table 2-6. Value Descriptions for the Define Secondary LU

Value

Description

Control Point Name

An existing control point name must be used for the secondary LU control point name.

Pool Name (Optional)

The name of the secondary LU's LU pool. Use the pool name instead of a secondary LU name on an ALLOCATE request so the user can select from a group of LUs.

LU Destination Address

The value of the DAF on the actlu. Its range is 1 to 254.

Correlation Wrap Count

This value limits the number of correlation table entries used by LU exception response chains. Definite response chains are not affected by this value. Values range from 0 to 10. The default value is 10.

Bulk Rate

This parameter, if set, gives a lower priority to traffic on this LU. Set it for such bulk data transfer LUs as printers.

Terminate Session

This value specifies whether an active session with this secondary LU is deactivated when the communication line goes down. If SUPPORT is specified, the session is terminated with an UNBIND of type 0x0F. It is not intended to replace an orderly shutdown, which is still the responsibility of the transaction program. Values are NOT_SUP (the default) and SUPPORT.



Note: Local node, remote node, and line are source characteristics that can be combined to generate a number of configurations. A secondary LU, however, is dependent on a specific remote node resource.


Option [f]: Define Local LU

This option adds, changes, or deletes a local LU definition and stores the parameters for the dfnllu verb. Table 2-7 describes the values.

Table 2-7. Values for the Define Local LU Option

Value

Description

Logical Unit ID

In a host-mediated connection, this ID matches the destination address received on the Activate LU command from a host. (See the host administrator for the number to use.) This number must be unique within a configuration. Possible values range from 1 to 254.

Network Qualifier

This is an extension of the network name used in cross-network communications to ensure the uniqueness of the network name. Enter up to eight Type A characters with no embedded blanks. The default is NONE.

Network Name

This is the network name of the LU. If it is entered, it is the name actually sent to the partner. This field enables you to match your partner's configuration without having to change the local name for the resource. The name, however, must be unique with no embedded blanks. The special value * (asterisk) specifies a null name (i.e., no name is sent to the partner). Any name sent from the partner is accepted. Specify only one LU per configuration as a null-named LU.

Default Timeout

The default time-out is the wait time for verb completion given in seconds. Values range from -1 (indicating no time-out) to 3600. The default is 60.

Maximum Transaction

This value gives the maximum number of transaction Programs programs (remote or local) that can be attached at one time. The maximum number of simultaneous active conversations using this LU is twice this number. Values range from 1 to 255. The default is 5.


Option [g]: Define Remote LU

This option adds, changes, or deletes a remote LU definition. It also stores the parameters for the dfnrlu verb. Table 2-8 describes option [g]values.

Table 2-8. Values for Define Remote LU Option

Value

Description

Network Qualifier

The network qualifier is an extension of the network name used in cross-network communications to ensure the uniqueness of the network name. Enter up o eight Type A characters with no embedded blanks.

Network Name

This is the network name of the remote LU. If entered, it is the name actually sent to the partner. This field enables you to match your partner's configuration without having to change the local name for the resource. The name, however, must be unique. Embedded blanks are not allowed. The special value `3-;' specifies a null name (i.e., no name is sent to the partner). Any name sent from the partner is accepted. Specify only one LU per configuration as a null-name LU.

Control Point Name

This is the name of the remote host that controls this partner. Supply either NONE, if parallel sessions are upported, or the name of a previously defined remote node. This value is supplied only for host-controlled environments. Enter ? to list existing remote nodes.

Initiate Type

This value specifies whether the host can queue an initiation request if the intended partner is unable to start a session. Options are YES (1) or NO (0). The default is YES. This value is only supplied for host-controlled environments.

Parallel Sessions

This value specifies whether the partner supports parallel sessions. Options are YES (1) or NO (0). The default is YES.

CNOS Station

This is the station used by the reserve mode SNASVCMG in CNOS negotiations when parallel sessions are supported. Before starting sessions on the configured modes, both LUs must agree on session limits. This value specifies which station carries the negotiations. The options are: NONE, if paralle sessions are not supported; a previously defined tation; and the reserved station LOCAL, used when internal loopback provides the connection between the two LUs. (If this name differs from the station name in the partner block, both lines must be active before sessions on configured modes can be activated.) Enter ? for a list of available station choices.

LU-LU Password

This is the LU-LU password entered in hex characters (0-F), even if it is a printable string. This password can be up to 16 hex characters (or eight bytes)

long.

Security Acceptance

This value specifies the level of security accepted by the remote LU. Three options are available: NONE, USERID, and VERIFIED. The default is NONE.

Logical Unit ID

This value is not required for peer connections, but must be specified as a unique number for all remote LUs and secondary LUs defined for a given control point. Any value entered overrides the value specified in the lu_id parameter of the dfnllu verb that created the control block for the LU represented by lnan. The range is 1 to 254.


Option [h]: Define Mode

This option adds, changes, or deletes a mode definition. It also stores the parameters for the dfnmode verb. Table 2-9 describes the option's values.

Table 2-9. Values for the Define Mode Option

Value

Description

Send Pacing Count

This value regulates the message unit transmission rate of the component. Values range from 0 to 21; the default is 7.

Receive Pacing Count

This value regulates the message unit transmission rate of the receiving component. Values range from 0 to 21. The default is 7.

Minimum RU Length

This value is the lower bound on the maximum Request Unit (RU) length that is agreed upon with the partner. Values are 8 to 256. The default is 256.

Maximum RU Length

This value is the highest limit that an RU can have before it segments. The limit is agreed upon with the partner. Values range from 256 to 4096. The default is 1024.

Session Reinitialization

This value states who is responsible for reinitialization after an abnormal session termination. The options are:

OPER

PRILU

SECLU

EITHER (Default)

This parameter applies only to nonparallel sessions.

Maximum Sessions

This value indicates the maximum possible number of simultaneous active sessions. Values range from 1 to 254, although the actual number is constrained by machine size; for example, if memory in the local node component is 50K, a maximum of eight sessions can be active at one time. The value must be 1 if parallel sessions are not supported. The default is 6.

Minimum First Speaker

This value is the minimum number of sessions in which the local LU is the contention winner. Values are from 0 to 254, but cannot be greater than the value for maximum sessions. The default is 3.

Auto-initiated Sessions

This value states the minimum number of sessions automatically started when session limits are initialized. Values range from 0 to 254, but cannot exceed the number of first-speaker sessions. The default is 3.

Allow Queued Binds

This value determines whether conversation-allocated requests are queued. Session activation requests are queued at the remote site. Options are YES (1) or NO (0). The default is YES.

Blank Mode Name

This value indicates a blank mode name. If it is, no name is sent to the partner. Any name received is accepted. Only one blank mode can be specified for a remote LU. Options are YES (enter 1) or NO (enter 0). The default is NO.

Bulk Rate

This parameter, if set, gives a lower priority to traffic on this LU. It is usually set for LUs engaged in bulk data transfers, such as printers.


Option [i]: Define Partner

This option adds, changes, or deletes a partner definition. Table 2-10 lists and describes the values for this option.

Table 2-10. Values for the Define Partner Option

Value

Description

Remote LU Name

This, the local name for the remote LU, is chosen from previously defined remote LUs. Enter ? for a list of available remote LUs.

Mode Name

The mode defines the service options used for the sessions with the remote LU. Choose from previously defined modes. Enter ? for a list of the available modes.

Station Name

The station communicates with the partner. Choose a name from previously defined stations. The special value LOCAL indicates you are to use the internal loopback station. Data traffic is routed back at path control, rather than sent out to the data link layer. Enter ? for a list of the available stations. If parallel sessions are used, match the station specified here to the CNOS adjacent link station specified in the remote-LU definition.


Option [j]: Define Transaction Program

This option adds, changes, or deletes a transaction program definition. Table 1-10 lists the values for option [j] Define Transaction Program.

Table 2-11. Values for the Define Transaction Program Option

Value

Description

Program Name

This value gives the local name for the transaction program. Enter the full pathname of the program or '3-;' to use the default entry. The default entry allows any local program to attach to the IRIS SNA SERVER without having to change the configuration each time other applications are added. The Transaction Program Block for CNOS must be defined. The local name for the CNOS program is /usr/sna/bin/s2_cnos.

Network Name

This is the network name for the program. It matches a request from your partner to initiate a network program with the local executable file, which is the local implementation of that network program. The name is required only for network service programs, such as CNOS. Enter the architected Transaction Program Number (TPN). CNOS is 06F1 and DIA is 20F0F0F0. The default is NONE.

Status

This value provides a status report when the transaction program at the remote site requests a program. There are three values: ENABLE (the program is available); TEMP (the program is temporarily unavailable); and PERM (the program is permanently unavailable). This setting temporarily removes a program from network accessibility. The default is ENABLE.

Conversation Type

This value states the type of conversation verbs the program can issue. BASIC specifies access to basic verbs; MAP specifies access to mapped verbs; EITHER specifies access to basic and mapped verbs. The default is EITHER.

Sync Level

This value states whether the program supports sync level CNFRM. If the value is CNFRM, the program can issue CONFIRM and CONFIRMED. If it is NONE, those verbs are not allowed. The default is CNFRM.

PIP Data Allowed

This value states whether the program supports Program Initialization Parameters (PIP). NO (0) prohibits this program from receiving or sending PIP data (command-line arguments, for example). YES (1) allows the program to use PIP data, although it does not require it to do so. The default is YES.

Data Mapping Allowed

This value states whether the program supports data mapping. Options are YES (1) or NO (0) The default is NO.

FMH Data Allowed

This value states whetherare YES (1) or NO (0). The default is NO. the program supports Function Management Header (FMH) data. Options are YES (1) or NO (0). The default is NO.

Assign LUW

This value states whether the program allows generation of a Logical Unit of Work (LUW). Options are YES (1) or NO (0). The default is NO.

Privilege

This value specifies the type of control operator verbs that the transaction program can issue. The range is 0 to 31. The default is NONE.


Option [k]: Define Configuration

This option adds, changes, or deletes a configuration definition. The option cannot be selected, however, if the local node, local LUs, partner LUs, and transaction programs for this configuration are not defined.

When this option is selected, the Configuration Editor screen window appears with a series of prompts. Respond to the prompts, according to the information listed in Table 2-12.

Table 2-12. Configuration Editor Screen Prompts

Prompt

Response

Select Local Node

Choose a local node for this configuration from thedisplayed list of pre-defined local nodes.

Select Stations

Choose a station for this configuration from the displayed list of pre-defined stations.

Select Secondary LUs

Choose a secondary LU for this configuration from the displayed list of previously defined secondary LUs.

Select Local LUs

From the displayed list of previously defined local LUs, indicate the local LU for this configuration.

Select Partners

From the displayed list of previously defined partners, indicate the partner for this configuration.

Select Transaction

From the displayed list of previously defined Programs transaction programs, indicate the transaction program for this configuration.


Logging and Trace Menu

The Logging and Trace Menu controls the system log and the link-level trace access capabilities of the IRIS SNA SERVER. It is accessed through option [i] of the Network Operations Menu.

Figure 2-5. Logging and Trace Menu


Logging Capabilities

The IRIS SNA SERVER provides a logging capability to track different levels of messages within the node and notify the operator of events—both normal and abnormal—in the network. Operator messages (viewed by selecting option [h] of the Network Operations Menu) provide first level network event feedback. Logging is enabled by selecting option [c] Start Logging.

Log settings determine which messages are logged. Use option [b] Change Logging Values to update the log settings shown in Table 2-13.

Table 2-13. Message Logging Settings

Field

Value

Description

Class

o

Operator Responses to the node
operator verbs

 

l

Log Logging messages

 

d

Dev Messages to help
developers

 

t

Trace Trace statements

Type

i

Info Status messages,
non-error conditions

 

n

Notify Notification messages
(e.g., to the node operator)

 

e

Error Error messages

 

d

Diag Diagnostic messages

Severity

1-99, where:

 

 

0

Severity to remain unchanged

 

10

Lowest level, used for second-level text

 

20

Normal informational messages, such as
session activation and deactivation

 

30

Node-operator messages, line
activation, and deactivation messages

 

40

Error messages, abnormal terminations of
sessions, conversations, links, etc.

 

90

Program errors

Because some events are visible only when the system log is running, it is a good practice to run the log when the node is active. Always run it when investigating a problem or abnormal event.


Note: For option [c] to take effect, set the logging-messages parameter in option [a] Define Local Node of the Define Resource Menu to YES.


Link Trace Capability

The link trace feature writes trace data in raw form to a disk file specified in option [g] Start Link Trace. This raw file is processed by option [i] Display Link Trace and option [j] Print Link Trace to create a formatted file showing both the SNA headers and the data in a number of possible formats. An additional feature of option [g] captures and displays the SDLC control frames.

Logging and Link Trace Menu Options

The following Logging and Link Trace Menu Options are available.

Option [a]: Display Logging Values

This option displays current settings of the log message queue. (See
Table 2-13 for the settings.) This option issues the dspmsgq node operator verb.

Option [b]: Change Logging Values

This option updates current settings of the log message queue. To change any of the values, enter either the number or log setting letter and press <enter>. To enable multiple types of classes of messages, enter multiple letters; for example, to enable all types of messages, enter INED and press <enter>.

This option issues the chgmsgq node operator verb.

Option [c]: Start Logging

This option enables the log message queue when you provide the name of the output log file. Log files are written in the directory named by the run-time variable STLOG in /usr/sna/etc/SNAENV.

Option [d]: Stop Logging

This option disables the log message queue and deactivates the log program.

Option [e]: Display Log

This option uses the IRIX-supplied pg command to view formatted messages that are in the log file specified in option [c] Start Logging.

Option [f]: Print Log

This option uses the IRIX-supplied pr and lp commands to print a formatted copy of the log file messages. The name of the log file requested is the same one specified in option [c] Start Logging.

Option [g]: Start Link Trace

This option starts the link trace facility and prompts for the responses shown in Table 2-14. This option runs the s2_ltrc core program.

Option [h]: Stop Link Trace

This option stops the link trace facility and the writing of records to the raw output file specified in option [g]. Data written previously, however, is still available for display by the ltap function (see the s2_ltap core program). From the displayed list of active trace processes, select and enter the process ID of the trace to stop. An attempt to stop a trace process started by another user, however, can fail and produce a message requesting you try again using the authority of the trace initiator.


Note: The IRIX kill command safely ends the trace process.

Table 2-14. Prompts for Start Link Trace

Prompt

Response

Trace File Name

Enter the name of the file that contains the raw trace data. The name is created or overwritten in the directory specified in the IRIS SNA SERVER variable STLOG.

Device To Be Traced

Enter the name of the device file. Each link trace process tracks the activity on one physical device. Specify the /dev file named in the line definition for the line to trace.

Max. Output File
in blocks

Enter the maximum number of blocks in the raw output file. Enter 0 or press <enter> to accept the system default of 16 blocks. If the log file size is exceeded, a message indicates the trace file limit has been exceeded, and the file continues to wrap around until explicitly killed. Since the trace runs in the background, this message can appear unexpectedly on your screen.

All Frames?

Enter YES to instruct the trace to store all SDLC frames, including poll frames. This is useful only if you suspect a problem with the SDLC protocol. If this option is selected, the size of the log file grows dramatically and data can be missed at high speeds. To trace only the I-frames, press <enter> or any character except y.


Option [i]: Display Link Trace

This option displays the trace output on the screen. The raw data output is formatted (based on the options selected) and presented to the screen using the IRIX pg command. Table 2-15 lists the prompts and responses for the Display Link Trace option. This option runs the s2_ltap core program.

Select an appropriate response to these screen prompts:

Table 2-15. Prompts for the Display Link Trace Option

Prompt

Response

Trace File Name

Enter the file name specified as the output file at the start of the trace.

Display Data in ASCII?

Enter A to translate the data using the ASCII character set; E (or press <enter>, since this is the default) to translate the data using the EBCDIC character set; or D to translate the Function Management Header (FMH) data using the EBCDIC character set and the unformatted data using the ASCII character set.

Convert Based on FMD?

If the RU category is Function Management Data( FMD) and the Format Indicator is off, enter Y toconvert it to ASCII. Enter N or press <enter> totranslate the text to EBCDIC.

Show Outbound Only?

Enter N or press <enter> to display both inbound and outbound data flows. Enter Y to display only outbound flows.

Print Ruler?

Enter Y to display an offset ruler 64 bytes long with the RU data, enter N, or press <enter>.


Option [j]: Print Link Trace

This option prints the trace output. Based on the options selected, the raw trace output is formatted and printed using the IRIX pr and lp commands.

This option runs the s2_ltap core program.

Provide appropriate responses to these screen prompts:

Table 2-16. Prompts for Printing Link Trace Output

Prompt

Response

Trace File Name

Enter the file name specified as the output file when the trace was started.

Display Data in ASCII?

Enter A to translate the data using the ASCII character set; E (or press <enter>, since this is the default) to translate the data using the EBCDIC character set; or D to translate Function Management Header (FMH) data into EBCDIC characters and unformatted data into ASCII characters.

Convert Based on FMD?

If the RU category is Function Management Data (FMD) and the Format Indicator is off, enter Y to convert it to ASCII. Enter N or press <enter> to translate the text to EBCDIC.

Show Outbound Only?

Enter N or press <enter> to display both inbound and outbound data flows. Enter Y to display only outbound flows. Enter Y to display an offset ruler 64 bytes long with the RU data. Otherwise, enter N or press <enter>.


Core Programs

The supplemental manual or man pages describe the use and parameters of the nine core programs of the IRIS SNA SERVER. Table 2-17 describes each program.

Table 2-17. Core Programs

Program

Package

Description

s2_init

Core

The Node Initializer Program activates the s2_schd and s2_tpi processes and issues the initial configuration-definition verbs.

s2_lgcp

Core

The Log Operator Program.

s2_log

Core

The System Log Program receives log messages and writes the system log.

s2_ltap

Device Driver

The Link Trace Analysis Program.

s2_ltrc

Device Driver

The Link Trace Program.

s2_pump

Device Driver

The Downloader Program is issued to load the SDLC software to an intelligent communications controller.

s2_mscp

Core

The Node Operator Program.

s2_schd

Core

The SNA Server Program.

Two of these programs, s2_mscp and s2_lgcp, create control scripts that do not use the supplied menus. The other seven programs are more commonly run from the user package menus than from the command line and, therefore, are not usually explicitly started.

When the IRIS SNA SERVER is installed, these programs are placed in
/usr/sna/bin. There is no requirement that the /usr/sna/bin directory be in your path when using the user package. If you are not using the menus, add this directory to your path list or use the user package run-time variable STBIN to qualify their names. With the exception noted in s2_init, these programs make no assumption about the location of the core programs.

Running the Network Configuration Program

To start the Network Configuration program, enter this command line at the IRIS prompt:

/usr/sna/etc/netConf

To create a new SNA configuration file or update an existing configuration file, follow these steps, which are described below:

  • Step 1: Collect Configuration Data

  • Step 2: Define Resource

  • Step 3: Define Configuration

  • Step 4: Generate Configuration

  • Step 5: Set Current Configuration

Collecting Configuration Data

Collect the following IBM HOST VTAM definitions:

PU:IDBLK=xxx

PU:IDNUM=yyyyy

PU:MAXDATA=nnn

GROUP:NRZI=(NO) YES

GROUP:DUPLEX=(FULL) HALF

PU:ADDR=xx

PU:MAXOUT=n

LU:LOCADDR=xx

Defining Resources

If you are defining a configuration for a host connection (PU Type 2), define:

  • Local Node

  • Remote Node

  • Line

  • Station

  • Secondary LU

If you are defining a configuration for a peer connection (PU 2.1 and LU 6.2), you need to define every resource in the Define Resource Menu except the Secondary LU.

To apply the host configuration data to an SNA configuration, define the necessary resources by selecting [a] Define Resource Menu from the Network Configuration Menu. A detailed Define Resource Menu is then displayed.

Define the following resources for your configuration file on a host connection:

  • Local Node
    Exchange ID = xxxyyyyy
    where xxx is from PU:IDBLK and yyyyy is from PU:IDNUM
    Verb Message Buffer Size = nnn
    set nnn to 256 if PU:MAXDATA=265
    set nnn to 512 if PU:MAXDATA=521

  • Remote Node
    Controller Type = 3274
    set to 3274 even if you are configuring a 3770 connection.

  • Line
    IRIX Device File = /dev/si1

    Each SNA SDLC controller provides two ports, and two SNA SDLC controllers are supported. The Device File names are:

    /dev/si1 Controller 0, Line 1

    /dev/si2 Controller 0, Line 2

    /dev/si3 Controller 1, Line 1

    /dev/si4 Controller 1, Line 2

    Maximum BTU Length = nnn

    where nnn is from PU:MAXDATA

    Maximum I-Frames = n

    where n is from PU:MAXOUT

    Transmission Coding = NRZ

    Set to NRZ if GROUP:NRZI=NO

    Set to NRZI if GROUP:NRZI=YES

    Half-Duplex/Full-Duplex: FDX

    Set to FDX if GROUP:DUPLEX=FULL

    Set to HDX if GROUP:DUPLEX=HALF

  • Station

    SDLC Address = xx

    where xx is from PU:ADDR

    Exchange ID = NONE

    This field is not used on a host connection.

    Maximum BTU Length = nnn

    where nnn is from PU:MAXDATA. This value supersedes the setting in the associated Line definition.

    Maximum I-Frames = n

    where n is from PU:MAXOUT. This value supersedes the setting in the associated Line definition.

  • Secondary LU

    LU Destination Address = xx

    where xx is from LU:LOCADDR

Defining the Configuration

After all resources have been defined, the final configuration must be put together by selecting [k] Define Configuration from the Define Resource Menu.

Every time a resource is added to the configuration or is deleted from the configuration, you need to define the configuration again before continuing to the next step.

Generating the Configuration

After the configuration is defined to the Network Configuration program, the final configuration file readable to the IRIS SNA programs still needs to be generated by selecting [c] Generate Configuration from the Network Configuration Menu.

Whenever a resource of an existing configuration is updated, the final configuration is not updated until this Generate Configuration step is completed.

Setting the Current Configuration

You may create a number of configuration files in your database. However, only one configuration is used by the IRIS SNA SERVER. Set the current configuration by selecting [d] Set Current Configuration from the Network Configuration Menu (or perform this step from the Network Operations Menu).


Caution: If the SNA gateway process (s2_schd) is running, a new configuration does not take effect until next time the SNA gateway is started.


Running the Network Operations Program with SDLC


Note: If you have IRIS Token Ring installed, see, “Running the Network Operations Program with Token Ring.”

To start the Network Operations program, at the shell prompt enter:

/usr/sna/etc/netOper

A Network Operations Menu window is then displayed.

If this warning message is displayed when you try to run the Network Operations program:

You must set your current configuration before continuing 

enter x to return to the Network Operations Menu, the main menu of the Network Operations program.


Note: This warning message is displayed every time a new user wants to run the Network Operations program. If you share one IRIX login id, such as root or guest, select [f] Set Current Configuration to check if the current configuration is correct.

Enter f to Set Current Configuration. A Set Current Configuration menu is then displayed. Enter the letter corresponding to the desired configuration and you will see the selected configuration displayed at the Current Configuration:line in the Menu/Form section. The current configuration is now set. Entering x returns you to the main menu.

Sequence of Operations

If the IRIS SNA SERVER is configured to connect to an IBM Host, the correct sequence of operations in running the Network Operations program is as follows:

  1. Load the SDLC code to the SNA SDLC controller if it is not yet loaded.

    To load SDLC, enter at the IRIX prompt:

    /usr/sna/etc/ldSDLCn 
    

    where n is either 0 or 1, depending on whether you are using Controller 0 or 1.

    You must load the SDLC code every time the IRIX system is rebooted.


    Note: Do not load the SDLC code when a communication has already been established with a remote system. The load will not be successful.


  2. At the Network Operations Menu, select the following menu items:

    —  [f] Set Current Configuration
    

    Do this to make sure you have the expected configuration.

    —  [a] Activate SNA Server
    

    This activates the SNA gateway process s2_schd.

    —  [b] Activate Physical Unit
    —  [d] Activate Line
    —  [e] Activate Adjacent Link Station
    

    Do this if the Adjacent Link Station is a switched line and then dial the phone number.

After the SNA gateway process is running, you may always check the communication link status, the logical unit status, or new messages from the IRIS SNA SERVER by selecting:

[j  ] Display Station Status
[k ] Display Host Status
[h ] Display Messages

Establishing a Connection

To determine whether the communication line has been established with the remote system, from the Network Operations Menu, select [j] Display Station Status, which displays a status screen. The status of the Line should become active after you [d] Activate Line on that line. When the status of the Adjacent Link Station (ALS) becomes active also, the communication line with the remote host is established.

If the communication line is not established, go through the following checklist. See, “Defining Resources,” for more information.

  1. Do you have the cable connected to the right port? There are two ports available for each SNA SDLC controller.

  2. Is the cable from the SNA SDLC controller port securely connected to the modem? If a modem eliminator is used instead, is the other cable securely and properly connected to the remote system?

  3. If it is a switched line, do you have the correct Exchange ID defined to the Local Node resource?

  4. If it is a switched line, check the value of the Connection Type field of the Line definition. If it is set to SWITCHED instead of LEASED (MULTI is invalid), you need to activate the station explicitly, after you have activated the line, by selecting option [e] Activate Adjacent Link Station from the Network Operations Menu. An Activate Station form is displayed. Fill in the proper station name and set the Dial field to 0 - Connect. Execute the form by pressing the <enter> key again. Then dial the phone.

  5. Do the values in fields of Transmission Coding (NRZI) and Half- Duplex/Full-Duplex in the Line definition conform to the settings at the remote system? Does the value in the SDLC Address field in the Station definition conform to the setting at the remote system?

  6. Did the operator of the remote host system activate the line and the PU through VTAM V,NET,ACT commands yet? If the process of establishing link connection fails while you are trying to get your configuration straight, the status of the host system may not be in sync with your IRIS SNA system. Ask the VTAM operator to deactivate the PU and LINE completely and activate them again.

  7. If none of the above works, perform a physical link trace according to instructions in , “Performing a Trace.” Send the link trace to an SGI Customer Support Engineer who can interpret the SNA protocols, correct the problem, and then re-establish a connection.

After the Line is active and the Station is active, you can run 3270 or RJE after performing these steps:

  1. Check whether the LU is active or not by selecting option [k] Display Host Status from the Network Operations Menu.

    A Host Status Display screen is displayed.

  2. Look for the SSCP-LU column of the desired REMOTE/SLU.

    If a number is displayed in the column, the LU is active. Furthermore, if a number is displayed in the LU-LU column of the desired REMOTE/SLU, the LU is active and the LU-LU session is being used by a process.

There are two possible reasons LU may not active after the Station has been active.

  1. The LU is not defined to the host. Make sure the LU Destination Address in your configuration is defined at VTAM LU:LOCADDR.

  2. The initial status of the LU is set to INACTIVE at VTAM. Ask the VTAM operator to activate the LU with a VTAM V,NET,ACT command.

Performing a Trace

There are four stages involved in obtaining a trace at the physical link level:

  1. Starting the link trace.

    To start a link trace, select [i] Logging and Trace Menu from the Network Operations Menu. Select from the Logging and Trace Menu option [g] Start Link Trace, which displays a Start Trace form.

  2. Fill out the form.

    The file name entered is relative to the /usr/sna/log directory. See , “Running the Network Configuration Program,” to determine the pathname of the device to be filled into the form. Finally, execute the form by pressing the <enter> key from the Action Selection section of the screen.

  3. Stopping the link trace.

    To stop a link trace, select [i] Logging and Trace Menu from the Network Operations Menu. Select from the Logging and Trace Menu option [h] Stop Link Trace and select the trace you want to stop. Remember to always turn off the trace when you do not need to run the link trace. The trace output can become too big to read. Running a link trace decreases the link performance. And, if the SNA gateway is terminated with a dangling link trace process, unexpected results can happen when the SNA gateway is restarted.

  4. Displaying or printing the link trace.

    The link trace feature writes trace data in raw form to a disk file specified at Start Link Trace. To print a link trace, select [i] Logging and Trace Menu from the Network Operations Menu. Select from the Logging and Trace Menu option [j] Print Link Trace. The raw form of trace data is decoded and piped to the IRIX lp program. To display a link trace, select from the Logging and Trace Menu option [i] Display Link Trace. The raw form of trace data is decoded and displayed to the window with the IRIX pg program.

    Alternatively, the raw form of trace data may be decoded to a output file by entering the following command from a shell prompt of an IRIX window:

    /usr/sna/bin/s2_ltap {trace filename} > {output filename}

  5. Interpreting the link trace.

    This is the ultimate goal of running a link trace and requires extensive understanding of IBM SNA protocols, as well as the underlying LU application protocols such as 3270, 3770, or DIA protocols. This discussion is beyond the scope of this documentation.

Running the Network Operations Program with Token Ring


Note: If you have SDLC installed, see , “Running the Network Operations Program with SDLC.”

To start the Network Operations program, at the shell prompt enter:

/usr/sna/etc/netOper 

If the following warning message is displayed when you attempt to run the Network Operations program:

You must set your current configuration before continuing 

enter x to return to the Network Operations Menu, the main menu of the Network Operations program.

Enter f to set the current configuration, which displays a Set Current Configuration Menu. Enter the letter corresponding to the desired configuration, and you will see the selected configuration displayed at the Current Configuration: line in the Menu/Form section. The current configuration is now set. Enter x to return to the main menu.

This warning message is displayed every time a new user attempts to run the Network Operations program. If you share one IRIX login ID (for example, root, or guest), select [f] Set Current Configuration to check if the current configuration is correct.

If the IRIS SNA SERVER is configured to connect to an IBM host, the correct sequence of operations in running the Network Operations program is as follows:

At the Network Operations Menu, select the following menu items:

  • [f] Set Current Configuration

    Do this to make sure you have the expected configuration.

  • [a] Activate SNA Server

    This activates the SNA gateway process s2_schd.

  • [b] Activate Physical Unit

  • [d] Activate Line

After the SNA gateway process is running, you may always check the communication link status, the logical unit status, or new messages from the IRIS SNA SERVER by selecting:

  • [j] Display Station Status

  • [k] Display Host Status

  • [h] Display Messages

After the Line is active and the Station is active, perform these procedures before running the 3270 or RJE:

  1. Check whether or not the LU is active by selecting [k] Display Host Status from the Network Operations Menu.

    A Host Status Display screen is displayed.

  2. Look for the SSCP-LU column of the desired REMOTE/SLU.

    If a number is displayed in the column, the LU is active. Furthermore, if a number is displayed in the LU-LU column of the desired REMOTE/SLU, the LU is active and the LU-LU session is being used by a process.

There are two possible reasons LU may not activate after the Station has been active:

  1. The LU is not defined to the host. Make sure the LU Destination Address in your configuration is defined at VTAM LU:LOCADDR.

  2. The initial status of the LU is set to INACTIVE at VTAM. Ask the VTAM operator to activate the LU with a VTAM V,NET,ACT command.