IBM Communications Server For Data Center Deployment V7.0: Paper
IBM Communications Server For Data Center Deployment V7.0: Paper
IBM Communications
Server for Data Center
Deployment V7.0
Deployment on AIX, Linux, and Linux on
System z
Jeff L. Smith
Edward Burr
Achim Tepper
ibm.com/redbooks Redpaper
International Technical Support Organization
September 2013
REDP-4998-00
Note: Before using this information and the product it supports, read the information in “Notices” on page v.
This edition applies to IBM Communications Server for Data Center Deployment V7.0.
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Now you can become a published author, too! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Stay connected to IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
How to get Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area. Any
reference to an IBM product, program, or service is not intended to state or imply that only that IBM product,
program, or service may be used. Any functionally equivalent product, program, or service that does not
infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to
evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The
furnishing of this document does not grant you any license to these patents. You can send license inquiries, in
writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may make
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time
without notice.
Any references in this information to non-IBM websites are provided for convenience only and do not in any
manner serve as an endorsement of those websites. The materials at those websites are not part of the
materials for this IBM product and use of those websites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring
any obligation to you.
Any performance data contained herein was determined in a controlled environment. Therefore, the results
obtained in other operating environments may vary significantly. Some measurements may have been made
on development-level systems and there is no guarantee that these measurements will be the same on
generally available systems. Furthermore, some measurements may have been estimated through
extrapolation. Actual results may vary. Users of this document should verify the applicable data for their
specific environment.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm the
accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the sample
programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore,
cannot guarantee or imply reliability, serviceability, or function of these programs.
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:
AIX® Redbooks® System p®
IBM® Redpaper™ System z®
Rational® Redbooks (logo) ® VTAM®
Intel, Intel logo, Intel Inside logo, and Intel Centrino logo are trademarks or registered trademarks of Intel
Corporation or its subsidiaries in the United States and other countries.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft, Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States,
other countries, or both.
Java, and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its
affiliates.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, or service names may be trademarks or service marks of others.
This IBM® Redpaper™ publication will guide the user through the installation, configuration,
and administration of IBM Communications Server for Data Center Deployment V7.0. It is not
intended to be all-inclusive. Rather, it builds on previous publications referenced throughout
the document. The focus is on the consolidation of IBM Systems Network Architecture (SNA)
resources, key features and functions available in IBM Communications Server for Data
Center Deployment, and the Web Administration package specific to the Linux platform.
Authors
This paper was produced by a team of specialists from around the world working at the
International Technical Support Organization (ITSO), Raleigh Center.
Find out more about the residency program, browse the residency index, and apply online at:
ibm.com/redbooks/residencies.html
Comments welcome
Your comments are important to us!
We want our papers to be as helpful as possible. Send us your comments about this paper or
other IBM Redbooks publications in one of the following ways:
Use the online Contact us review Redbooks form found at:
ibm.com/redbooks
Send your comments in an email to:
[email protected]
Mail your comments to:
IBM Corporation, International Technical Support Organization
Dept. HYTD Mail Station P099
2455 South Road
Poughkeepsie, NY 12601-5400
Preface ix
x IBM Communications Server for Data Center Deployment V7.0
1
This allows IBM Systems Network Architecture (SNA) to be configured and managed in a
more central location, reducing the cost of administration and concentrating SNA resources.
The goal of the data center deployment model is to provide a cloud-like implementation, in
which the SNA resources are shared across servers to provide redundancy and high
availability.
This approach is described in SNA Modernization Strategy for Access Node Connectivity,
REDP-4871:
http://www.redbooks.ibm.com/abstracts/redp4871.html?Open
http://www.redbooks.ibm.com/abstracts/sg245947.html?Open
The differences between Communications Server for AIX and CS Linux are minor. The
directory paths and a few messages are different, but they are 99% the same product. This
section provides installation, configuration, and diagnostic information to help you implement
a CS Linux domain for the remote application programming interface (API) clients.
In this section, we describe how to install, configure, and diagnose CS Linux. The
Communications Server for AIX is much the same code. There are a few exceptions:
Some directory paths
Some installation steps
Some established function parameters that AIX contains that Linux does not
Whenever the CS Linux function is described in this paper, the Communications Server for
AIX version will either be the same, or there will be a slight difference in platform-specific
implementation (for instance, directory paths might be different).
For Intel and System p platforms, Linux supports a power management feature. This can
disable some hardware functions (spin down drivers, some CPUs, and so on) to save power
on system resources. CS Linux, however, requires the hardware to be active full time.
Before installing CS Linux, you need to check whether your Linux machine includes some
form of Advanced Power Management (APM) features. If it does, you should ensure that
these features are disabled. As an example, to remove the APM feature from your PC, use
the following command:
rpm -e apmd
export LANG=<language>
Replace <language> with the identifier for the language that you want to use, which can be
one of the following options (shown in Table 2-1).
For full details of the software packages required, and step-by-step instructions for installing
them, see the readme file on the CS Linux CD. Note that some packages are 32-bit and some
are 64-bit, and both packages are sometimes needed on 64-bit systems.
Pay special attention to the installation of the prerequisite open source package, Linux
Streams, described in 2.1.5, “Examples”. Follow the instructions to install and build the LiS
package.
2.1.5 Examples
The following screen captures show an example of typical steps to install CS Linux:
1. Install the Linux Streams LiS-2.19.0 package, and then apply the LiS-2.19.0-CS7000
patch file, as shown in Figure 2-1.
3. After the installation is finished, you should see the following message, as shown in
Figure 2-3:
BuildLiS done, no errors reported
– Specify the name of the server that will be the master server in the CS domain.
If you want to run CS Linux as a stand-alone node, do not specify this parameter (just
press Enter).
3. If you need to perform an unattended installation, you can provide additional parameters
on the installibmcs command to confirm acceptance of the CS Linux license terms, and
to specify the name of the master server. In this case, the shell script will run without
prompting for any additional information. Use the following command:
./installibmcs license_accepted <master_name>
In this example, <master_name> is the name of the master server. Again, if you want to
run CS Linux as a stand-alone node, do not specify this parameter, and the node will not
support client/server functions.
Notes:
Regardless of whether you perform an attended or unattended installation, the
installation process does not allow you to configure the domain name. Therefore, the
default domain name of ibmcs_domain will be used. If you do not want to use the
default domain name, do not specify a master server at this time. Instead, use the
snanetutil command, as described in 2.2, “Configuring CS Linux” on page 9, to set
the master server and domain name.
Installing CS Linux automatically reconfigures the IBM Systems Network
Architecture (SNA) device drivers on the local node. If you are installing on a
computer with limited memory (for instance, only 64 MB), you might need to reboot
after installing CS Linux before the SNA node can be started.
You can install adapters after CS Linux is installed. You do not need to reinstall
CS Linux after adding an adapter.
3. CS Linux starts with an empty configuration. If an X Window System GUI is available, you
should use the xsnaadmin GUI application as referenced in IBM Communications Server
for AIX, V6: New Features and Implementation Scenarios, SG24-5947. If a command line
is all that is available, use the following snaadmin commands to define the initial SNA node
configuration:
snaadmin define_node, cp_alias=server1, fqcp_name=appn.server1
snaadmin define_ip_dlc, dlc_name=IPDLC
snaadmin define_ip_port, port_name=IPPORT, dlc_name=IPDLC
snaadmin define_ip_ls, ls_name=LSPORT, port_name=IPPORT, initially_active =
YES, remote_ip_host=10.10.18.11
However, if this is not possible, you can minimally define a node as an end node (default),
so that it will at least start and connect to a partner node.
4. To configure each server other than the master server as a backup server, enter the
following command:
snaadmin add_backup, backup_name=<server_name>
In this example, <server_name> is the name of the server that you want to add as a
backup server.
You can run this command on the backup server, or on the master server, but the
CS Linux software must be running on the master server in either case.
5. Server information is stored in the /etc/sna/sna.net file on AIX, and in the
/etc/opt/ibm/sna/sna.net file on Linux.
2.3.2 Tracing
In case of a problem, you might be advised by support personnel to take traces:
1. Start the traces with the following commands:
snaadmin set_log_type,audit=YES
snaadmin
set_trace_file,trace_file_type=CS,trace_file_size=10000000,file_name=filename
The default file size is one file with 10 MB. The default file name is /var/sna/snacs1.trc
on AIX, and /var/opt/ibm/sna/snacs1.trc on Linux.
snaadmin set_trace_type,trace_flags=SLIM+APPC+NOF+LUA
This is a minimum. You can also just specify ALL to get every trace point.
snaadmin set_cs_trace,trace_flags=ALL
snaadmin add_dlc_trace
This will record the link in addition to the client/server connection.
2. Re-create the problem, or wait until it recurs, and then stop the traces:
snaadmin set_trace_type,trace_flags=NONE
3. In addition, run either of the following commands:
snagetpd -q /tmp/filename
or
snaadmin remove_dlc_trace
The Microsoft Windows client has been tested with the following Windows operating system
versions:
The Windows 32-bit client runs on a 32-bit, Intel based computer running Windows 2003,
Windows XP, 32-bit Windows Vista, 32-bit Windows Server 2008, 32-bit Windows 7, or
32-bit Windows 8.
The Windows 64-bit client runs on an AMD64 or Intel EM64T computer running Microsoft
Windows 2003 Server x64 Edition, Windows XP Professional x64 Edition, 64-bit Windows
Vista, Windows Server 2008 R2, Windows 7 x64, or Windows 8 x64.
The Linux client has been tested with the following Linux operating system versions. It might
also run satisfactorily on other Linux distributions:
Red Hat Enterprise Linux 5 (RHEL5)
Red Hat Enterprise Linux 6 (RHEL6)
SUSE Linux Enterprise Server 10 (SLES10)
SUSE Linux Enterprise Server 11 (SLES11)
The Linux client for System z has been tested with the following Linux operating system
versions. It might also run satisfactorily on other Linux distributions:
Red Hat Enterprise Linux 5 for System z (RHEL5-s390x)
Red Hat Enterprise Linux 6 for System z (RHEL6-s390x)
SUSE Linux Enterprise Server 10 for IBM mainframes (SLES10-s390x)
SUSE Linux Enterprise Server 11 for IBM mainframes (SLES11-s390x)
Silent installation
The IBM Remote API Client on Windows installation package can be extracted into a
temporary directory. You can then start the setup.exe file with parameters to configure the
domain, servers, and other connection parameters in one step.
For details about the parameter settings for the command-line installation, see the section on
installing IBM Remote API Client software from the command line in the IBM
Communications Server for Data Center Deployment on Linux, Quick Beginnings manual.
The following script starts an unattended install of Remote API Client for Windows on a
remote system, as shown in Example 3-1.
2. In the registry, the information is contained in values configured under subkeys of the
following key:
\\HKEY_LOCAL_MACHINE\SOFTWARE\SNA Client\SxClient\Parameters
Key 'Servers'
"Server1"="dicsr2.rtp.raleigh.ibm.com"
"Server2"="dicsr1.rtp.raleigh.ibm.com"
3. The Client Monitor places an icon in the system tray that displays the client’s status when
you move the mouse pointer over it. The Client Monitor shows one of the following
statuses:
– Not Active. The client has not been started.
– Not Connected. The client has been started, but has not yet made contact with a
server (or has lost contact).
– <Server_Name>. The client is connected to the named server.
4. The Client Monitor is set up to run automatically when the computer starts, but you can
also run it manually in either of the following ways:
– From the Start menu, choose Client Monitor from the Remote API Client on Windows
program group.
– From a command prompt, change to the directory where the client software is installed,
and run the sxclappl command.
5. The Client Monitor normally displays information in the language that you selected when
you installed the client software. If you prefer to see this information in a different
language, you can do so by starting the Client Monitor from a command prompt:
a. Change to the directory where the client software is installed, and then to the
subdirectory corresponding to your preferred language.
b. Run the sxclappl command. For example, to see the information in French, run the
sxclappl command from the fr_FR subdirectory below the directory where the client
software is installed.
You might need to use the environment variable if you are using Windows Terminal Server,
and you need to run multiple copies of the same application using different local LUs. The
definition of a transaction program (TP), which is invoked by a call from a partner LU, is in the
Windows registry. The registry key is in the following format:
\\HKEY_LOCAL_MACHINE\SOFTWARE\SNA Client\SxClient\Parameters\<MyExeName>
In this case, <MyExeName> is the file name of the program without the .exe extension.
The APPCLLU and APPCTPN environment variable values under this registry key specify the local
LU alias and the executable file.
For instance, to have the myApp application set to use LU ATCLU01, use a script, such as the
script shown in Example 3-3.
This is also a solution if the application does not propagate a definite LU or an LU alias, and
therefore is using the control program (CP) LUname of the server. Instead of setting the
registry values, you can also use the following environment variables:
APPCTPN="myApp.exe"
APPCLLU=ATCLU01
If the Remote API Client runs in a Terminal Server environment, this setting might also help.
Each Terminal Server has one Remote API Client, but each client that logs in should have the
APPCLLU environment variable set to the LU alias for the LU assigned to that user.
For instance, the user John might have the LU NETA.JOHN1, which has the LU alias of john.
The environment variable for John’s login session on the Terminal Server should be
APPCLLU=john (LU alias is case-sensitive).
The Remote API Client provides a sample set of TPs called the Advanced
Program-to-Program Communication (APPC) Application Suite. The IBM Communications
Server for Linux V7.0 APPC Application Suite User's Guide, SC23-8595, provides details for
the sample ASuite applications provided. The sample file is installed in
\ibmcs\w32cli\asuite.tps (Win32) or \ibmcs\w64cli\asuite.tps (Win-x64).
The TP definitions can be set using the tpinst32 command-line program. See the
appendixes in IBM Communications Server for Data Center Deployment on Linux,
Administration Guide for full details about the parameters. The tpinst32 program sets all of
the Windows registry keys as needed, and as provided by the .tps file.
Log files (sna.err, sna.aud, and sna_log.msg) are saved in the C:\IBMCS\w32cli or
C:\IBMCS\w64cli installation directory.
The snagetpd utility collects all of the Windows trace files and other Windows Client system
information, and gathers them into a single self-extracting compressed file named snapd.exe
in the installation directory.
Tracing
Either turn the trace on and off in the GUI by selecting Sxclconf Advanced (as shown in
Figure 3-1 on page 16) or by editing the registry keys.
In Example 3-5, scripts change the related registry entries to either start or stop the trace.
@ECHO OFF
REM
REM Set trace file1 and file2 to C:\ibmcs\w32cli\API_APPCx,trc, where x is file
number
REM
reg add "HKLM\SOFTWARE\SNA Client\SxClient\Parameters\API_tracing" /v file1 /f /d
"c:\ibmcs\w32cli\API_APPC1.trc"
Stop Tracing:
@ECHO OFF
REM
REM UnSet trace file1 and file2
REM
reg add "HKLM\SOFTWARE\SNA Client\SxClient\Parameters\API_tracing" /v file1 /f /d
""
REM
reg add "HKLM\SOFTWARE\SNA Client\SxClient\Parameters\API_tracing" /v file2 /f /d
""
REM
reg add "HKLM\SOFTWARE\SNA Client\SxClient\Parameters\API_tracing" /v all_api /f
/d "no"
REM
reg add "HKLM\SOFTWARE\SNA Client\SxClient\Parameters\API_tracing" /v appc /f /d
"no"
REM
Linux on System z
The installation is almost the same as the installation on Linux, with the following differences:
1. Copy, or use File Transfer Protocol (FTP) to copy, the
ibm-commserver-client-7.0.0.0-s390x.tgz file from the
/ibm-commserver-clients/linux-systemz directory on the installation CD to the Linux on
System z system. Ensure that you use binary mode to copy the file.
2. Extract the tape archive (.tar) file into an empty temporary directory:
mkdir /tmp/ibmcs
cd /tmp/ibmcs
tar —xzf ibm-commserver-client-7.0.0.0-s390x.tgz
3. From here, follow the same steps as in 3.2.1, “Installing the client” on page 20.
Before you can start the client, you need to create the file and add some mandatory
information. To do so, follow these steps:
1. Using any editor, create the /etc/opt/ibm/sna/sna_clnt.net file, and add at least the
name of your domain in the following format:
domain=ibmcs_domain
The TP definitions can be set using the snatpinstall command-line program. See the
appendixes of the IBM Communications Server for Data Center Deployment on Linux,
Administration Guide for full details of the parameters. The IBM Communications Server for
Linux V6.2 APPC Application Suite User's Guide, SC31-6772-00, provides details for the
sample ASuite applications provided. The snatpinstall command configures the settings as
needed to invoke TPs dynamically, called by partner LU applications.
The snaadmin query_node_all command returns information about nodes in the CS Linux
domain. The command returns only a list of node names and does not provide detailed
information about the node’s configuration.
The files required for any diagnostics (sna.err, sna.aud, and sna_log.msg) are saved in
the /var/opt/ibm/sna/ directory.
The snagetpd utility collects all of the trace files and other client system information, and
gathers them into a single compressed file named pd.tar.gz in the current directory.
Tracing
You might be requested by support personal to start and stop a trace:
1. Start the trace using the following command:
sna start -t
2. Re-create the problem or wait until it recurs:
sna stop
Before you can start the client, you need to create the file, and add some mandatory
information:
1. Using any editor, create the /etc/sna/sna_clnt.net file, and add at least the name of your
domain in the following format:
domain=ibmcs_domain
2. Add one or more server names:
dicsr2.rtp.raleigh.ibm.com
dicsr1.rtp.raleigh.ibm.com
3. Add the following line:
server_lost_timeout=60
4. Start the IBM Remote API Client:
cd /
sna start
After installation, the Remote API Client on AIX is started automatically when the machine
is rebooted.
5. You can check the configuration using the snaadmin query_sna_net command.
The TP definitions can be set using the snatpinstall command-line program. See the
Administration Guide for full details of the parameters. The IBM Communications Server for
Data Center Deployment on AIX or Linux APPC Application Suite User's Guide Version 7.0,
SC23-8595, provides details for the sample ASuite applications provided. The snatpinstall
command will configure the settings as needed to invoke TPs dynamically, called by partner
LU applications.
The snaadmin query_node_all command returns information about nodes in the AIX
domain. The command returns only a list of node names, and does not provide detailed
information about the node’s configuration.
The files required for any diagnostics (sna.err, sna.aud, and sna_log.msg) will be saved in
the /var/sna/ directory.
The snagetpd utility collects all of the trace files and other client system information, and
gathers them into a single compressed file named pd.tar.gz in the current directory.
Tracing
You might be requested by support personal to start and stop a trace:
1. Start a trace:
sna start -t
2. Re-create the problem or wait until it recurs:
sna stop
The host normally determines the LU model using a standard mapping from the terminal type
(device type) specified by the client. This information can also be found in
IBM Communications Server for Data Center Deployment on Linux, Administration Guide.
If you need to change the mapping between TN3270 device types and LU models, you can
use the tn3270dev.dat file. A sample version of this file is provided in /usr/lib/sna/samples
on AIX, and /opt/ibm/sna/samples on Linux.
Copy this file into /etc/sna on AIX or /etc/opt/ibm/sna on Linux, and make your changes
there using a standard ASCII text editor, such as vi. The changes will take effect the next time
that you restart Communications Server.
Each line in the file represents the mapping between a TN3270 device and the LU model
string that should be sent to the host for this device. It consists of the following entries,
separated by spaces:
The first entry is the single character Y if this mapping is for a TN3270E client (using the
TN3270 extensions), or N if it is for a standard TN3270 client.
The second entry is the terminal type (device type) specified by the client:
– This is a text string with a maximum of 40 characters.
– The valid characters are the letters A - Z, numbers zero through nine (0 - 9), the
forward slash (/), the “at” sign (@), and the hyphen (-).
The third entry is the 7-character LU model string that CS Linux sends to the host to
identify the correct LU model for this client.
The provided sample file includes mappings for 18 standard device types in both TN3270 and
TN3270E versions (36 entries in all).
Example 4-1 shows the provided sample file (/usr/lib/sna/samples/tn3270dev.dat for AIX
and /opt/ibm/sna/samples/tn3270dev.dat for Linux).
The distributed Communications Server defaults to trying to negotiate for the Progressive
ARB, and will fall back to Responsive ARB if it is not available. Responsive ARB tries to use
the hardware clock to determine transmission control.
The Rapid Transport Protocol (RTP) timers used to respond to status requests and responses
for Internet Protocol (IP)-connected sessions (EE) have defaults and ranges that provide
better recovery when packet loss is detected. The round-trip timer (RTT) and the
short-request timer (SRT) have been initialized to lower values for the start of RTP sessions,
so that responses can react faster as data transmission algorithms begin to detect overflow or
lost packets (see Table 4-1 for details).
LU alias mapping uses a new configuration file, lualiasmap.txt, in one of these directories:
The installation directory for a Windows client (for example, c:\ibmcs\w64cli)
The configuration directory for a UNIX client (/etc/sna on AIX, or /etc/opt/ibm/sna for
Linux)
This file is parsed as follows: Up to 32 text lines can be present in the file. Each line has the
following format:
<nnnnnnnn> <mmmmmmmm>
In this case, <nnnnnnnn> is the eight-character ASCII alias (padded with spaces if
necessary) provided by the Advanced Program-to-Program Communication (APPC)
application, or the Common Programming Interface for Communications (CPI-C) application,
in TP_STARTED. Also, <mmmmmmmm> is the lu_alias that is mapped to a local LU alias on
the server.
There is precisely one space between the aliases (the mapped alias must start at column 10).
Either alias can be all blank (to refer to the default LU pool or control point LU). Lines shorter
than 17 characters are padded with blanks. Characters after position 17 are ignored, and can
be used for comments. Lines beyond 32 are ignored.
Each TP_STARTED issued by the application is matched against the configured list of alias
maps until a match is found. When TP_STARTED results from the cmallc command, it is also
matched.
If you define a local LU at the server with an alias of MYLU, it will work correctly, but it can be
used with only one Remote API Client at a time.
Alternatively, you can set up a unique LU for any Remote API Client:
1. Define lualiasmap.txt on each client in the following way:
MYLUbbbb ATCLU02
2. Define a local LU ATCLU02 at the server.
Figure 4-1 is an example of the \ibmcs\w64cli\lualiasmap.txt file.
This function requires both the server and the client to be configured to support this feature. It
is primarily used to connect host applications to IBM Systems Network Architecture (SNA)
clients that might not have static Domain Name System (DNS) client names, or to clients that
appear to be mobile. The clients might actually not be mobile, but in using terminal servers,
they appear to be mobile.
For instance, if the client is running on a Windows Terminal Server farm, the actual Windows
Remote API Client for the user might not be the same from day to day. This function enables
the domain of distributed communications servers to find the current sys_name parameter of
the client dynamically.
A program temporary fix (PTF) flag definition is required to configure the server to
dynamically update the sys_name parameter for a Local LU6.2 definition with the client’s IP
host name. The new PTF flag option is in the following format:
CLI_OVERWRITE_SYS_NAME
In addition, some useful diagnostic tools for examining logs, taking traces, and capturing
problem determination data are provided. Use these tools for most normal operations, but not
for large query operations. If you need to query results for more than several hundred logical
units (LUs) or connections, use the snaadmin command-line tool through direct Telnet (TN) or
Secure Shell (SSH) connections.
The package depends on Common Gateway Interface (CGI) capabilities included with the
Perl package for Linux. You must have an Apache server or IBM HTTP Server (IHS) and the
Perl-CGI Red Hat Package Managers (RPMs) installed. The distributions tested for this
package are those supported for the CS Linux products.
You can download the WebAdmin package from the following web page:
http://www.ibm.com/support/docview.wss?uid=swg24008320
This package provides the scripts and instructions for enabling remote web browser access to
administrative functions for IBM Communications Server for Data Center Deployment.
Using a web server, such as Apache or IHS, this package provides remote access to the
administrative functions, such as query, status, start, and stop, which you normally find on the
Motif-based xsnaadmin GUI. This package is designed to provide the administrator with a
secure and safe method for remote administration of the CS Linux resources. The same
package will run on Intel, System p, and System z platforms that are supported by CS Linux.
This package uses Perl-CGI and Perl scripts to execute the administrative functions. Almost
all web browsers work well with this package. The commands that are run to query and
manage resources are found in the snaadmin command-line tool (see the section on the
Command-Line Administration program in the readme file of the WebAdmin package).
With these web interfaces, you can query any resource on the node, and get the status of
sessions, links, LUs, and node conditions.
The web pages provide the interfaces to display link, physical unit (PU), and node conditions.
You can start or stop the node, links, and PUs as needed. Host connectivity resources can be
displayed in the same manner as the command-line administration calls, with additional,
concise displays for management purposes. Enhanced displays for links, pools of LUs, PUs,
and TN3270E server sessions are available.
These files will all have bin user and sna group access rights.
Note: Take care to verify that the paths are fully provided, to ensure that rogue
execution will not be possible.
6. If pages are not properly invoked, view the /var/log/httpd/error_logs for messages.
7. Issue one of the following commands, as appropriate, to make these changes take effect
on the web server:
– /usr/sbin/apachectl restart
– /usr/sbin/apache2ctl restart
Note: On some Hypertext Transfer Protocol (HTTP) servers, you will get the following
warning messages:
The alias directive in /etc/apache2/conf.d/sna.conf at line 22 will
probably never match because it overlaps an earlier alias.
The alias directive in /etc/apache2/conf.d/sna.conf at line 40 will
probably never match because it overlaps an earlier alias.
These messages are only informational, and do not necessarily indicate a problem.
Diagnostics
The Diagnostics panel is useful in examining logs and capturing traces through a web
browser. The panel provides a view of the sna.err and sna.aud log files, or just the last 100
lines of the log files. The panel also provides links to panels for enabling the various trace
options, and you can use it to capture a snagetpd problem determination file. This will stop
traces, and gather the configuration files, logs, and system status for examination by support.
Note: It is important to notice the Diagnostics link in the left navigation panel.
Figure 5-4 shows what trace options are available for client/server traces.
The publications listed in this section are considered particularly suitable for gaining more
detailed information about the topics covered in this paper.
IBM Redbooks
The following IBM Redbooks publications provide additional information about the topic in this
document. Note that some publications referenced in this list might be available in softcopy
only:
SNA Modernization Strategy for Access Node Connectivity, REDP-4871
http://www.redbooks.ibm.com/abstracts/redp4871.html?Open
IBM Communications Server for AIX, V6: New Features and Implementation Scenarios,
SG24-5947
http://www.redbooks.ibm.com/abstracts/sg245947.html?Open
Online resources
In this IBM Redpaper publication, we refer to the following documentation:
IBM Communications Server for Data Center Deployment on Linux, Quick Beginnings
ftp://public.dhe.ibm.com/software/network/commserver/publications/csdcdv7/czx00
110.pdf
IBM Communications Server for Data Center Deployment on Linux on System z, Quick
Beginnings
ftp://public.dhe.ibm.com/software/network/commserver/publications/csdcdv7/czx00
210.pdf
IBM Communications Server for Data Center Deployment on AIX, Quick Beginnings
ftp://public.dhe.ibm.com/software/network/commserver/publications/csdcdv7/czxdy
s10.pdf
IBM Communications Server for Data Center Deployment on Linux, Administration Guide
ftp://public.dhe.ibm.com/software/network/commserver/publications/csdcdv7/czx00
410.pdf
IBM Communications Server for Data Center Deployment on Linux, Administration
Command Reference
ftp://public.dhe.ibm.com/software/network/commserver/publications/csdcdv7/czx00
310.pdf
IBM Communications Server for Linux V6.2 APPC Application Suite User's Guide
http://www.ibm.com/e-business/linkweb/publications/servlet/pbi.wss?CTY=US&FNC=S
RX&PBL=SC31-6772-00
The online documentation for Communications Server for Data Center Deployment is located
on the library reference page:
http://www.ibm.com/support/docview.wss?uid=swg27005371
http://www-01.ibm.com/support/docview.wss?uid=swg24008320
http://ibm.com/redbooks
IBM Communications
Server for Data Center
Deployment V7.0 Redpaper ™
Deployment on AIX, This IBM Redpaper publication will guide the user through the
installation, configuration, and administration of IBM Communications INTERNATIONAL
Linux, and Linux on
Server for Data Center Deployment V7.0. It is not intended to be TECHNICAL
System z
all-inclusive. Rather, it builds on previous publications referenced SUPPORT
throughout the document. The focus is on consolidation of Systems ORGANIZATION
Ability to run SNA Network Architecture (SNA) resources, key features and functions
applications via IBM available in IBM Communications Server for Data Center Deployment,
Remote API Client and the Web Administration package specific to the Linux platform.
REDP-4998-00