1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>repmgr_site</title>
7 <link rel="stylesheet" href="apiReference.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" />
10 <link rel="up" href="configuration_reference.html" title="Appendix B. DB_CONFIG Parameter Reference" />
11 <link rel="prev" href="repmgr_set_ack_policy_parameter.html" title="repmgr_set_ack_policy" />
12 <link rel="next" href="set_cachesize_parameter.html" title="set_cachesize" />
15 <div xmlns="" class="navheader">
17 <p>Library Version 11.2.5.3</p>
19 <table width="100%" summary="Navigation header">
21 <th colspan="3" align="center">repmgr_site</th>
24 <td width="20%" align="left"><a accesskey="p" href="repmgr_set_ack_policy_parameter.html">Prev</a> </td>
25 <th width="60%" align="center">Appendix B. DB_CONFIG Parameter Reference</th>
26 <td width="20%" align="right"> <a accesskey="n" href="set_cachesize_parameter.html">Next</a></td>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
35 <h2 class="title" style="clear: both"><a id="repmgr_site_parameter"></a>repmgr_site</h2>
40 Identifies a Replication Manager site.
43 The syntax of this parameter in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a
44 single line with the string
45 <code class="literal">repmgr_site</code>, one or more
46 whitespace characters, the host and port parameters
47 specified as a string and an integer respectively.
48 This can optionally be followed by one or more
49 space-delimited keywords and
50 <code class="literal">on</code>/<code class="literal">off</code>. For
53 <pre class="programlisting">repmgr_site example.com 49200 db_local_site on db_legacy off</pre>
55 Available keywords are:
57 <div class="itemizedlist">
61 <code class="literal">db_bootstrap_helper</code>
64 If turned <code class="literal">on</code>, the identified
65 site may be used as a "helper" when the local site
66 is first joining the replication group. Once the
67 local site has been established as a member of the
68 group, this setting is ignored.
73 <code class="literal">db_group_creator</code>
76 If turned <code class="literal">on</code>, this site should
77 create the initial membership database contents,
78 defining a "group" of just the one site, rather
79 than trying to join an existing group when it
80 starts for the first time. This setting is only
81 used on the local site, and is ignored when
82 configured on a remote site.
87 <code class="literal">db_legacy</code>
90 If turned <code class="literal">on</code>, specifies that the
91 site is already part of an existing group. This
92 setting causes the site to be upgraded from a
93 previous version of BDB. All sites in the legacy
94 group must specify this setting for themselves (the
95 local site) and for all other sites currently
96 existing in the group. Once the upgrade has been
97 completed, this setting is no longer required.
102 <code class="literal">db_local_site</code>
105 If turned <code class="literal">on</code>, specifies that
106 this site is the local site within the replication
107 group. The application must identify exactly one
108 site as the local site before replication is
114 <code class="literal">db_repmgr_peer</code>
117 If turned <code class="literal">on</code>, specifies that the
118 site may be used as a target for "client-to-client"
119 synchronization messages. This setting is ignored
120 if it is turned <code class="literal">on</code> for the local site.
126 For more information, see
127 <a class="xref" href="dbsite_set_config.html" title="DbSite::set_config()">DbSite::set_config()</a>.
130 <div class="navfooter">
132 <table width="100%" summary="Navigation footer">
134 <td width="40%" align="left"><a accesskey="p" href="repmgr_set_ack_policy_parameter.html">Prev</a> </td>
135 <td width="20%" align="center">
136 <a accesskey="u" href="configuration_reference.html">Up</a>
138 <td width="40%" align="right"> <a accesskey="n" href="set_cachesize_parameter.html">Next</a></td>
141 <td width="40%" align="left" valign="top">repmgr_set_ack_policy </td>
142 <td width="20%" align="center">
143 <a accesskey="h" href="index.html">Home</a>
145 <td width="40%" align="right" valign="top"> set_cachesize</td>