Understanding the format of the interfaces file
servername retry_attempts delay_interval<newline>
<tab>service_type api protocol device address filter<newline>
<tab>ha_failover servername<newline>
servername retry_attempts delay_interval<newline>
<tab>service_type protocol network machine port filter<newline>
<tab>ha_failover servername<newline>
Components of an interfaces file entry
Component
servername
retry_attempts (optional)
delay_interval (optional)
service_type
api
protocol
network
host
56
A TCP style entry looks like:
Table 5-2 describes the components of an interfaces file entry.
Table 5-2: Components of an interfaces file
Value
Name of Adaptive Server or Backup Server. Requirements for a server name are:
• The name cannot be more than 30 characters long.
• The first character must be a letter (ASCII a through z, A through Z).
• The characters that follow must be letters, numbers, or underscores (_).
Number of times you want the client to try to connect to a server after initial
failure. Default is 0.
Number of seconds between connection attempts. Default is 0.
Type of service defined by entry. Must be one of the following:
• master
• query
Application programming interface available to the network.The supported value
is tli.
Name of the network protocol. Protocol types available are:
• TCP/IP, represented by the letters "tcp"
Name of the network; not currently used by Adaptive Server.
"ether" as a placeholder.
Network name or address of server's host machine.
• For TCP/IP, use either the host name or Internet address. Maximum size of
entry is 32 bytes.
To determine the host name of a machine, log in to that machine and enter:
/bin/hostname
enters
srvbuild
Adaptive Server Enterprise
Need help?
Do you have a question about the Adaptive Server and is the answer not in the manual?