1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
3 <!-- Please adjust the date whenever revising the manpage. -->
4 <!ENTITY dhdate "<date>November 22, 2007</date>">
5 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
6 allowed: see man(7), man(1). -->
7 <!ENTITY dhsection "<manvolnum>8</manvolnum>">
8 <!ENTITY dhucpackage "<refentrytitle>ganeti-master</refentrytitle>">
9 <!ENTITY dhpackage "ganeti-master">
11 <!ENTITY debian "<productname>Debian</productname>">
12 <!ENTITY gnu "<acronym>GNU</acronym>">
13 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
14 <!ENTITY footer SYSTEM "footer.sgml">
22 <holder>Google Inc.</holder>
30 <refmiscinfo>ganeti 1.2</refmiscinfo>
33 <refname>&dhpackage;</refname>
35 <refpurpose>ganeti master startup script</refpurpose>
39 <command>&dhpackage; </command>
49 <title>DESCRIPTION</title>
52 The <command>&dhpackage;</command> is the program that activates
53 the cluster IP on the master node.
57 The script will first check to see if the IP is not already
58 alive on the cluster (on another node). If so, it wil abort the
63 If the master IP is unreachable, the script will add the IP to
64 the <literal>master_netdev</literal> interface (as configured at
65 cluster init time) with the label the name of the interface plus
66 <quote>:0</quote>, so that the new IP shows up as a
67 subinterface. After that, it will send three gratuitous ARP
68 updates so that the switch updates its tables immediatly
69 (instead of after expiry).
75 <title>Exit codes</title>
80 <simpara>successfull exit, IP activated</simpara>
86 <simpara>failed to add the IP to the interface</simpara>
92 <simpara>this node doesn't have the master role, no action
99 <simpara>the configuration of the node is not complete; most
100 probably, this node is not part of a cluster</simpara>
106 <simpara>the IP is reachable on the network, activation
113 <simpara>argument error - the script should be called with
114 either the <option>start</option> or <option>stop</option>
125 <!-- Keep this comment at the end of the file
130 sgml-minimize-attributes:nil
131 sgml-always-quote-attributes:t
134 sgml-parent-document:nil
135 sgml-default-dtd-file:nil
136 sgml-exposed-tags:nil
137 sgml-local-catalogs:nil
138 sgml-local-ecat-files:nil