~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/docs/ref/rep/init.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!--$Id$-->
2
 
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
 
<!--All rights reserved.-->
4
 
<!--See the file LICENSE for redistribution information.-->
5
 
<html>
6
 
<head>
7
 
<title>Berkeley DB Reference Guide: Initializing a new site</title>
8
 
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
 
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
10
 
</head>
11
 
<body bgcolor=white>
12
 
<table width="100%"><tr valign=top>
13
 
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Berkeley DB Replication</dl></h3></td>
14
 
<td align=right><a href="../../ref/rep/newsite.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/rep/elect.html"><img src="../../images/next.gif" alt="Next"></a>
15
 
</td></tr></table>
16
 
<p>
17
 
<h1 align=center>Initializing a new site</h1>
18
 
<p>Perform the following steps to add a new site to the replication
19
 
group:
20
 
<p><ol>
21
 
<p><li>Do an archival backup of the master's environment, as described in
22
 
<a href="../../ref/transapp/archival.html">Database and log file
23
 
archival</a>.  The backup can either be a conventional backup or a hot
24
 
backup.
25
 
<p><li>Copy the archival backup into a clean environment directory on the
26
 
client.
27
 
<p><li>Run catastrophic recovery on the client's new environment, as described
28
 
in <a href="../../ref/transapp/recovery.html">Recovery procedures</a>.
29
 
<p><li>Reconfigure and reopen the environment as a client member of the
30
 
replication group.
31
 
</ol>
32
 
<p>If copying the backup to the client takes a long time relative to the
33
 
frequency with which log files are reclaimed using the
34
 
<a href="../../utility/db_archive.html">db_archive</a> utility or the <a href="../../api_c/log_archive.html">DB_ENV-&gt;log_archive</a> method, it may be
35
 
necessary to suppress log reclamation until the newly restarted client
36
 
has "caught up" and applied all log records generated during its
37
 
downtime.
38
 
<p>As with any Berkeley DB application, the database environment must be in a
39
 
consistent state at application startup.  This is most easily assured
40
 
by running recovery at startup time in one thread or process; it is
41
 
harmless to do this on both clients and masters even when not strictly
42
 
necessary.
43
 
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/rep/newsite.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/rep/elect.html"><img src="../../images/next.gif" alt="Next"></a>
44
 
</td></tr></table>
45
 
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
46
 
</body>
47
 
</html>