HA failover

The existing High Availability (HA) failover feature has been extended to ESQL. It allows you to designate and connect to a second server when a connection to the primary server fails. The implementation is straightforward for the C precompiler.

The command line argument parser reads the -H flag, stores the failover server name, and generates the necessary Ct-Lib statements to implement HA failover., as in the following example:

$SYBASE/bin/cpre -H filename.cp

NoteTo use this option, the secondary server must be up and running and correctly listed in the interfaces file as the HA failover server.

For more information, see the Open Client/Server Programmer’s Supplement for UNIX platforms.