Contents of an interfaces file

An interfaces file contains network information about all servers on your network, including Adaptive Server, Backup Server, XP Server, plus any other server applications such as Adaptive Server Enterprise Monitor, Replication Server,® and Open Server.

The network information in the file includes the server name, network name or address of the host machine, and the port, object, or socket number (depending on the network protocol) on which the server listens for queries. See “Understanding the format of the interfaces file” for the specific makeup of the interfaces file entry.

Each entry in an interfaces file can contain two types of lines:

The network information contained in the master and query lines for a server is identical because a server listens for connection requests on the same port that clients use to request connections.

A server needs both master and query lines in its interfaces file, since servers sometimes act as clients to other servers.

A client’s interfaces file does not need a master line. It functions correctly with only a query line.

If your site has multiple installations

If you have more than one Adaptive Server installation, each server’s interfaces file should contain information about all servers on the network.

If all of your server products are running on the same platform, you can create one master interfaces file and copy that file to each machine. For more information, see “Creating a master interfaces file”.

If the host machine supports multiple networks, see “Configuring interfaces files for multiple networks”.