/usr/share/doc/python-bsddb3/html/dbsite.html is in python-bsddb3-doc 5.2.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>DBSite — PyBSDDB Documentation</title>
<link rel="stylesheet" href="static/default.css" type="text/css">
<link rel="stylesheet" href="static/pygments.css" type="text/css">
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '5.2.0'
};
</script>
<script type="text/javascript" src="static/jquery.js"></script>
<script type="text/javascript" src="static/interface.js"></script>
<script type="text/javascript" src="static/doctools.js"></script>
<link rel="contents" title="Global table of contents" href="contents.html">
<link rel="index" title="Global index" href="genindex.html">
<link rel="search" title="Search" href="search.html">
<link rel="top" title="PyBSDDB Documentation" href="index.html">
<link rel="next" title="History" href="history.html">
<link rel="prev" title="DBSequence" href="dbsequence.html">
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px"><a href="genindex.html" title="General Index" accesskey="I">index</a></li>
<li class="right"><a href="modindex.html" title="Global Module Index" accesskey="M">modules</a> |</li>
<li class="right"><a href="history.html" title="History" accesskey="N">next</a> |</li>
<li class="right"><a href="dbsequence.html" title="DBSequence" accesskey="P">previous</a> |</li>
<li><a href="index.html">PyBSDDB v5.2.0 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section">
<h1 id="dbsite">DBSite<a class="headerlink" href="#dbsite" title="Permalink to this headline">¶</a></h1>
<p>Read <a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/group_membership.html">Oracle documentation</a>
for better understanding.</p>
<p>You use the DB_SITE handle to configure and manage replication sites.</p>
<p><a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/repmgr_site.html">More info...</a></p>
<div class="section">
<h2 id="dbsite-methods">DBSite Methods<a class="headerlink" href="#dbsite-methods" title="Permalink to this headline">¶</a></h2>
<dl class="function">
<dt id="close">
<!--#close#--><tt class="descname">close</tt><big>(</big><em>flags=0</em><big>)</big><a class="headerlink" href="#close" title="Permalink to this definition">¶</a></dt>
<dd>Close a DBSite handle.
<a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/dbsite_close.html">More info...</a></dd></dl>
<dl class="function">
<dt id="get_address">
<!--#get_address#--><tt class="descname">get_address</tt><big>(</big><big>)</big><a class="headerlink" href="#get_address" title="Permalink to this definition">¶</a></dt>
<dd>Returns a replication site’s network address. That is, this method
returns a tuple with the site’s hostname and port.
<a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/dbsite_get_address.html">More info...</a></dd></dl>
<dl class="function">
<dt id="get_config">
<!--#get_config#--><tt class="descname">get_config</tt><big>(</big><big>)</big><a class="headerlink" href="#get_config" title="Permalink to this definition">¶</a></dt>
<dd>Returns whether the specified which parameter is currently set.
<a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/dbsite_get_config.html">More info...</a></dd></dl>
<dl class="function">
<dt id="get_eid">
<!--#get_eid#--><tt class="descname">get_eid</tt><big>(</big><big>)</big><a class="headerlink" href="#get_eid" title="Permalink to this definition">¶</a></dt>
<dd>Returns a replication site’s Environment ID (EID).
<a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/dbsite_get_eid.html">More info...</a></dd></dl>
<dl class="function">
<dt id="remove">
<!--#remove#--><tt class="descname">remove</tt><big>(</big><big>)</big><a class="headerlink" href="#remove" title="Permalink to this definition">¶</a></dt>
<dd>Removes the site from the replication group. If called at the master
site, repmgr updates the membership database directly. If called from
a client, this method causes a request to be sent to the master to
perform the operation. The method then awaits confirmation.
<a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/dbsite_remove.html">More info...</a></dd></dl>
<dl class="function">
<dt id="set_config">
<!--#set_config#--><tt class="descname">set_config</tt><big>(</big><em>which</em>, <em>value</em><big>)</big><a class="headerlink" href="#set_config" title="Permalink to this definition">¶</a></dt>
<dd>Configures a replication site.
<a class="reference" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/dbsite_set_config.html">More info...</a></dd></dl>
</div>
</div>
</div>
</div>
</div>
<div class="sidebar">
<div class="sidebarwrapper">
<h3>Table Of Contents</h3>
<ul>
<li><a class="reference" href="">DBSite</a><ul>
<li><a class="reference" href="#dbsite-methods">DBSite Methods</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="dbsequence.html" title="previous chapter">DBSequence</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="history.html" title="next chapter">History</a></p>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px"><a href="genindex.html" title="General Index" accesskey="I">index</a></li>
<li class="right"><a href="modindex.html" title="Global Module Index" accesskey="M">modules</a> |</li>
<li class="right"><a href="history.html" title="History" accesskey="N">next</a> |</li>
<li class="right"><a href="dbsequence.html" title="DBSequence" accesskey="P">previous</a> |</li>
<li><a href="index.html">PyBSDDB v5.2.0 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2008-2011 Jesus Cea Avion.
Last updated on Jul 12, 2011.
</div>
</body>
</html>
|