2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
3
<refentry id="re-hbtakeover">
5
<date>November 26, 2009</date>
6
<productname>Heartbeat</productname>
7
<productnumber>@VERSION@</productnumber>
10
<firstname>Alan</firstname>
11
<surname>Robertson</surname>
12
<contrib>hb_takeover</contrib>
13
<email>alanr@unix.sh</email>
16
<surname>Shi</surname>
17
<firstname>Guochun</firstname>
18
<contrib>man page</contrib>
19
<email>gshi@ncsa.uiuc.edu</email>
22
<firstname>Florian</firstname>
23
<surname>Haas</surname>
24
<contrib>man page</contrib>
25
<email>florian.haas@linbit.com</email>
30
<refentrytitle>hb_takeover</refentrytitle>
31
<manvolnum>1</manvolnum>
32
<refmiscinfo class="manual">General commands</refmiscinfo>
35
<refname>hb_takeover</refname>
36
<refpurpose>issues a failover request to the cluster manager</refpurpose>
39
<para><command>hb_takeover</command> [<token>all</token>|<token>foreign</token>|<token>local</token>|<token>failback</token>]</para>
41
<refsection id="rs-hbtakeover-description">
42
<title>Description</title>
44
<para>This command is deprecated. It is only suitable for legacy
45
Heartbeat clusters without Pacemaker enabled. In
46
Pacemaker-enabled clusters, the
47
<citerefentry><refentrytitle>crm</refentrytitle><manvolnum>8</manvolnum></citerefentry>
48
shell supports switching individual nodes into standby mode, and
49
replaces <command>hb_takeover</command>.</para>
52
<command>@HA_NOARCHDATAHBDIR@/hb_takeover</command> issues a
53
request to the cluster to move resources to the node where it is
54
invoked, from the other node. Issuing
55
<command>hb_takeover</command> on the current node is equivalent
56
to performing <command>hb_standby</command> on the other
59
<refsection id="rs-hbtakeover-caveats">
60
<title>Caveats</title>
61
<para><command>hb_takeover</command> is only usable in R1-style
62
configurations (i.e., those configured using the
63
<filename>haresources</filename> file).</para>
65
<refsection id="rs-hbtakeover-seealso">
66
<title>See also</title>
68
<citerefentry><refentrytitle>hb_standby</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
69
<citerefentry><refentrytitle>heartbeat</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
70
<citerefentry><refentrytitle>cl_status</refentrytitle><manvolnum>1</manvolnum></citerefentry>