This file is indexed.

/usr/share/doc/drbd-doc/users-guide/s-manual-fail-over.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
<?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>6.5. Basic Manual Fail-over</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-admin.html" title="Chapter 6. Common administrative tasks" /><link rel="prev" href="s-switch-resource-roles.html" title="6.4. Promoting and demoting resources" /><link rel="next" href="s-upgrading-drbd.html" title="6.6. Upgrading DRBD" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">6.5. Basic Manual Fail-over</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="s-switch-resource-roles.html">Prev</a> </td><th width="60%" align="center">Chapter 6. Common administrative tasks</th><td width="20%" align="right"> <a accesskey="n" href="s-upgrading-drbd.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-manual-fail-over"></a>6.5. Basic Manual Fail-over</h2></div></div></div><p>If not using Pacemaker and looking to handle fail-overs manually in a
passive/active configuration the process is as follows.</p><p>On the current primary node stop any applications or services using the DRBD device,
unmount the DRBD device, and demote the resource to secondary.</p><pre class="screen"># umount /dev/drbd/by-res/&lt;resource&gt;
# drbdadm secondary &lt;resource&gt;</pre><p>Now on the node we wish to make primary promote the resource and mount the device.</p><pre class="screen"># drbdadm primary &lt;resource&gt;
# mount /dev/drbd/by-res/&lt;resource&gt; &lt;mountpoint&gt;</pre></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="s-switch-resource-roles.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch-admin.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="s-upgrading-drbd.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">6.4. Promoting and demoting resources </td><td width="20%" align="center"><a accesskey="h" href="drbd-users-guide.html">Home</a></td><td width="40%" align="right" valign="top"> 6.6. Upgrading DRBD</td></tr></table></div></body></html>