Installation and Configuration Supplement
This section describes how to set up APPC
communications on a DB2 Connect or DB2 Universal Database server for inbound
client connections. To access a remote server through APPC, you must
first have installed and configured communication software on both the client
and server workstations. These connections can be from workstations
running DB2 clients, host database clients, or AS/400 database clients.
See Software Requirements for the communication protocol requirements for your
platform. See Possible Client-to-Server Connectivity Scenarios for the supported communication protocols for your
particular client and server.
Before you complete the steps in this section, ensure that you have
completed the instructions in Setting the DB2COMM Registry Parameter.
The following steps are required to set up APPC communications:
Step 1.
| Identify and record parameter values.
|
Step 2.
| Configure the server:
- Update the database manager configuration file.
- Configure the APPC communications subsystem.
|
Before you configure the server, fill in copies of the Your
Value column of the worksheet in Table 25. You can then use the worksheet to configure
APPC communications for inbound connections. During the configuration
process, replace the sample values in the instructions with your values from
the worksheet, using the boxed numbers (for example, (1)) as
reference.
![Figure 00002674 not displayed.](00002674.gif)
| The worksheet and configuration instructions supply suggested or sample
values for required configuration parameters. For other parameters, use
the communications program's default values. If your network
configuration is different from what is used in the instructions, consult your
Network Administrator for the appropriate network values.
|
Table 25. APPC Values Required at the Server
Ref. #
| Name on the Server
| Sample Value
| Your Value
|
(1)
| Network ID
| SPIFNET
|
|
(2)
| Local Control Point name
| NYX1GW
|
|
(3)
| Local node or Node ID
| 071 27509
|
|
(4)
| Local LU name
| NYX1GW0A
|
|
(5)
| Local LU alias
| NYX1GW0A
|
|
(6)
| Mode name
| IBMRDB
|
|
(7)
| Service TP name
| X'07'6DB
|
|
(8)
| Application TP name
| DB2DRDA
|
|
For each server that you are connecting to, fill in a copy of the worksheet
as follows:
- For Network ID ((1)), determine the network name of the server
workstation.
- Determine the Local Control Point name or Control Point LU ((2)) to
be used for the server workstation. This value is usually the same as
the Local node or Physical Unit name for the system.
- For Local node or Node ID ((3)), determine the IDBLK and IDNUM of
the server workstation. The default value should be correct, or you can
obtain the required values from your Network or System Administrator.
- Determine the Local LU name ((4)) to be used by the server.
If you use a Syncpoint Manager (SPM) to manage multisite updates (two-phase
commit), the Local LU should be the LU used for the SPM. In this case,
that LU cannot also be the Control Point LU.
- For Local LU alias ((5)), you usually use the same value as for the
Local LU name ((4)).
- For Mode name ((6)), usually the default IBMDRB
is sufficient.
- For Service TP name ((7)) and Application TP name ((8)),
choose a name of up to 64 characters, or use the default transaction programs,
X'07'6DB and DB2DRDA.
![Figure 00002674 not displayed.](00002674.gif)
|
Record the following entries from the worksheet so that they can be used to
configure communications and directories for each client from which you will
be accepting connections:
- Network ID ((1))
- Local Control Point name ((2))
- Local LU name ((4))
- Mode name ((6))
- Transaction Program (TP) name ((7)) or ((8)).
|
The following section describe how to configure APPC on the
server. Replace the sample value with your value as recorded on your
worksheet.
![Figure 00002671 not displayed.](00002671.gif)
|
If you want to use only the default Transaction Programs (TPs) for a single
DB2 instance, you do not need to configure the tpname database
manager configuration parameter. Skip this step and go to B. Configure the APPC Communications Subsystem.
|
The default Transaction Program (TP) names are DB2DRDA and
X'07'6DB. To configure a DB2 instance to listen
for a TP other than, or in addition to, the default TPs, you must configure
the tpname database manager configuration parameter. You must
also configure a unique TP name if you have multiple instances on the
server.
To update the database manager configuration file with the TP name
(8)), perform the following steps:
Step 1.
| Log on to the system as a user with System Administrative (SYSADM)
authority. For more information, see Working with the System Administrative Group.
|
Step 2.
| For UNIX servers, set up the instance environment and invoke the DB2
command line processor as follows:
- Run db2profile or db2cshrc as follows:
. INSTHOME/sqllib/db2profile (for Bourne or Korn shell)
source INSTHOME/sqllib/db2cshrc (for C shell)
where INSTHOME represents the home directory of the
instance.
- Start the DB2 command line processor by entering the db2
command.
|
Step 3.
| Update the database manager configuration file with the server's TP
name (tpname) by entering the following commands:
update dbm cfg using tpname tpname
db2stop
db2start
For example, if the server's transaction program name is
DB2DRDA, enter the following commands:
update dbm cfg using tpname DB2DRDA
db2stop
db2start
If you are configuring the Administration Server to use APPC, you must also
update the admin server configuration file. If the Administration
Server's TP name is DB2ADMIN, enter the following
command:
update admin configuration using tpname DB2ADMIN
db2admin stop
db2admin start
|
If your server contains multiple instances, each accepting connections
using APPC, then each instance requires a unique TP on which to listen.
Only one of these instances can listen for the default TPs. The
DB2SERVICETPINSTANCE registry variable controls which instance listens for the
default TPs (on OS/2, Windows NT, Windows 2000 or AIX). This variable
must be set to the name of the instance you want to listen for these default
TPs, and set globally, so that all instances on a given machine can obtain its
value.
For example, to set DB2SERVICETPINSTANCE globally, and to ensure that the
instance MYINST1 listens for default TPs, enter the following
command:
db2set -g DB2SERVICETPINSTANCE=MYINST
Consider the following server configuration:
- Two instances are defined on the server, MYINST1 and
MYINST2.
- For MYINST1, the tpname parameter is set to
MYTP1.
- For MYINST2, the tpname parameter is set to
MYTP2.
- DB2SERVICETPINSTANCE is set to MYINST1.
In this configuration, MYINST1 instance will listen for the
MYTP1 in addition to the default TPs DB2DRDA
and X'07'6DB. The MYINST2 instance will
continue to listen for the MYTP2 TP.
If this registry value is not set globally, and multiple instances are
configured to support APPC connections, then unpredictable results will
occur; that is, it will not be possible to predict which instance listens
for the default TPs.
To configure your DB2 server to accept remote clients using
APPC, you need to update the APPC communications subsystem to support the TP
name that the server will use.
![Figure 00002671 not displayed.](00002671.gif)
|
Go to the section that provides the APPC inbound client connection
instructions for your operating system:
|
This section describes how to configure your IBM
eNetwork Communications Server for AIX (CS/AIX) to accept inbound APPC client
connections. CS/AIX is the only product supported for this
purpose. Before you begin, ensure that your workstation has CS/AIX
installed.
For more information on setting up your environment, refer to the online
help supplied with CS/AIX.
The following assumptions have been made:
- The basic installation of the CS/AIX package has already been
completed.
- DB2 Connect or DB2 Universal Database for AIX has been installed.
- The user is logged on as root.
Use the Your Value entries from the worksheet in Table 25 to complete the steps below.
![Figure 00002674 not displayed.](00002674.gif)
| DB2 automatically configures CS/AIX with the TP parameters required to
accept inbound APPC connections. These instructions describe the
remaining steps required to configure your APPC communications for inbound
connections.
|
To configure CS/AIX to accept inbound APPC connections, perform the
following steps:
Step 1.
| Log on to the system as a user with root authority and start the
/usr/bin/X11/xsnaadmin program. The Node window for the
server opens.
|
Step 2.
| Define a node.
- Select Services->Configure Node Parameters from the menu
bar. The Node Parameters window opens.
![Node Parameters Window](00002672.gif)
- Click on the APPN support drop down box and select the End
node option.
- Enter your Network ID ((1)) and Control Point name
((2)).
- Enter your Control Point name ((2)) in the Control point
alias fields.
- Enter your Node ID ((3)) in the Node ID fields.
- Click OK.
|
Step 3.
| Define a port.
- Select the Connectivity and Dependent LUs window.
- Click on the Add push button. The Add to node window
opens.
![Add to Node Window](00002701.gif)
- Select the Port using radio button.
- Click on the Port using drop down box and select the
appropriate port. For the purpose of our example, we will select the
Token ring card option.
- Click OK. The Port window for the chosen port type
opens.
![Token Ring SAP window](00002702.gif)
- Enter a name for the port in the SNA port name field.
- Select the Initially active checkbox.
- From the Connection network box, select the Define on a
connection network checkbox.
- Enter your Network ID ((1)) and Control Point name ((2)) in
the CN name fields.
- Click OK. The Token Ring SAP window closes and a new
port appears in the Connectivity and Dependent LUs window.
|
Step 4.
| Define a local LU.
- Select the Independent local LUs window.
- Click on the Add push button. The Local LU window
opens.
![Local LU window](00002675.gif)
- Enter your independent Local LU name ((4)) in the LU
name field.
- Enter the same name ((5)) in the LU alias field.
- Click OK. The new LU appears in the Independent local
LUs window.
|
Step 5.
| Define a mode.
- Select Services->APPC->Modes from the menu bar. The
Modes window opens.
![Modes window](00002677.gif)
- Click on the New push button. The Mode window
opens.
![Mode Window](00002678.gif)
- Enter your Mode name ((6)) in the Name field.
- The configuration values below are suggested for the following
fields:
- Initial Session limits: 20
- Maximum Session limits: 32767
- Min con. winner sessions: 10
- Min con. loser sessions: 10
- Auto-activated sessions: 4
- Initial Receive pacing window: 8
These values are suggested because they are known to work. You will
need to tailor these values so that they are optimized for your particular
application environment.
- Click OK. The new mode appears in the Mode
window.
- Click Done.
|
Step 6.
| Close the CS/AIX administration program.
|
Step 7.
| Test the APPC connection.
- Start the SNA subsystem by entering the /usr/bin/sna start
command. You can enter the /usr/bin/sna stop command to stop
the SNA subsystem first, if required.
- Start the SNA administration program. You can enter either the
/usr/bin/snaadmin command or the /usr/bin/X11/xsnaadmin
command.
- Start the subsystem node. Select the appropriate node icon in the
button bar, and click on Start.
|
You have now finished setting up your workstation for inbound APPC
communications.
This section describes how to configure IBM eNetwork
Communications Server for Windows NT (CS/NT) to accept inbound APPC client
connections.
Before you begin, ensure that the IBM Communications Server for Windows NT
you installed complies with the following restrictions:
__ 1.
| APAR fixes JR11529 and JR11170. These fixes are required to enable
cancelling of queries in progress by using Ctrl-Break or issuing
the SQLCancel ODBC/CLI call.
|
__ 2.
| IBM Communications Server IEEE 802.2 LAN interface (an installation
option for Communications Server) or LLC2 driver installed from the IBM
Communications Server installation directory. During installation CS/NT
asks if you want to install LLC2. If you are not sure whether LLC2 was
installed with your copy of CS/NT, you can find out as follows:
Step a.
| Click on Start and select Settings->Control
Panel.
| Step b.
| Double-click on the Network icon.
| Step c.
| In the Network window, click on the Protocols tab.
IBM LLC2 Protocol must be one of the protocols listed. If it
is not, you need to install this protocol from your IBM Communications Server
for Windows NT software. Refer to its documentation for
instructions.
|
|
For more information on setting up your environment, refer to the online
help supplied with CS/NT, or to the following publications:
- Connectivity Supplement
- DRDA Connectivity Guide
The following assumption has been made:
- The basic installation of the IBM eNetwork Communication Server for
Windows NT package has already been completed.
Use the Your Value entries from the worksheet in Table 25 to complete the steps below.
To configure CS/NT to accept inbound APPC connections, perform the
following steps:
Step 1.
| Start IBM Communications Server for Windows NT.
- Click Start and select Programs->IBM Communications
Server->SNA Node Configuration. The IBM Communications Server SNA
Node Configuration window opens.
- Select File->New->Advanced.
|
Step 2.
| Configure the node.
- In the Configuration options box, select Configure
Node, then click on the New push button. The Define
the Node window opens.
- Enter your Network ID ((1)) and local Control Point name
((2)) in the Fully qualified CP name fields.
- Enter the same name ((2)) in the CP alias field .
- Enter your Node ID ((3)) in the Local Node ID
field.
- Select the End Node radio button.
- Click OK.
|
Step 3.
| Configure devices.
- In the Configuration options field, select Configure
devices.
- Select the appropriate DLC from DLCs field. These
instructions use the LAN DLC.
- Click on the New button. The appropriate window opens
with default values displayed. In this case, the Define a LAN Device
window opens.
- Click OK to accept the default values.
|
Step 4.
| Configure the gateway.
![Figure 00002671 not displayed.](00002671.gif)
| Perform this step only if you are setting up Communications Server to
accept requests from Communications Server for Windows NT SNA API
Client.
|
- In the Configuration options field, select Configure the
Gateway, then click on the New button. The Define
Gateway window opens.
- Select the SNA Clients tab.
- Select the Enable SNA API Client Services check box.
- Click OK to accept the default values.
|
Step 5.
| Configure modes.
- In the Configuration options field, select Configure
modes, then click on the New button. The Define a Mode
window opens.
- Enter your Mode name ((6)) in the Mode name
field.
- Select the Advanced tab.
- Select #CONNECT from the Class of Service Name
field.
- Click OK.
|
Step 6.
| Configure Local LU 6.2.
- In the Configuration options field, select Configure local
LU 6.2, then click on the New push button. The
Define a Local LU 6.2 window opens.
- Enter your Local LU name ((4)) in the Local LU name
field.
- Enter a value for the LU session limit field. The
default, 0, specifies the maximum allowed value.
- Accept the defaults for the other fields and click OK.
|
Step 7.
| Create a service Transaction Program (TP).
- In the Configuration options field, select Configure
Transaction Programs.
- Click on the New push button. The Define a Transaction
Program window opens.
- Select the Basic tab.
- Select the Service TP check box.
- Specify a service TP ((7)) in the TP name field.
- Select the Background Process check box.
- Select the Advanced tab.
- Change the default in the Receive Allocate timeout field to
0 (no timeout).
- If you are configuring Communications Server for use with Communication
Server SNA Client, select the For SNA API Client use check
box.
- Accept the defaults for the other fields.
- Click OK.
|
Step 8.
| Create an Application Transaction Program.
- In the Configuration options field, select Configure
Transaction Programs, then click on the New push
button. The Define a Transaction Program window opens.
- Select the Basic tab.
- Clear the Service TP check box.
- Specify an application TP name ((8)) in the TP name
field.
- Select the Background Process check box.
- Select the Advanced tab.
- Change the default in the Receive Allocate timeout field to
0 (no timeout).
- If you are configuring Communications Server for use with Communication
Server SNA Client, select the For SNA API Client use check
box.
- Accept the defaults for the other fields and click OK.
|
Step 9.
| Save the configuration.
- Select File->Save As. The Save As window opens.
- Type in a file name, for example ny3.acg, and click
OK.
- In the window that opens, you are asked if you want this configuration to
be the default. Click on the Yes button.
|
Step 10.
| Update the environment.
IBM Communications Server uses an environment variable called APPCLLU to
set the default Local LU used for APPC communications. You may set this
variable on a per-session basis by opening a command window and entering
set appcllu=local_lu_name, where local_lu_name
represents the name of the Local LU you want to use.
However, you will probably find it more convenient to permanently set the
variable. To permanently set the variable in Windows NT, perform the
following steps:
- Click Start and select Settings->Control
Panel.
- Double-click on the System icon. The System Properties window
opens.
- Select the Environment tab.
- Type APPCLLU in the Variable field.
- Type your Local LU name ((4)) in the Value field.
- Click on the Set push button to accept the changes.
- Click OK to exit the System Properties window. The
environment variable will now remain set for future sessions.
|
Step 11.
| Start SNA Node Operations.
- Click Start and select Programs->IBM Communication
Server->SNA Node Operations. The SNA Node Operations
window opens.
- Select Operations->Start Node from the menu bar.
- In the window that opens, select the configuration file you saved in the
previous step (for example, ny3.acg) and click
OK.
|
Step 12.
| After installing Communications Server you should register it as a Windows
NT Service. This will automatically start Communications Server when
the machine is booted.
To register Communications Server as an NT service enter one of the
following commands:
csstart -a
to register Communications Server with the default configuration,
or:
csstart -a c:\ibmcs\private\your.acg
where c:\ibmcs\private\your.acg represents the
name of the non-default Communications Server configuration file that you want
to use.
Whenever your machine is booted in the future, Communications Server will
be started automatically with the required configuration file.
![Figure 00002671 not displayed.](00002671.gif)
| Now that you have configured the server, you are ready to install a DB2
client. For more information, go to Installing DB2 Clients.
|
|
This section describes how to configure IBM eNetwork
Communications Server for OS/2 V5 (CS/2) to accept inbound APPC client
connections.
Before you begin, ensure that your workstation has CS/2 V5 or later for
OS/2 installed.
For more information on setting up your environment, refer to the online
help supplied with CS/2, or to the following publications:
- Connectivity Supplement
- DRDA Connectivity Guide
The following assumptions have been made:
- The basic installation of the IBM eNetwork Communication Server V5 for
OS/2 package has already been completed.
- DB2 Connect or DB2 Universal Database for OS/2 has been installed.
Use the Your Value entries from the worksheet in Table 25 to complete the following steps.
![Figure 00002674 not displayed.](00002674.gif)
| These instructions describe how to create new profiles within a new
configuration. If you are modifying an existing configuration, you may
need to delete some profiles before you can verify the configuration.
|
To configure your system, perform the following steps:
Step 1.
| Start a new configuration.
- Double-click on the IBM eNetwork Communications Server
icon.
- Double-click on the Communications Manager Setup icon.
- On the Communications Manager Setup panel, click on the Setup
push button.
- On the Open Configuration panel, provide a name for a new configuration
file and click OK. The Communications Manager Configuration
Definition window opens.
![Configuration Definition panel.](00002688.gif)
|
Step 2.
| Configure the protocol.
- Select the Commonly used definitions radio button.
- In the Communications Definitions box, select the protocol that
you want to use.
![Figure 00002674 not displayed.](00002674.gif)
| These instructions use APPC APIs over Token-Ring.
|
- Click on the Configure push button. The APPC APIs Over
Token-Ring window opens.
- Enter your Network ID ((1)) and local Control Point name
((2)) in the corresponding fields.
- Click on the End node push button that your network
administrator advises you to use.
You can select either the End node - to a network node server
radio button or the End node - no network node server radio
button. A network node server is used when many users are routed
through the same connection. This example assumes no network node
server is used.
- Click on the Advanced push button. The Communications
Manager Profile List window opens. Subsequent steps begin from this
window. You will return to this window when each of the following steps
are completed.
![Communications Manager Profile List window](00002689.gif)
|
Step 3.
| Prepare a LAN DLC profile.
- On the Profile List window, select the DLC - Token ring or other LAN
Types Adapter Parameters option and click on the Configure
push button. The Token Ring or Other Lan Types Adapter Parameters
window opens.
- Enter your Network ID ((1)) in the Network ID
field.
- Click OK.
|
Step 4.
| Update the SNA local node characteristics.
- On the Profile List window, select the SNA local node
characteristics option and click on the Configure push
button. The Local Node Characteristic window opens.
- Enter your Network ID ((1)) in the Network ID
field.
- The Local node name ((2)) was probably set when CS/2 was
installed. If you are not sure, consult your local network
administrator.
- Enter your Node ID ((3)) in the Local node ID (hex)
field.
![Figure 00002674 not displayed.](00002674.gif)
|
The first part should be filled in for you already when you display the
profile. You only need to complete the second part.
|
- Click OK.
|
Step 5.
| Set SNA features.
- In the Profile List window, select the SNA features option and
click on the Configure push button. The SNA Features List
window opens. Subsequent steps begin from this window.
![SNA Features List window.](00002703.gif)
|
Step 6.
| Prepare a local LU profile.
If the DB2 workstation is defined as an independent LU, prepare a Local LU
Profile by performing the following steps:
- In the SNA Features List window, select Local LUs->Create from
the action menu bar.
- Enter your Local LU name ((4)) in the LU name
field.
- Enter your Local LU alias ((5)) in the alias
field.
- Select the Independent LU radio button in the NAU
address box.
- Click OK.
|
Step 7.
| Prepare a mode definition.
- From the SNA Features List box, select the Modes option and
click on the Create push button. The Mode Definition window
opens.
![Mode Definition Window](00002704.gif)
- Enter your Mode name ((6)) in the mode name
field.
- For the other fields, you can either specify values that match the mode
profile defined on your server systems, or tune the parameters.
- Click OK to finish the creation of the mode and to return to
the SNA Features List panel.
|
Step 8.
| Define a transaction program name.
- From the SNA Features List panel, double-click on Transaction Program
Definitions. The Transaction Program Definition window
opens.
- Specify your transaction program name ((8)) in the Transaction
program (TP) name field.
- Enter any string, for example, notused, in the OS/2
program path and file name field. This field will not be used to
determine the actual transaction program location, but must be filled to
continue with the configuration steps.
- Select the Conversation security required check box.
- Click on the Continue push button. The Additional TP
Parameters window opens.
- Select the Background radio button from the Presentation
type group.
- Select the Queued, operator preloaded radio button from the
Operation type group.
- Click OK to finish the TP name definition and return to the SNA
Features List panel.
|
Step 9.
| Define conversation security.
- From the SNA Features List panel, double-click on
Security. The Conversation Security window opens.
- Select the Utilize User Profile Management check box.
- Click on the Add push button.
- Click OK to finish the conversation security definition and
return to the SNA Features List panel.
|
Step 10.
| Save the configuration.
- Click on the Close button to return to the Communication Server
Configuration Definition window.
- Click on the Close button to automatically verify and save the
new configuration file, and leave the configuration windows.
- Stop and start Communications Server. Select Stop
Communications Normally->Start Communications.
|
You have now finished setting up your workstation for inbound APPC
communications.
This section describes how to configure IBM eNetwork
Personal Communications for Windows NT (PCOMM/NT) to accept inbound APPC
client connections.
Before you begin, ensure that the IBM eNetwork Personal Communications
software you installed:
__ 1.
| Is Version 4.30 or higher.
|
__ 2.
| Has the LLC2 driver installed from the IBM Communications Server
installation directory. To confirm this, perform the following
steps:
Step a.
| Click on Start and select Settings->Control
Panel.
| Step b.
| Double-click on the Network icon. The Network window opens.
| Step c.
| In the Network window, click on the Protocols tab.
| Step d.
| Verify that IBM LLC2 Protocol is one of the protocols
listed. If it is not, you need to install this protocol from your IBM
Personal Communications for Windows NT software. Refer to its
documentation for instructions.
|
|
For more information on setting up your environment, refer to the online
help supplied with PCOMM/NT or to the following publications:
- Connectivity Supplement
- DRDA Connectivity Guide
The following assumptions have been made:
- The basic installation of the PCOMM/NT package has already been
completed.
- DB2 Connect or DB2 Universal Database has been installed.
Use the Your Value entries from the worksheet in Table 25 to complete the steps below.
To start IBM Personal Communications, complete the following steps:
Step 1.
| Click Start and select Programs->IBM Communications
Server->SNA Node Configuration. The Personal Communications SNA
Node Configuration window opens.
![Configuration Window](00002705.gif)
|
Step 2.
| Select File->New from the menu bar. The Define the Node
window opens. Subsequent steps will begin from this window.
|
To configure APPC communications, perform the following steps:
Step 1.
| Configure the Node.
- In the Configuration options box, select Configure
Node, then click on the New push button. The Define
the Node window opens.
- In the Fully qualified CP name fields, type in your Network ID
((1)) and Local Control Point name ((2)).
- Optionally, in the CP alias field, type in a CP alias.
If you leave this blank the Local Control Point name ((2)) will be
used.
- Enter your Node ID ((3)) in the Local Node ID
fields.
- Click on OK.
|
Step 2.
| Configure the device.
- In the Configuration options box, select Configure
devices.
- Select the appropriate DLC from DLCs field. These
instructions use the LAN DLC.
- Click on the New button. The appropriate window opens
with default values displayed. In this case, the Define a LAN device
window opens.
- Click OK to accept the default values.
|
Step 3.
| Configure Modes.
- In the Configuration options box, select Configure
modes, then click on the New push button. The Define a
Mode window opens.
- Enter your Mode name ((6)) in the Mode name field of the
Basic tab.
- Select the Advanced tab.
- Select #CONNECT from the Class of Service Name
field.
- Click OK.
|
Step 4.
| Configure Local LU 6.2.
- In the Configuration options box, select Configure Local
LU 6.2, then click on the New button. The
Define a Local LU 6.2 window opens.
- Enter your Local LU name ((4)) in the Local LU name
field.
- Type in a value for the LU session limit field. The
default, 0, specifies the maximum allowed value.
- Accept the defaults for the other fields and click on
OK.
|
Step 5.
| Create a service Transaction Program.
- In the Configuration options field, select Configure
Transaction Programs.
- Click on the New push button. The Define a Transaction
Program window opens.
- Select the Basic tab.
- Specify a service TP ((7)) in the TP name field.
- Select the Advanced tab.
- Change the default in the Receive Allocate timeout field to
0 (no timeout).
- Accept the defaults for the other fields and click on
OK.
|
Step 6.
| Create an Application Transaction Program.
- In the Configuration options field, select Configure
Transaction Programs, then click on the New button.
The Define a Transaction Program window opens.
- Select the Basic tab.
- Clear the Service TP check box.
- Specify an application TP name ((8)) in the TP name
field.
- Select the Background Process check box.
- Select the Advanced tab.
- Change the default in the Receive Allocate timeout field to
0 (no timeout).
- Accept the defaults for the other fields.
- Click OK.
|
Step 7.
| Save the configuration.
- Select File->Save As. The Save As window opens.
- Type in a file name, for example ny3.acg, and click
OK.
- In the window that opens, you are asked if you want this configuration to
be the default. Click on the Yes push button.
|
Step 8.
| Update the environment.
IBM Personal Communications uses an environment variable called APPCLLU to
set the default Local LU used for APPC communications. You may set this
variable on a per-session basis by opening a command window and entering
set appcllu=local_lu_name, where local_lu_name
represents the name of the local LU you want to use.
However, you will probably find it more convenient to permanently set the
variable. To permanently set the variable in Windows NT, complete the
following steps:
- Click on Start and select Settings->Control
Panel.
- Double-click on the System icon. The System Properties
window opens.
- Select the Environment tab.
- Enter appcllu in the Variable field.
- Enter your local LU name ((4)) in the Value
field.
- Click on the Set push button to accept the changes.
- Click OK to exit the System Properties window. The
environment variable will now remain set for future sessions.
|
Step 9.
| Start SNA Node Operations.
- Click Start and select Programs->IBM Personal
Communications->Administrative and PD Aids->SNA Node Operations.
The Personal Communications SNA Node Operations window opens.
![Personal Communications SNA Node Operations Window](00002706.gif)
- From the menu bar, select Operations->Start Node.
- In the window that opens, select the configuration file you saved in the
previous step (for example, ny3.acg) and click
OK.
|
You have now finished setting up your workstation for inbound APPC
communications.
This section describes how to configure your Microsoft
SNA Server 4.0 to accept inbound APPC client connections.
If you wish to use DB2's Multisite Update feature with this product,
your minimum requirement is Microsoft SNA Server Version 4 Service Pack
3. For more information about multisite updates, refer to DB2 Connect User's Guide.
For more information on setting up your environment, refer to the online
help supplied with SNA Server, or to the following publications:
- Connectivity Supplement
- DRDA Connectivity Guide
The following assumptions have been made:
- The basic installation of the Microsoft SNA Server 4.0 for Windows
NT package has already been completed.
- DB2 Connect or DB2 Universal Database has been installed.
Use the Your Values entries from the worksheet in Table 25 to complete the steps below.
The transaction program (TP) name required for inbound APPC connections is
automatically defined for the workstation when the SNA Server is
installed. These instructions describe the remaining steps required to
configure your APPC communications for inbound connections.
You can define the properties of your SNA connections in the Microsoft SNA
Server Manager. The Server Manager uses an interface similar to that of
the Windows NT. The following figure shows the interface. There
are two panes in the main window of the Manager. All the required
configuration options can be accessed by right-clicking on objects in the
left-hand pane of the window. Every object has a context menu that you
can access by right-clicking on the object.
![The Microsoft SNA Server Manager](00002707.gif)
To configure APPC communications for inbound connections using Microsoft
SNA Server Manager, perform the following steps:
Step 1.
| Start the Server Manager by clicking on Start and selecting
Programs->Microsoft SNA Server->Manager.
|
Step 2.
| Define the control point name.
- Click on the [+] sign beside the Servers
folder.
- Right-click on the SNA Service folder and select the
Properties option. The Properties window opens.
- Enter your Network ID ((1)) in the NETID field.
- Enter your local Control Point name ((2)) in the Control Point
Name field.
- Click OK.
|
Step 3.
| Define a local LU.
- Right-click on the SNA Service icon and select the
Insert->APPC->Local Lu option. The Local APPC LU Properties
window opens.
- Enter the following information:
- The LU alias ((5)).
- The NETID((1)).
- The LU name ((4)).
- Select the Advanced tab.
- Select the Member of Default Outgoing Local APPC LU Pool
option. Accept the other defaults.
- Click OK.
|
Step 4.
| Define a mode.
- Right-click on the APPC Modes folder, and select the
Insert->APPC->Mode Definition option. The APPC Mode
Properties window opens.
![APPC Mode Properties - General](00002708.gif)
- Enter the Mode Name (6) in the Mode Name field.
- Select the Limits tab.
- Enter appropriate numbers in the Parallel Session Limit and
Minimum Contention Winner Limit fields. Your Network
Administrator can supply you with the numbers if you do not know the limits
you should place here.
- Accept the other defaults, and click OK.
|
Step 5.
| Save the configuration.
- Select File->Save File in the Server Manager window. The
Save File window opens.
- Type a unique name for your configuration into the File Name
field.
- Click on the Save button. Your configuration is now
saved.
|
You have now finished setting up your workstation for inbound APPC
communications.
This section describes how to configure your Solaris
server to accept inbound APPC client connections. Before you begin,
ensure that your workstation has SunLink SNA PU 2.1 Server for Solaris
installed. For more information on setting up your environment, refer
to:
- Connectivity Supplement
- DRDA Connectivity Guide
- SunLink PU 2.1 Server Configuration and Administrator's
Manual..
The following assumptions have been made:
- The basic installation of the SunLink SNA PU 2.1 Server for Solaris
package has already been completed.
- DB2 Connect or DB2 Universal Database has been installed.
- The user is logged on as root.
Use the Your Value entries from the worksheet in Table 25 to complete the steps below.
To configure the SunLink SNA PU 2.1 Server to accept inbound APPC
connections, log on as root and edit or create the Server configuration
file. This file is called sunpu2.config, and must be
placed in /opt/SUNWpu21, or the directory where SunLink SNA PU
2.1 Server is installed.
The example below shows the configuration file sections required for
configuring the server to accept inbound APPC client connections. Other
sections that are not shown are required for establishing server to host
connections.
// SunLink SunLU6.2/SunPU2.1 SNA Server Sample Configuration
// Token Ring Peer-to-Peer System A @(#)sunlu62.a.tr
//
// The physical connection is a Token Ring interface adapter.
CP NAME=NYX1GW // Local name (8 char max)
NQ_CP_NAME=SPIFNET.NYX1GW // Network Qualified Name
;
TRLINE NAME=MAC1 // SunLink specific name
SOURCE_ADDRESS=x'400011527509' // sysA_mac_addr for Sun machine
;
LU NAME=NYX1GW0A // Local name (8 char max)
NQ_LU_NAME=SPIFNET.NYX1GW0A // Network Qualified Name
SESS_LMT=50 // Max LU sessions
LUTYPE=6.2
;
MODE NAME=IBMRDB // Mode Name (8 char max)
DLC_NAME=NYX2 // Associated DLC
PTNR_LU_NAME=NYX2 // Associated Local LU
LCL_MAX_SESS_LMT=30 // Max Session Limit
MIN_CW_SESS=15 // Min Conwinners
MIN_CL_SESS=15 // Min Conlosers
;
// This section adds DLC for the inbound APPC client NYX2
DLC NAME=NYX2, // User defined name (8 char max)
LINK_NAME=MAC1, // Line name this station is on
LCLLSAP=x'04', // Local Link Service Access Point
RMTLSAP=x'04', // Remove Link Service Access Point
RMTMACADDR=x'400011528901', // sysB_mac_addr
TERMID=x'05d27510', // IDNUM and IDBLK = XID
MAXDATA=4096,
ACTIVITY_TIMEOUT=0,
RETRIES=20,
REPLY_TIMEOUT=20,
RESPONSE_TIMEOUT=20,
ACTPU_SUPPRESS=yes
;
// This section defines the partner LU NYX2
PTNR_LU NAME=NYX2, // Partner LU name (8 char max)
LOC_LU_NAME=NYX1GW0A, // Associated Local LU
NQ_LU_NAME=SPIFNET.NYX2 // Network Qualified Name
SEC_ACCEPT=ALREADY_VERIFIED // Accept client as already verified
;
// This section adds the TP name NYSERVER
// and associates it with the local LU NYX1GW01
TP TP_NAME=DB2DRDA, // TP Name
LOC_LU_NAME=NYX1GW0A, // Associated Local LU
CONV_TYPE=BASIC, // Conversation Type
;
//
SECURITY LOC_LU_NAME=NYX1GW0A, // Local LU Alias
USER_ID=USERID, // User id
PASSWORD=PASSWORD, // Password (since UNIX_SEC=NO)
;
When you have finished editing and saving the server configuration file,
perform the following steps:
Step 1.
| Start and stop the SunLINK subsystem
- Change to the SunLink directory, which is usually
/opt/SUNWpu21.
- Set up environment variables for FlexLM licensing. For
example:
export LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib
export LM_LICENSE_FILE=/etc/opt/licenses/licenses_combined
For more information, refer to the SunLink documentation.
- Ensure you have created the SNA server configuration file in the
/opt/SUNWpu21 directory.
- Use the sunop utility to check the status of SunLink SNA if it is already
started.
Check to see if the PU and/or DLC status is connected. Refer to the
SunLink documentation for details of the sunop utility.
- Stop SunLink if it is active. For example, enter the following
command:
kill -9 sunpu2.pid
- Start SunLink. For example, enter the following command:
sunpu2.1
|
Step 2.
| Set the following environment variables:
APPC_GATEWAY
| Name of the DB2 for Solaris server (usually the TCP/IP hostname).
| APPC_LOCAL_LU
| Name of the local LU name provided in the SNA configuration file
((4)).
|
Export these on the server machine.
|
You have now finished setting up your workstation for inbound APPC
communications.
[ Top of Page | Previous Page | Next Page ]