Creating a master interfaces file
58 Adaptive Server Enterprise
Creating a master interfaces file
A master interfaces file contains entries for all Sybase servers on the network.
It can be used with every server and client connected to the network. By
distributing copies of a master interfaces file, you can ensure that all Sybase
products on the network interact with one another.
Distributing copies of one interfaces file (a master file) with entries for all
Adaptive Servers is the easiest way to maintain consistency in the interfaces
files in a homogeneous environment on a network.
You can make all changes to one version of the file and then copy the updated
master file to all appropriate Sybase directories.
You can make a master file in one of two ways:
Using dsedit or dscp
Using a text editor

Using dsedit or dscp to create a master interfaces file

You can use the dsedit or dscp utility to create a master interfaces file, which
you can then distribute to all servers. If you are not an experienced Sybase user,
you may find that using dsedit or dscp is easier than using a text editor. Using
dsedit or dscp also ensures that your interfaces file is consistent in format.
To create a master interfaces file with dsedit or dscp:
1 Select the interfaces file that contains the most complete, up-to-date
information.
2 Begin a dsedit or dscp session in your latest Sybase installation to edit this
interfaces file.
3 Add entries for any Adaptive Servers or Backup Servers that are not listed
in this file.
For details on using these utilities, see the Adaptive Server Utility Guide.

Using a text editor to create a master interfaces file

To construct a single master interfaces file from several individual interfaces
files: