![](http://www.gnu-darwin.org/hexley-gd-sm.png)
|
- Berkeley DB Reference Guide:
- Berkeley DB Replication
|
![Prev](../../images/prev.gif) ![Ref](../../images/ref.gif)
|
Replication environment priorities
Each database environment included in a replication group must have a
priority, which specifies a relative ordering among the different
environments in a replication group. This ordering determines which
environment will be selected as a new master in case the existing master
fails.
Priorities must be a non-negative integer, but do not need to be unique
throughout the replication group. A priority of 0 means the system can
never become a master, regardless. Otherwise, larger valued priorities
indicate a more desirable master. For example, if a replication group
consists of three database environments, two of which are connected by
an OC3 and the third of which is connected by a T1, the third database
environment should be assigned a priority value which is lower than
either of the other two.
Copyright Sleepycat Software
|