beautypg.com

Understanding the format of the interfaces file – Sybase DC35823-01-1500-04 User Manual

Page 71

background image

CHAPTER 5 Setting Up Communications Across the Network

Configuration Guide

55

Figure 5-2: Establishing network connections in a homogeneous
environment

Understanding the format of the interfaces file

The following rules apply to the format of interfaces file entries:

Each Adaptive Server has only one entry, although there may be multiple
lines in the entry.

Each line that follows the servername line must begin with a space or a
character tab.

Each element on the line must be separated by a single space.

Each entry is separated by a blank line.

You can add comments to an interfaces file by adding a pound sign (#) at
the beginning of the line and a line break at the end.

There are two interfaces file entry formats, TLI and TCP.

A TLI style entry looks like:

Homogeneous

clients

Harpo SQL

server

Chico SQL

server

Harpo

xxxxx

Chico
xxxxx

Get Harpo’s
address and
connect.

Get Chico’s address
and connect.

Get Chico’s
address and
make an RPC.