The NETUtil Utility [ ALLBASE/NET User's Guide ] MPE/iX 5.0 Documentation
ALLBASE/NET User's Guide
The NETUtil Utility
ALLBASE/NET provides the NETUtil utility for creating and maintaining the
AliasDB and NETUsers files that are discussed below. For complete
descriptions of all the NETUtil commands, their syntax, and how they are
used, refer to the "NETUtil Reference" chapter.
The AliasDB and NETUsers Files
For a user to connect to a remote DBEnvironment, two files must exist:
the AliasDB file and the NETUsers file.
The AliasDB file resides on the client. The names of the server's
DBEnvironments (the remote DBEs) are contained in this file. The AliasDB
file has an alias profile for each alias name that corresponds to a
DBEnvironment. The alias profile contains the following information:
* Alias name that corresponds to a DBEnvironment on the server
* Type of database management system being used on the server
(ALLBASE/SQL)
* Fully qualified file name of the DBEnvironment on the server
* Node name of the server where the DBEnvironment is located
* Machine type of the server
* Type of data communication interface used
The NETUsers file resides on the server. It contains a user profile for
each user on the client that has access to a DBEnvironment on the server.
The user profile contains the following information:
* Client node name
* Client login name
* Server login name for the client
You use the NETUtil utility on both the client and the server to add
profiles to and maintain the AliasDB and NETUsers files. Additionally,
users of DBEnvironments can use NETUtil to display the contents of the
AliasDB file so that alias names of DBEnvironments can be checked or
confirmed.
Figure 1-2. System Administrators Using NETUtil
Creating the AliasDB and NETUsers Files
After ALLBASE/SQL has been installed on both the client and the server,
the AliasDB and NETUsers files must be created using NETUtil. Adding the
first profile to the AliasDB or NETUsers file automatically creates the
respective file. These profiles allow specified users on the client to
access particular DBEnvironments on the server.
As system administrator on the client, you invoke NETUtil and use the ADD
ALIAS command to add an alias profile to the AliasDB file. ADD ALIAS
prompts you for details about the specific DBEnvironment to be accessed.
Use ADD ALIAS to add more alias profiles to the AliasDB file as needed.
As system administrator on the server, you invoke NETUtil and use the ADD
USER command to add a user profile to the NETUsers file. ADD USER
prompts you for details about the specific user who will be accessing the
remote DBEnvironment. Use ADD USER to add more user profiles to the
NETUsers file as needed.
For step-by-step instructions to create the AliasDB and NETUsers files,
refer to the "Setting Up ALLBASE/NET" chapter.
MPE/iX 5.0 Documentation