04.04.2013 Views

Addressing OLTP Solutions with CICS: The Transaction Server ... - Ibm

Addressing OLTP Solutions with CICS: The Transaction Server ... - Ibm

Addressing OLTP Solutions with CICS: The Transaction Server ... - Ibm

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

for OS/2 system. When the client process is started on the client, flows that start<br />

the initialization transaction (CCIN) are sent to the server. This transaction is<br />

responsible for performing an autoinstall of the appropriate CD entry for the<br />

<strong>CICS</strong> Client for OS/2 system. After the CCIN has run, all further requests are the<br />

ECI, EPI, or cicsterm request, depending on the type of client.<br />

4.5.1.1 TCP/IP Connection<br />

<strong>The</strong> <strong>CICS</strong> for AIX region must have a listener definition (LD) entry defined as an<br />

additional method to listen for incoming requests from the <strong>CICS</strong> Client for OS/2<br />

across the TCP/IP network. <strong>The</strong> Protocol attribute in the LD entry should be set<br />

to TCP. <strong>The</strong> cicsip listener process is started at region startup. It listens on a<br />

TCP/IP port. <strong>The</strong> standard default port number is 1435. If you choose to use a<br />

nonstandard port, you must add an entry to the /etc/services file.<br />

<strong>The</strong> CD model used by CCIN for autoinstall must have the ConnectionType<br />

attribute set to cics_tcp for the <strong>CICS</strong> family TCP/IP support.<br />

<strong>The</strong> optimum number of connections simultaneously active through a single port<br />

is about 200, and the maximum is about 450 connections. Each time a <strong>CICS</strong><br />

Client for OS/2 connects to the <strong>CICS</strong> for AIX server, a thread is started in cicsip<br />

and a connection is established. If you need more than 450 connections, there<br />

are two choices:<br />

• Add a new adapter card to the machine<br />

This increases the adapter bandwidth. <strong>The</strong> port address is the same for all<br />

of the client systems, but the server Internet address is different. Two LDs<br />

are configured—one to listen exclusively on one network adapter and one to<br />

listen on the other. <strong>The</strong> TCPAddress attribute in the LD is used to specify<br />

the server Internet address.<br />

• Use a second port<br />

<strong>The</strong> Internet address of the <strong>CICS</strong> for AIX server machine remains the same,<br />

but the port address is different. <strong>The</strong> TCPAddress attribute in the LD is left<br />

blank, and port addresses are explicitly defined.<br />

If your <strong>CICS</strong> for AIX server machine manages many TCP/IP connections, it may<br />

run out of space in the mbuf pool (an area of memory allocated by TCP/IP when<br />

AIX is initialized). You can check the size by noting the value of thewall in the<br />

output of the no -a command. <strong>The</strong> default size of thewall is 2 MB, which<br />

supports up to about 800 <strong>CICS</strong> family TCP/IP connections. If you have to support<br />

more than 800 connections, you have to increase the value of thewall<br />

accordingly.<br />

4.5.1.2 SNA Connection<br />

<strong>The</strong> <strong>CICS</strong> for AIX region must have an LD entry defined as an additional method<br />

to listen for incoming requests from the <strong>CICS</strong> Client for OS/2 across the SNA<br />

network. <strong>The</strong> Protocol attribute in the LD entry should be set to SNA. <strong>The</strong> cicssl<br />

listener process is started at region startup. <strong>The</strong> CD model used by CCIN for<br />

autoinstalling the client must have the ConnectionType attribute set to local_sna.<br />

<strong>The</strong> initial planning effort lies in the tailoring of the supported SNA product that<br />

provides the underlying SNA services to be used by the <strong>CICS</strong> for AIX region.<br />

IBM SNA <strong>Server</strong> for AIX Version 3.1 is an example of a supported SNA product.<br />

For more detail refer to <strong>CICS</strong> on Open Systems Intercommunication Guide,<br />

SC33-1564-01, and SNA <strong>Server</strong> for AIX: Planning and Performance Guide,<br />

SC31-8220.<br />

Chapter 4. Using <strong>CICS</strong> Clients 61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!