Berkeley DB Reference Guide:
Berkeley DB Replication
PrevRefNext

Replication Manager methods

Applications which use the Replication Manager support generally call the following Berkeley DB methods. The general pattern is to call various methods to configure Replication Manager, and then start it by calling DB_ENV->repmgr_start. Once this initialization is complete, the application rarely needs to call any of these methods. (A prime example of an exception to this rule would be the DB_ENV->rep_sync method, if the application is doing delayed synchronization.)


DB_ENV->repmgr_set_local_site DB_ENV->repmgr_add_remote_site DB_ENV->repmgr_set_ack_policy DB_ENV->rep_set_nsites DB_ENV->rep_set_priority DB_ENV->rep_set_timeout DB_ENV->set_event_notify DB_ENV->repmgr_start

In addition to the methods previously described, Replication Manager applications may also call the following methods, as needed: DB_ENV->rep_set_config, DB_ENV->rep_set_limit, DB_ENV->rep_set_request, DB_ENV->rep_sync, DB_ENV->rep_stat.


PrevRefNext

Copyright (c) 1996,2008 Oracle. All rights reserved.