My Oracle Support Banner

How Do I Start A New Primary When Receiving DB_EVENT_REP_PRIMARY_FAILURE Event (Doc ID 1516673.1)

Last updated on AUGUST 23, 2021

Applies to:

Berkeley DB - Version 5.1.19 and later
Information in this document applies to any platform.


The manual states that if DB_REPMGR_CONF_ELECTIONS parameter is not validated, the application itself must be assigned as a primary. Please teach me how to assign as a primary with application.


A Replication Manager client site has detected the loss of connection to the primary site. If the DB_REPMGR_CONF_ELECTIONS (page 493) configuration parameter is turned on, Replication Manager will automatically start an election in order to choose a new primary. In this case, this event may be ignored. When DB_REPMGR_CONF_ELECTIONS is turned off, the application should choose and assign a new primary. Failure to do so means that your replication group has no primary, and so it cannot service write requests.

The DB_EVENT_REP_PRIMARY_FAILURE event is provided only to applications configured for the replication manager.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.