HP-UX SNAplus2 R7 APPC Application Suite User's Guide
ANAME
ANAME Configuration
4 ANAME
The APPC Name (
ANAME) application is a program that simplifies naming in an SNA network.
Although it is necessary to use LU names to identify a partner in a transaction program, it can be dif
ficult to
associate LU names with the names of the people or resources using those LUs.
ANAME
eliminates the user’s need
to know LU names by mapping the names to more usable nicknames (user names) that are accessible across the
network. For example, rather than using a fully qualified LU name, such as ABCDEFG.NR10691, you can map it
to a simpler user name such as PrintServer.
You can also use the group membership function of
ANAME
to categorize LUs according to common function or
group association. Users can also be associated with the transaction programs they use.
The
ANAME
program provides the following functions, which are referred to collectively as “Name Services:”
• Adding a name to the
ANAME
database
• Removing a name from the
ANAME database
• Viewing records in the
ANAME database
An
ANAME network includes one provider program
ANAMED that maintains the database and provides the services,
and one or many requester programs that request the services.
4.1 ANAME Configuration
To configure
ANAME, do the following:
• Modify the asuite.tps file (stored in the /etc/opt/sna subdirectory), which provides the standard
configuration for the provider TPs. For more information, see Section 1.2.2, Configuring Your System and
Section 1.2.2, Configuring Your System.
• Modify the sample initialization file called anamed.ini (stored in the /opt/sna/samples subdirectory).
Rename this file to .anamed and store it in the home directory of the user that is running the
ANAMED program
(this user is configured in the asuite.tps file).
• Create a side information record (see Section 4.2.2, Ensuring Name Resolution).
4.1.1 Modifying the anamed.ini Initialization File
The anamed.ini initialization file is included with the
ANAME application. Before using
ANAME, do the following:
• Provide values for the set_system_administrator LU name, (which refers to the FQLU name on the user’s
network used by the System Administrator), and set_database_path. (The set_database_path parameter
sets the directory in which the
ANAME
database is stored. The default directory is the home directory of the
ANAME user.)
• Rename the file to .anamed and copy it to the home directory of the user configured to run the provider
program.
4.1.2 Sample anamed.ini Initialization File
The initialization file is a text file that identifies the System Administrator and the database path. Modify the
sample anamed.ini initialization file as described in Section 4.1.1, Modifying the anamed.ini Initialization File.
The standard file is shown in Figure 4–1, Sample anamed.ini File.
28