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 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 has this format:
servername retry_attempts delay_interval<newline> <tab>service_type api protocol device address filter<newline> <tab>ha_failover servername<newline>
For example:
harpo_server1
master tli tcp /dev/tcp 0x0002333337f00001
query tli tcp /dev/tcp 0x0002333337f00001
A TCP style entry has this format:
servername retry_attempts delay_interval<newline> <tab>service_type protocol network machine port filter<newline> <tab>ha_failover servername<newline>
For example:
chico_server1
master tcp ether chico 5678 ssl
query tcp ether chico 5678 ssl