To connect to the database servers in a replication pair, clients use the same methods with which they connect to standard database servers. For an explanation of these methods, see the descriptions of the CONNECT and DATABASE statements in the IBM Informix Guide to SQL: Syntax.
After a failure of one of the database servers in a pair, you might want to redirect the clients that use the failed database server. (You might not want clients to be redirected. For example, if you anticipate that the database servers will be functioning again in a short time, redirecting clients might not be appropriate.)
The database server does not have a transparent mechanism for directing client requests to different database servers in a replication pair, but you can automate this action from within the application, as described in Handling Redirection Within an Application. Some of the client connectivity drivers included in the IBM Informix Client Software Developer's Kit have specific mechanisms for automating redirection. For details, see the IBM Informix Client Software Developer's Kit documentation.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]