HA_SQL_Replica

This sample demonstrates the replica-side implementation of eXtremeDB High Availability using the SQL API .

How to Run

See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the \target\bin directory: Note that all HA samples consist of two components, a master and a replica application. So to run this sample:

In a console window run

 
    hasql_cpp_master
     

Then in a second console window run

 
    hasql_cpp_replica
 

But it is more instructive to run one instance in your development environment debugger, stepping through the code.