Symbolic data server name for client applications

With this method, you create an interfaces file entry with a symbolic data server name for client applications.

The interfaces file might contain entries like these:

Table 3-5: Symbolic data server name in interfaces file

Data server name

Host name

Port number

Client applications

CLIENT_DS

machine_1

2800

Active database

TOKYO_DS_X

machine_1

2800

Standby database

TOKYO_DS_Y

machine_2

2802

You could create an interfaces entry for a data server named CLIENT_DS. Client applications would always connect to CLIENT_DS. The CLIENT_DS entry would use the same host name and port number as the data server with the active database.

Replication Server connects to the same host name and port number as the client applications but uses a different data server name. In this example, Replication Server would switch between the TOKYO_DS_X and TOKYO_DS_Y data servers.

After switching the active database, you would change the CLIENT_DS interfaces entry to the host name and port number of the data server with the new active database—in this example, machine_2 and port number 2802.