Oracle Database Gateway for APPC uses the SNA Advanced Program to Program Communication (APPC/LU6.2) protocol to communicate with an OLTP. APPC support on Solaris Operating System (SPARC 64-bit) is provided by the SNAP-IX product.
The following topics describe how to configure SNAP-IX on a Solaris system to run Oracle Database Gateway for APPC.
Note:
When you finish following the instructions in this chapter, refer to Configuring Your Oracle Network to continue network configuration.
The following topics describe how to configure SNAP-IX version 6.
You must specify parameters that are unique to your system to configure SNAP-IX version 6 properly. Before you begin, request these parameters from your network administrator.
All SNAP-IX product configuration is done using the xsnaadmin
program. This tool is an X-Windows application that provides a graphical interface to view and modify the current SNAP-IX configuration and the current running state of the host SNA node.
Oracle Database Gateway for APPC requires a stored set of definitions, called Side Information Profiles, to support connections between the gateway and gateway servers. Each profile consists of a profile name and a profile type, which is a set of fields describing the profile. The fields in a given profile type are generally a mix of operating parameter values and names of other SNA profiles relevant to the profile. Each functional part of APPC, such as the Mode, Remote Transaction Program name, and Logical Unit (LU), is described by a distinct profile type.
The gateway configuration can accommodate either independent or dependent LUs. If you choose to use dependent LUs, or are restricted to using dependent LUs, the gateway functions properly. If a dependent LU is correctly defined, then you do not need to make changes to the configuration of the gateway, nor should any changes be needed to the gateway server. However, Oracle recommends that you use independent LUs for the gateway because they support multiple parallel sessions or conversations. This means that multiple Oracle client applications can be active simultaneously with the same gateway server through the independent LU.
In contrast to independent LUs, dependent LUs support only a single active session. The CP (Control Point for the Node) queues each additional conversation request from the gateway behind an already active conversation. In other words, conversations are single-threaded for dependent LUs.
The operational impact of dependent LUs is that the first client application can initiate a conversation through the gateway with the gateway server, but while that session is active (which could be for seconds, minutes, or hours, depending on how the client application and transaction are designed), any other client application initiating a session with the same gateway server appears to hang as it waits behind the previous session.
If a production application really uses only a single conversation at any one time, then there should not be a problem. However, at some point, you might require additional concurrent conversations for testing or for other application development. Having more than one conversation requires that additional dependent LUs be defined on the remote host. Additional configuration entries must be added to SNAP-IX. Additional Side Information Profiles should be defined to use the new dependent LUs. Gateway instances should be created and configured to use these new Side Information Profiles.
SNAP-IX definitions are stored in the following files, which are located in the /etc/opt/sna
directory:
SNA node definitions: sna_node.cfg
SNA domain definitions: sna_domn.cfg
These files are created and maintained with the xsnaadmin
tool. Maintenance of SNA definitions is usually done by a user with administrative authority. The following information is intended for a user creating SNA definitions for the gateway. You must have some knowledge of SNA before reading this section.
The $ORACLE_HOME/dg4appc/sna
subdirectory contains a set of sample SNAP-IX definition files for the gateway, which are created with the xsnaadmin
. These sample files are sna_domn.cfg
and sna_node.cfg
. SNA definitions are very specific to the host and SNA network. As such, the sample definitions provided will not work without being tailored for the local host and SNA network.
This section describes the process of creating SNA definitions for SNAP-IX, using xsnaadmin
. All configuration is done using the various dropdown menus and panels in xsnaadmin
. The following configuration descriptions follow the samples provided. Please tailor the various SNA values for your local host and SNA network.
Use the following commands to invoke xsnaadmin
. The DISPLAY
environment variable must be set correctly. If you are running xsnaadmin
from the local console, then DISPLAY
should already be set. If you are running xsnaadmin
from a remote X display, then set DISPLAY
to the host name or IP address of that display.
$ DISPLAY=<your_display>:0
$ export DISPLAY
$ xsnaadmin &
On startup of xsnaadmin
, the main screen opens and displays the current configuration of the local SNA node.
To configure the SNA node, you need to do the following:
To add a new port, from the Services menu, select Connectivity and New Port.
dmesg
command.When the Port has been defined, you must create a Link Station. The Link Station represents the SNA node of the remote host of the gateway server. But before you create the Link Station, you must create a Remote Node definition as described in the following procedure:
From the Services menu, select APPC and Add Remote Node.
In the dialog box, enter the SNA CPNAME of the remote node and click OK.
Now you can create a Link Station as follows:
When the Remote Node definitions have been made, create the Local LU names for the local host as follows:
When the local and remote LU definitions have been created, create the necessary Mode and CPI-C definitions.
CICSPGA
. Contact your Remote Host system administrator for appropriate mode parameters.ORAPLU62
for the mode name. Choose the type of security for these sessions to use. This affects how session authorization is done.Before proceeding with gateway configuration tasks, ensure that your connection is working. Perform this by starting the SNAP-IX Node and then starting the individual link stations.
Figure 8-1 shows the relationship between SNAP-IX definitions and the VTAM definitions on the remote host.
Figure 8-1 Relationship Between SNAP-IX Definitions and Host VTAM Definitions
When you have finished configuring the SNA communication package for Solaris, proceed to Configuring the OLTP to continue configuring the network.