HP-UX SNAplus2 R7 APPC Application Suite User's Guide

APPC Application Suite for HP-UX Programs
Conguring Your System for APPC Application Suite
To establish an
APING
session with the partner LU specied in the side information record that has the
symbolic destination name FRED, enter the following command:
aping FRED
ANAME
alias
You can supply the partner LU name by specifying an
ANAME alias as a destination name. This alias refers
to a specic LU within the SNA network.
For example, enter the following command to associate the
ANAME alias called
max with the local control
point LU:
aname reg -u max
Enter the following command to establish an
APING session with the LU associated with the user called max:
aping max
For more information about
ANAME, see Section 4.2, Using ANAME.
Destination Names Search Order
The application searches for destination names in the following sequence:
1. Fully qualied partner LU name (FQPLU)
If the destination name contains a period (.), the application interprets it as an FQPLU. If the application cannot
locate the FQPLU, it does not continue to try to connect to any other LUs.
2. CPI-C symbolic destination name
If the destination name does not contain a period (.), the application tries to locate a CPI-C symbolic destination
name with that name.
3.
ANAME
alias
If the application cannot locate a CPI-C symbolic destination name that matches the destination name you
entered on the command line, it tries to obtain the
ANAME alias from the
ANAME provider program (
ANAMED).
For more information about how the application obtains the alias from the
ANAME record, see Section 4.3, Lo-
cating an ANAME Alias Using the ANAMED Provider Program.
If these three methods fail, the application returns an error.
Conguring Provider Programs (Applications)
For a requester program to communicate with a provider program, SNAplus2 or one of its clients must automatically
start the provider program (also known as an invokable TP) when required. Refer to the HP-UX SNAplus2
Administration Guide for more information about conguring invokable TPs.
The asuite.tps le (stored in the /etc/opt/sna directory) is included with the APPC Application Suite
and provides the standard conguration for the provider programs (
AFTPD, ATELLD, AREXECD, and
ANAMED) on the
server and on HP-UX clients. You can use this le directly with the snatpinstall program, or (on the server)
you can congure the equivalent settings in the Motif administration program. For Windows clients, refer to the
HP-UX SNAplus2 Administration Guide in order to create an equivalent conguration le.
By default, the provider programs run with the user ID nobody. If you need to run the provider programs with
user ID root, in order to use features that are available only to a System Administrator, the permissions of the
provider programs must be changed to add the set-group-ID bit. For example to run
AREXECD with root privilege,
change the USERID entry in the asuite.tps le to root, and issue the following command:
chmod +s /opt/sna/bin/arexecd
13