This file is indexed.

/usr/share/doc/drbd-doc/users-guide/s-manage-domu.html is in drbd-doc 8.4~20140825-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.5. Starting, stopping, and migrating DRBD-backed domU’s</title><link rel="stylesheet" type="text/css" href="default.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.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-configure-domu.html" title="13.4. Using DRBD VBDs" /><link rel="next" href="s-xen-internal.html" title="13.6. Internals of DRBD/Xen integration" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">13.5. Starting, stopping, and migrating DRBD-backed domU’s</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="s-xen-configure-domu.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-internal.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-manage-domu"></a>13.5. Starting, stopping, and migrating DRBD-backed domU’s</h2></div></div></div><p><strong>Starting the domU. </strong>Once you have configured your DRBD-backed domU, you may start it as
you would any other domU:</p><pre class="screen">xm create &lt;domU&gt;
Using config file "+/etc/xen/&lt;domU&gt;+".
Started domain &lt;domU&gt;</pre><p>In the process, the DRBD resource you configured as the VBD will be
promoted to the primary role, and made accessible to Xen as expected.</p><p><strong>Stopping the domU. </strong>This is equally straightforward:</p><pre class="screen">xm shutdown -w &lt;domU&gt;
Domain &lt;domU&gt; terminated.</pre><p>Again, as you would expect, the DRBD resource is returned to the
secondary role after the domU is successfully shut down.</p><p><strong>Migrating the domU. </strong>This, too, is done using the usual Xen tools:</p><pre class="screen">xm migrate --live &lt;domU&gt; &lt;destination-host&gt;</pre><p>In this case, several administrative steps are automatically taken in
rapid succession:
. The resource is promoted to the primary role on <span class="emphasis"><em>destination-host</em></span>.
. Live migration of <span class="emphasis"><em>domU</em></span> is initiated on the local host.
. When migration to the destination host has completed, the resource
  is demoted to the secondary role locally.</p><p>The fact that both resources must briefly run in the primary role on
both hosts is the reason for having to configure the resource in
dual-primary mode in the first place.</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="s-xen-configure-domu.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-internal.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">13.4. Using DRBD VBDs </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.6. Internals of DRBD/Xen integration</td></tr></table></div></body></html>