/usr/share/doc/drbd-doc/users-guide/s-xen-create-resource.html is in drbd-doc 8.4~20151102-1.
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 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>13.3. Creating a DRBD resource suitable to act as a Xen VBD</title><link rel="stylesheet" type="text/css" href="default.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="drbd-users-guide.html" title="The DRBD User’s Guide" /><link rel="up" href="ch-xen.html" title="Chapter 13. Using Xen with DRBD" /><link rel="prev" href="s-xen-drbd-mod-params.html" title="13.2. Setting DRBD module parameters for use with Xen" /><link rel="next" href="s-xen-configure-domu.html" title="13.4. Using DRBD VBDs" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">13.3. Creating a DRBD resource suitable to act as a Xen VBD</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="s-xen-drbd-mod-params.html">Prev</a> </td><th width="60%" align="center">Chapter 13. Using Xen with DRBD</th><td width="20%" align="right"> <a accesskey="n" href="s-xen-configure-domu.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="s-xen-create-resource"></a>13.3. Creating a DRBD resource suitable to act as a Xen VBD</h2></div></div></div><p>Configuring a DRBD resource that is to be used as a Virtual Block
Device for Xen is fairly straightforward — in essence, the typical
configuration matches that of a DRBD resource being used for any other
purpose. However, if you want to enable <a id="idm45883813420032" class="indexterm"></a>live migration
for your guest instance, you need to enable <a id="idm45883813418896" class="indexterm"></a><a class="link" href="s-dual-primary-mode.html" title="2.2. Dual-primary mode">dual-primary mode</a>for this resource:</p><pre class="programlisting">resource <resource> {
net {
allow-two-primaries yes;
...
}
...
}</pre><p>Enabling dual-primary mode is necessary because Xen, before initiating
live migration, checks for write access on all VBDs a resource is
configured to use on both the source and the destination host for the
migration.</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="s-xen-drbd-mod-params.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch-xen.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="s-xen-configure-domu.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">13.2. Setting DRBD module parameters for use with Xen </td><td width="20%" align="center"><a accesskey="h" href="drbd-users-guide.html">Home</a></td><td width="40%" align="right" valign="top"> 13.4. Using DRBD VBDs</td></tr></table></div></body></html>
|