Configure your DB2 Connect for AIX system as follows:
smit
The next several steps begin from the Advanced Configuration panel.
The control point name was probably set when the SNA Server for AIX was installed. For OS/390, MVS, VSE, and VM, check that this value matches (11).
To minimize confusion, use the same value for the control point alias as for the control point name.
For example, the panel could look like this:
Change / Show Control Point Profile *Profile name node_cp XID node ID [07127509] (14)+(15) Network name [SPIFNET] (10) Control Point (CP) name [NYX1] (11) Control Point alias [NYX1] (12) Control Point type appn_end_node Maximum number of cached routing trees [500] Maximum number of nodes in the TRS database[500] Route addition resistance [128]
Write down the profile name (9).
For example, the profile might look like this:
Add Token Ring SNA DLC Profile
*Profile name [tok0.00001] (9)
Data link device name [tok0]
Force disconnect time-out (1-600 seconds) [120]
User-defined maximum I-Field size? no
If yes, Max. I-Field size (265-30729) [30729]
Dynamic link stations supported? yes
*Profile name [IBMRDB] (16) Mode name [IBMRDB] (16) Maximum number of sessions (1-5000) [30] (*) Minimum contention winners (0-5000) [15] (*) Minimum contention losers (0-5000) [15] (*) Auto activate limit (0-500) [0] Upper bound for adaptive receive pacing window [16] Receive pacing window (0-63) [8] (*) Maximum RU size (128,...,32768: multiples of 32) [4096] (*) Minimum RU size (128,...,32768: multiples of 32) [1024] (*) Class of Service (COS) name [#CONNECT]
Add LU 6.2 Local LU Profile
*Profile name [NYX1GW01] (12)
Local LU name [NYX1GW01] (12)
Local LU alias [NYX1GW01] (13)
Local LU is dependent? no
If yes,
Local LU address (1-255) []
System services control point
(SSCP) ID (*, 0-65535) [*]
Link Station Profile name []
Conversation Security Access List Profile name []
Before using this section, be sure that you have completed the worksheet Table 17 for each OS/400, OS/390, MVS, VM, or VSE host, plus the worksheet Table 46 for each OS/400 host.
Configure each DRDA server connection that you require as follows:
*Profile name [NYX1LS] (7) Use Control Point's XID node ID? yes
SNA DLC Profile name [tok0.00001] (9) Stop link station on inactivity? no
If link_address, Remote link address [400009451902] (8) Remote SAP address (04-ec) [04]
Adjacent Node Identification Parameters Verify adjacent node? yes (*) Network ID of adjacent node SPIFNET (3) CP name of adjacent node NYX (4) XID node ID of adjacent node (LEN node only) [*] Node type of adjacent node appn_end_node (*) Link Activation Parameters Solicit SSCP sessions? yes Initiate call when link station is activated? yes Activate link station at SNA start up? no (*) Activate on demand? yes (*) CP-CP sessions supported? yes If yes, Adjacent network node preferred server? no Partner required to support CP-CP sessions? no Initial TG number (0-20) [1] (*)
Use the value from (18) on the worksheet, or enter the default value. If the value is hexadecimal, specify yes for the second line; otherwise, specify no.
For example, the file could look like this:
Add LU 6.2 Side Information Profile
*Profile name [DB2CPIC] (17)
Local LU or Control Point alias [NYX1GW01] (12)
Provide only one of the following:
Partner LU alias
Fully qualified partner LU name [SPIFNET.NYM2DB2] (1.2)
Mode name [IBMRDB] (6)
Remote transaction program name (RTPN) [07F6C4C2] (18)
RTPN in hexadecimal? yes
Note that if you are retrieving information about this server from the DCE Directory, then you do not need to have the Side Information Profile. More information about configuring DB2 Connect with DCE is provided in the Administration Guide, and DB2 Connect User's Guide.
For example, the file could look like this:
Add Partner LU 6.2 Location Profile *Profile name [NYM2DB2] (2) Fully qualified partner LU name [SPIFNET.NYM2DB2] (1.2) Partner LU location method owning_cp If owning_cp, Fully qualified owning Control Point (CP) name[SPIFNET.NYX] (3.4) Local node is network server for LEN node? no
Configure your DB2 Connect server to accept inbound APPC requests from remote clients as follows:
*Profile name [db2v5] (*)
Transaction program name (TPN) [NYSERVER](27)
Transaction program name (TPN) is in hexadecimal? no
PIP data? no
If yes, Subfields (0-99) [0]
Conversation type basic (*)
Sync level none/confirm
Resource security level none
If access, Resource Security Access List Prof. []
Full path to TP executable [INSTHOME/sqllib/bin/db2acntp](*)
Multiple instances supported? yes (*)
User ID [1918] (*)
Server synonym name []
Restart action once
Communication type signals
If IPC, Communication IPC queue key [0]
Standard input file/device [/dev/console]
Standard output file/device [/dev/console]
Standard error file/device [/dev/console]
Comments []
Notes:
update database manager configuration using tpname NYSERVER
The name NYSERVER is the TP name for the DB2 server.
db2stop
db2start