This sample demonstrates eXtremeDB High Availability in asynchronous mode.
In a console window run:
ReplMasterThen in a second console window run:
ReplSlaveIt is also possible to run replica applications in synchronous mode even if the master is running asynchronously. To do this the
MCO_HAMODE_FORCE_SYNC
flag must be set in the replica. This is demonstrated in the C samplehaasync-rplsync
. In a third console window run:haasync-rplsync <Enter>But it is more instructive to run one instance in your development environment debugger, stepping through the code.