Home | Previous Page | Next Page   The Database Server > Client/Server Communications > Examples of Client/Server Configurations >

Accessing Multiple Database Servers

Figure 14 shows a configuration with two database servers on host river. When more than one database server is active on one computer, it is known as multiple residency. (For more information about multiple residency, see your IBM Informix Installation Guide.)

Figure 14. Multiple Database Servers on UNIX
begin figure description - In this figure, a client application and the river_shm database server communicate with each other through shared memory. The same client application and a database server named river_soc are connected through a TCP/IP programming interface. Text below this figure contains more information. - end figure description

For the configuration in Figure 14, you must prepare two ONCONFIG configuration files, one for database server A and the other for database server B. The sqlhosts file or SQLHOSTS registry key includes the connectivity information for both database servers.

The ONCONFIG configuration file for database server A includes the following line:

DBSERVERNAME            riverA_shm

The ONCONFIG configuration file for database server B includes the following line:

DBSERVERNAME riverB_soc
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]