![]() | ![]() |
Home |
|
|
Server Administration Guide for DirectConnect |
|
| Chapter 2 Creating a new server |
Chapter 2
This chapter, which describes how to create a new DirectConnect Server, covers the following topics:
Before you create a new server, be sure to modify the interfaces (UNIX) or sql.ini (Windows NT) file for a new server.
The command direct -NNewServer creates a new DirectConnect server using the specified server name. It also performs the following tasks:
Creates a new server directory, as well as cfg and log directories under it.
Populates the cfg directory with required configuration files for the server and the admin service, and the snrf table. Access service cfg files are created when you create a new service through DirectConnect Manager.
To create a new DirectConnect server:
Go to the directory that you entered during the installation process.
Type the following command:
direct -NnewServer
where
newServer is the name of the server you want to create (item 6 on the worksheet provided in the DirectConnect Installation Guide). The name you select is used for the following:
The name of the subdirectory tree for configuration files and log files
Master and Query entries in the $SYBASE/interfaces file (UNIX) or the %SYBASE%\sql.ini file (Windows NT).
Before you create the new server, you must make an entry in the interfaces or sql.ini file to enable the service and set up client connections.
For more information about configuring properties, see the DirectConnect for MVS Installation Guide, version 12.0.
If you create a new server and a configuration file is missing during server initialization, the server creates a configuration file with defaults. As a result, you have enough data to allow DirectConnect Manager to create a new service.Also, if the new server is configured for a snrf.tbl table and it doesn't exist, the server creates one and populates it with * * Service A. However, the service name redirection functionality will not work until you edit it with valid information.
If a service library file is missing, no services are created.
For more information about server and service configuration error conditions, see Chapter 4.
|
|