root / man / gnt-cluster.sgml @ d1908b41
History | View | Annotate | Download (22.5 kB)
1 | a8083063 | Iustin Pop | <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ |
---|---|---|---|
2 | a8083063 | Iustin Pop | |
3 | a8083063 | Iustin Pop | <!-- Fill in your name for FIRSTNAME and SURNAME. --> |
4 | a8083063 | Iustin Pop | <!-- Please adjust the date whenever revising the manpage. --> |
5 | d3b4cf9f | Iustin Pop | <!ENTITY dhdate "<date>February 12, 2009</date>"> |
6 | a8083063 | Iustin Pop | <!-- SECTION should be 1-8, maybe w/ subsection other parameters are |
7 | a8083063 | Iustin Pop | allowed: see man(7), man(1). --> |
8 | a8083063 | Iustin Pop | <!ENTITY dhsection "<manvolnum>8</manvolnum>"> |
9 | a8083063 | Iustin Pop | <!ENTITY dhucpackage "<refentrytitle>gnt-cluster</refentrytitle>"> |
10 | a8083063 | Iustin Pop | <!ENTITY dhpackage "gnt-cluster"> |
11 | a8083063 | Iustin Pop | |
12 | a8083063 | Iustin Pop | <!ENTITY debian "<productname>Debian</productname>"> |
13 | a8083063 | Iustin Pop | <!ENTITY gnu "<acronym>GNU</acronym>"> |
14 | a8083063 | Iustin Pop | <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> |
15 | a8083063 | Iustin Pop | <!ENTITY footer SYSTEM "footer.sgml"> |
16 | a8083063 | Iustin Pop | ]> |
17 | a8083063 | Iustin Pop | |
18 | a8083063 | Iustin Pop | <refentry> |
19 | a8083063 | Iustin Pop | <refentryinfo> |
20 | a8083063 | Iustin Pop | <copyright> |
21 | a8083063 | Iustin Pop | <year>2006</year> |
22 | a8083063 | Iustin Pop | <year>2007</year> |
23 | d3b4cf9f | Iustin Pop | <year>2008</year> |
24 | d3b4cf9f | Iustin Pop | <year>2009</year> |
25 | a8083063 | Iustin Pop | <holder>Google Inc.</holder> |
26 | a8083063 | Iustin Pop | </copyright> |
27 | a8083063 | Iustin Pop | &dhdate; |
28 | a8083063 | Iustin Pop | </refentryinfo> |
29 | a8083063 | Iustin Pop | <refmeta> |
30 | a8083063 | Iustin Pop | &dhucpackage; |
31 | a8083063 | Iustin Pop | |
32 | a8083063 | Iustin Pop | &dhsection; |
33 | d3b4cf9f | Iustin Pop | <refmiscinfo>ganeti 2.0</refmiscinfo> |
34 | a8083063 | Iustin Pop | </refmeta> |
35 | a8083063 | Iustin Pop | <refnamediv> |
36 | a8083063 | Iustin Pop | <refname>&dhpackage;</refname> |
37 | a8083063 | Iustin Pop | |
38 | a8083063 | Iustin Pop | <refpurpose>ganeti administration, cluster-wide</refpurpose> |
39 | a8083063 | Iustin Pop | </refnamediv> |
40 | a8083063 | Iustin Pop | <refsynopsisdiv> |
41 | a8083063 | Iustin Pop | <cmdsynopsis> |
42 | a8083063 | Iustin Pop | <command>&dhpackage; </command> |
43 | a8083063 | Iustin Pop | |
44 | a8083063 | Iustin Pop | <arg choice="req">command</arg> |
45 | a8083063 | Iustin Pop | <arg>arguments...</arg> |
46 | a8083063 | Iustin Pop | </cmdsynopsis> |
47 | a8083063 | Iustin Pop | </refsynopsisdiv> |
48 | a8083063 | Iustin Pop | <refsect1> |
49 | a8083063 | Iustin Pop | <title>DESCRIPTION</title> |
50 | a8083063 | Iustin Pop | |
51 | a8083063 | Iustin Pop | <para> |
52 | a8083063 | Iustin Pop | The <command>&dhpackage;</command> is used for cluster-wide |
53 | a8083063 | Iustin Pop | administration in the ganeti system. |
54 | a8083063 | Iustin Pop | </para> |
55 | a8083063 | Iustin Pop | |
56 | a8083063 | Iustin Pop | </refsect1> |
57 | a8083063 | Iustin Pop | <refsect1> |
58 | a8083063 | Iustin Pop | <title>COMMANDS</title> |
59 | a8083063 | Iustin Pop | |
60 | 75f49d9b | Iustin Pop | <refsect2> |
61 | cc425644 | Iustin Pop | <title>ADD-TAGS</title> |
62 | cc425644 | Iustin Pop | |
63 | cc425644 | Iustin Pop | <cmdsynopsis> |
64 | cc425644 | Iustin Pop | <command>add-tags</command> |
65 | 810c50b7 | Iustin Pop | <arg choice="opt">--from <replaceable>file</replaceable></arg> |
66 | cc425644 | Iustin Pop | <arg choice="req" |
67 | cc425644 | Iustin Pop | rep="repeat"><replaceable>tag</replaceable></arg> |
68 | cc425644 | Iustin Pop | </cmdsynopsis> |
69 | cc425644 | Iustin Pop | |
70 | cc425644 | Iustin Pop | <para> |
71 | cc425644 | Iustin Pop | Add tags to the cluster. If any of the tags contains invalid |
72 | cc425644 | Iustin Pop | characters, the entire operation will abort. |
73 | cc425644 | Iustin Pop | </para> |
74 | 810c50b7 | Iustin Pop | |
75 | 810c50b7 | Iustin Pop | <para> |
76 | 810c50b7 | Iustin Pop | If the <option>--from</option> option is given, the list of |
77 | 810c50b7 | Iustin Pop | tags will be extended with the contents of that file (each |
78 | 810c50b7 | Iustin Pop | line becomes a tag). In this case, there is not need to pass |
79 | 810c50b7 | Iustin Pop | tags on the command line (if you do, both sources will be |
80 | 810c50b7 | Iustin Pop | used). A file name of - will be interpreted as stdin. |
81 | 810c50b7 | Iustin Pop | </para> |
82 | cc425644 | Iustin Pop | </refsect2> |
83 | cc425644 | Iustin Pop | |
84 | cc425644 | Iustin Pop | <refsect2> |
85 | 75f49d9b | Iustin Pop | <title>COMMAND</title> |
86 | 75f49d9b | Iustin Pop | |
87 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
88 | 75f49d9b | Iustin Pop | <command>command</command> |
89 | 75f49d9b | Iustin Pop | <arg>-n <replaceable>node</replaceable></arg> |
90 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>command</replaceable></arg> |
91 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
92 | 75f49d9b | Iustin Pop | |
93 | 75f49d9b | Iustin Pop | <para> |
94 | 75f49d9b | Iustin Pop | Executes a command on all nodes. If the option |
95 | 75f49d9b | Iustin Pop | <option>-n</option> is not given, the command will be executed |
96 | 75f49d9b | Iustin Pop | on all nodes, otherwise it will be executed only on the |
97 | 75f49d9b | Iustin Pop | node(s) specified. Use the option multiple times for running |
98 | 75f49d9b | Iustin Pop | it on multiple nodes, like: |
99 | 75f49d9b | Iustin Pop | |
100 | 75f49d9b | Iustin Pop | <screen> |
101 | 75f49d9b | Iustin Pop | # gnt-cluster command -n node1.example.com -n node2.example.com date |
102 | 75f49d9b | Iustin Pop | </screen> |
103 | 75f49d9b | Iustin Pop | |
104 | 75f49d9b | Iustin Pop | </para> |
105 | 75f49d9b | Iustin Pop | |
106 | 75f49d9b | Iustin Pop | <para> |
107 | 5f83e263 | Iustin Pop | The command is executed serially on the selected nodes. If the |
108 | 5f83e263 | Iustin Pop | master node is present in the list, the command will be |
109 | 5f83e263 | Iustin Pop | executed last on the master. Regarding the other nodes, the |
110 | d3b4cf9f | Iustin Pop | execution order is somewhat alphabetic, so that |
111 | 5f83e263 | Iustin Pop | node2.example.com will be earlier than node10.example.com but |
112 | d3b4cf9f | Iustin Pop | after node1.example.com. |
113 | 5f83e263 | Iustin Pop | </para> |
114 | 5f83e263 | Iustin Pop | |
115 | 5f83e263 | Iustin Pop | <para> |
116 | 5f83e263 | Iustin Pop | So given the node names node1, node2, node3, node10, node11, |
117 | 5f83e263 | Iustin Pop | with node3 being the master, the order will be: node1, node2, |
118 | 5f83e263 | Iustin Pop | node10, node11, node3. |
119 | 5f83e263 | Iustin Pop | </para> |
120 | 5f83e263 | Iustin Pop | |
121 | 5f83e263 | Iustin Pop | <para> |
122 | 75f49d9b | Iustin Pop | The command is constructed by concatenating all other command |
123 | 75f49d9b | Iustin Pop | line arguments. For example, to list the contents of the |
124 | 75f49d9b | Iustin Pop | <filename class="directory">/etc</filename> directory on all |
125 | 75f49d9b | Iustin Pop | nodes, run: |
126 | 75f49d9b | Iustin Pop | |
127 | 75f49d9b | Iustin Pop | <screen> |
128 | 75f49d9b | Iustin Pop | # gnt-cluster command ls -l /etc |
129 | 75f49d9b | Iustin Pop | </screen> |
130 | 75f49d9b | Iustin Pop | |
131 | 75f49d9b | Iustin Pop | and the command which will be executed will be |
132 | 75f49d9b | Iustin Pop | <computeroutput>"ls -l /etc"</computeroutput> |
133 | 75f49d9b | Iustin Pop | </para> |
134 | 75f49d9b | Iustin Pop | </refsect2> |
135 | 75f49d9b | Iustin Pop | |
136 | 75f49d9b | Iustin Pop | <refsect2> |
137 | 75f49d9b | Iustin Pop | <title>COPYFILE</title> |
138 | 75f49d9b | Iustin Pop | |
139 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
140 | 75f49d9b | Iustin Pop | <command>copyfile</command> |
141 | 75f49d9b | Iustin Pop | <arg>-n <replaceable>node</replaceable></arg> |
142 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>file</replaceable></arg> |
143 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
144 | 75f49d9b | Iustin Pop | |
145 | 75f49d9b | Iustin Pop | <para> |
146 | 75f49d9b | Iustin Pop | Copies a file to all or to some nodes. The argument specifies |
147 | 75f49d9b | Iustin Pop | the source file (on the current system), the |
148 | 75f49d9b | Iustin Pop | <option>-n</option> argument specifies the target node, or |
149 | 75f49d9b | Iustin Pop | nodes if the option is given multiple times. If |
150 | 75f49d9b | Iustin Pop | <option>-n</option> is not given at all, the file will be |
151 | 75f49d9b | Iustin Pop | copied to all nodes. |
152 | 75f49d9b | Iustin Pop | |
153 | 75f49d9b | Iustin Pop | Example: |
154 | 75f49d9b | Iustin Pop | <screen> |
155 | 75f49d9b | Iustin Pop | # gnt-cluster -n node1.example.com -n node2.example.com copyfile /tmp/test |
156 | 75f49d9b | Iustin Pop | </screen> |
157 | 75f49d9b | Iustin Pop | |
158 | 75f49d9b | Iustin Pop | This will copy the file <filename>/tmp/test</filename> from |
159 | 75f49d9b | Iustin Pop | the current node to the two named nodes. |
160 | 75f49d9b | Iustin Pop | </para> |
161 | 75f49d9b | Iustin Pop | </refsect2> |
162 | 75f49d9b | Iustin Pop | |
163 | 75f49d9b | Iustin Pop | <refsect2> |
164 | 75f49d9b | Iustin Pop | <title>DESTROY</title> |
165 | 75f49d9b | Iustin Pop | |
166 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
167 | 75f49d9b | Iustin Pop | <command>destroy</command> |
168 | f69dab6d | Iustin Pop | <arg choice="req">--yes-do-it</arg> |
169 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
170 | 75f49d9b | Iustin Pop | |
171 | 75f49d9b | Iustin Pop | <para> |
172 | 75f49d9b | Iustin Pop | Remove all configuration files related to the cluster, so that |
173 | 75f49d9b | Iustin Pop | a <command>gnt-cluster init</command> can be done again |
174 | 75f49d9b | Iustin Pop | afterwards. |
175 | 75f49d9b | Iustin Pop | </para> |
176 | f69dab6d | Iustin Pop | |
177 | f69dab6d | Iustin Pop | <para> |
178 | f69dab6d | Iustin Pop | Since this is a dangerous command, you are required to pass |
179 | f69dab6d | Iustin Pop | the argument <replaceable>--yes-do-it.</replaceable> |
180 | f69dab6d | Iustin Pop | </para> |
181 | 75f49d9b | Iustin Pop | </refsect2> |
182 | 75f49d9b | Iustin Pop | |
183 | 75f49d9b | Iustin Pop | <refsect2> |
184 | 75f49d9b | Iustin Pop | <title>GETMASTER</title> |
185 | 75f49d9b | Iustin Pop | |
186 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
187 | 75f49d9b | Iustin Pop | <command>getmaster</command> |
188 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
189 | 75f49d9b | Iustin Pop | |
190 | 75f49d9b | Iustin Pop | <para> |
191 | 75f49d9b | Iustin Pop | Displays the current master node. |
192 | 75f49d9b | Iustin Pop | </para> |
193 | 75f49d9b | Iustin Pop | </refsect2> |
194 | 75f49d9b | Iustin Pop | |
195 | 75f49d9b | Iustin Pop | <refsect2> |
196 | 75f49d9b | Iustin Pop | <title>INFO</title> |
197 | 75f49d9b | Iustin Pop | |
198 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
199 | 75f49d9b | Iustin Pop | <command>info</command> |
200 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
201 | 75f49d9b | Iustin Pop | |
202 | 75f49d9b | Iustin Pop | <para> |
203 | 75f49d9b | Iustin Pop | Shows runtime cluster information: cluster name, architecture |
204 | 75f49d9b | Iustin Pop | (32 or 64 bit), master node, node list and instance list. |
205 | 75f49d9b | Iustin Pop | </para> |
206 | 75f49d9b | Iustin Pop | </refsect2> |
207 | 75f49d9b | Iustin Pop | |
208 | 75f49d9b | Iustin Pop | <refsect2> |
209 | 75f49d9b | Iustin Pop | <title>INIT</title> |
210 | 75f49d9b | Iustin Pop | |
211 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
212 | 75f49d9b | Iustin Pop | <command>init</command> |
213 | d3b4cf9f | Iustin Pop | <sbr> |
214 | 75f49d9b | Iustin Pop | <arg>-s <replaceable>secondary_ip</replaceable></arg> |
215 | d3b4cf9f | Iustin Pop | <sbr> |
216 | 75f49d9b | Iustin Pop | <arg>-b <replaceable>bridge</replaceable></arg> |
217 | d3b4cf9f | Iustin Pop | <sbr> |
218 | f3b100e1 | Guido Trotter | <arg>-g <replaceable>vg-name</replaceable></arg> |
219 | d3b4cf9f | Iustin Pop | <sbr> |
220 | f3b100e1 | Guido Trotter | <arg>--master-netdev <replaceable>vg-name</replaceable></arg> |
221 | d3b4cf9f | Iustin Pop | <sbr> |
222 | f3b100e1 | Guido Trotter | <arg>-m <replaceable>mac-prefix</replaceable></arg> |
223 | d3b4cf9f | Iustin Pop | <sbr> |
224 | 11c05c42 | Manuel Franceschini | <arg>--no-lvm-storage</arg> |
225 | d3b4cf9f | Iustin Pop | <sbr> |
226 | 19ae0895 | Alexander Schreiber | <arg>--file-storage-dir <replaceable>dir</replaceable></arg> |
227 | d3b4cf9f | Iustin Pop | <sbr> |
228 | 19ae0895 | Alexander Schreiber | <arg>--enabled-hypervisors <replaceable>hypervisors</replaceable></arg> |
229 | d3b4cf9f | Iustin Pop | <sbr> |
230 | 19ae0895 | Alexander Schreiber | <arg>-t <replaceable>hypervisor name</replaceable></arg> |
231 | d3b4cf9f | Iustin Pop | <sbr> |
232 | 555918b3 | Guido Trotter | <arg>--hypervisor-parameters <replaceable>hypervisor</replaceable>:<replaceable>hv-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>hv-param</replaceable>=<replaceable>value</replaceable></arg></arg> |
233 | d3b4cf9f | Iustin Pop | <sbr> |
234 | 555918b3 | Guido Trotter | <arg>--backend-parameters <replaceable>be-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>be-param</replaceable>=<replaceable>value</replaceable></arg></arg> |
235 | d3b4cf9f | Iustin Pop | <sbr> |
236 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>clustername</replaceable></arg> |
237 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
238 | 75f49d9b | Iustin Pop | |
239 | 75f49d9b | Iustin Pop | <para> |
240 | 75f49d9b | Iustin Pop | This commands is only run once initially on the first node of |
241 | 75f49d9b | Iustin Pop | the cluster. It will initialize the cluster configuration and |
242 | 75f49d9b | Iustin Pop | setup ssh-keys and more. |
243 | 75f49d9b | Iustin Pop | </para> |
244 | 75f49d9b | Iustin Pop | |
245 | 75f49d9b | Iustin Pop | <para> |
246 | 75f49d9b | Iustin Pop | Note that the <replaceable>clustername</replaceable> is not |
247 | 75f49d9b | Iustin Pop | any random name. It has to be resolvable to an IP address |
248 | 75f49d9b | Iustin Pop | using DNS, and it is best if you give the fully-qualified |
249 | 56db8a84 | Alexander Schreiber | domain name. This hostname must resolve to an IP address |
250 | 56db8a84 | Alexander Schreiber | reserved exclusively for this purpose. |
251 | 75f49d9b | Iustin Pop | </para> |
252 | 75f49d9b | Iustin Pop | |
253 | 75f49d9b | Iustin Pop | <para> |
254 | 75f49d9b | Iustin Pop | The cluster can run in two modes: single-home or |
255 | 75f49d9b | Iustin Pop | dual-homed. In the first case, all traffic (both public |
256 | 75f49d9b | Iustin Pop | traffic, inter-node traffic and data replication traffic) goes |
257 | 75f49d9b | Iustin Pop | over the same interface. In the dual-homed case, the data |
258 | 75f49d9b | Iustin Pop | replication traffic goes over the second network. The |
259 | 75f49d9b | Iustin Pop | <option>-s</option> option here marks the cluster as |
260 | 75f49d9b | Iustin Pop | dual-homed and its parameter represents this node's address on |
261 | 75f49d9b | Iustin Pop | the second network. If you initialise the cluster with |
262 | 75f49d9b | Iustin Pop | <option>-s</option>, all nodes added must have a secondary IP |
263 | 75f49d9b | Iustin Pop | as well. |
264 | 75f49d9b | Iustin Pop | </para> |
265 | 75f49d9b | Iustin Pop | |
266 | 75f49d9b | Iustin Pop | <para> |
267 | 75f49d9b | Iustin Pop | Note that for Ganeti it doesn't matter if the secondary |
268 | 75f49d9b | Iustin Pop | network is actually a separate physical network, or is done |
269 | 75f49d9b | Iustin Pop | using tunneling, etc. For performance reasons, it's |
270 | 75f49d9b | Iustin Pop | recommended to use a separate network, of course. |
271 | 75f49d9b | Iustin Pop | </para> |
272 | 75f49d9b | Iustin Pop | |
273 | 75f49d9b | Iustin Pop | <para> |
274 | 75f49d9b | Iustin Pop | The <option>-b</option> option specifies the default bridge |
275 | 75f49d9b | Iustin Pop | for instances. |
276 | 75f49d9b | Iustin Pop | </para> |
277 | f3b100e1 | Guido Trotter | |
278 | bf6fe28b | Alexander Schreiber | <para> |
279 | f3b100e1 | Guido Trotter | The <option>-g</option> option will let you specify a volume group |
280 | 11c05c42 | Manuel Franceschini | different than 'xenvg' for ganeti to use when creating instance disks. |
281 | 11c05c42 | Manuel Franceschini | This volume group must have the same name on all nodes. Once the |
282 | 11c05c42 | Manuel Franceschini | cluster is initialized this can be altered by using the |
283 | 11c05c42 | Manuel Franceschini | <command>modify</command> command. If you don't want to use lvm |
284 | 11c05c42 | Manuel Franceschini | storage at all use the <option>--no-lvm-storage</option> option. |
285 | 11c05c42 | Manuel Franceschini | Once the cluster is initialized you can change this setup with the |
286 | 11c05c42 | Manuel Franceschini | <command>modify</command> command. |
287 | f3b100e1 | Guido Trotter | </para> |
288 | f3b100e1 | Guido Trotter | |
289 | f3b100e1 | Guido Trotter | <para> |
290 | f3b100e1 | Guido Trotter | The <option>--master-netdev</option> option is useful for specifying a |
291 | f3b100e1 | Guido Trotter | different interface on which the master will activate its IP address. |
292 | f3b100e1 | Guido Trotter | It's important that all nodes have this interface because you'll need |
293 | f3b100e1 | Guido Trotter | it for a master failover. |
294 | f3b100e1 | Guido Trotter | </para> |
295 | f3b100e1 | Guido Trotter | |
296 | f3b100e1 | Guido Trotter | <para> |
297 | f3b100e1 | Guido Trotter | The <option>-m</option> option will let you specify a three byte prefix |
298 | f3b100e1 | Guido Trotter | under which the virtual MAC addresses of your instances will be |
299 | f3b100e1 | Guido Trotter | generated. The prefix must be specified in the format XX:XX:XX and the |
300 | f3b100e1 | Guido Trotter | default is aa:00:00. |
301 | f3b100e1 | Guido Trotter | </para> |
302 | f3b100e1 | Guido Trotter | |
303 | 11c05c42 | Manuel Franceschini | <para> |
304 | 11c05c42 | Manuel Franceschini | The <option>--no-lvm-storage</option> allows you to initialize the |
305 | 11c05c42 | Manuel Franceschini | cluster without lvm support. This means that only instances using |
306 | 11c05c42 | Manuel Franceschini | files as storage backend will be possible to create. Once the cluster |
307 | 11c05c42 | Manuel Franceschini | is initialized you can change this setup with the |
308 | 11c05c42 | Manuel Franceschini | <command>modify</command> command. |
309 | 11c05c42 | Manuel Franceschini | </para> |
310 | 19ae0895 | Alexander Schreiber | |
311 | 19ae0895 | Alexander Schreiber | <para> |
312 | 19ae0895 | Alexander Schreiber | The <option>--file-storage-dir</option> option allows you |
313 | 19ae0895 | Alexander Schreiber | set the directory to use for storing the instance disk |
314 | 19ae0895 | Alexander Schreiber | files when using file storage as backend for instance disks. |
315 | 19ae0895 | Alexander Schreiber | </para> |
316 | 19ae0895 | Alexander Schreiber | |
317 | 19ae0895 | Alexander Schreiber | <para> |
318 | 19ae0895 | Alexander Schreiber | The <option>--enabled-hypervisors</option> option allows you |
319 | 19ae0895 | Alexander Schreiber | to set the list of hypervisors that will be enabled for |
320 | 19ae0895 | Alexander Schreiber | this cluster. Instance hypervisors can only be choosen from |
321 | 19ae0895 | Alexander Schreiber | the list of enabled hypervisors. Currently, the following |
322 | 19ae0895 | Alexander Schreiber | hypervisors are available: |
323 | 19ae0895 | Alexander Schreiber | </para> |
324 | 19ae0895 | Alexander Schreiber | |
325 | 19ae0895 | Alexander Schreiber | <para> |
326 | 19ae0895 | Alexander Schreiber | <variablelist> |
327 | 19ae0895 | Alexander Schreiber | <varlistentry> |
328 | 19ae0895 | Alexander Schreiber | <term>xen-pvm</term> |
329 | 19ae0895 | Alexander Schreiber | <listitem> |
330 | 19ae0895 | Alexander Schreiber | <para> |
331 | 19ae0895 | Alexander Schreiber | Xen PVM hypervisor |
332 | 19ae0895 | Alexander Schreiber | </para> |
333 | 19ae0895 | Alexander Schreiber | </listitem> |
334 | 19ae0895 | Alexander Schreiber | </varlistentry> |
335 | 19ae0895 | Alexander Schreiber | <varlistentry> |
336 | 19ae0895 | Alexander Schreiber | <term>xen-hvm</term> |
337 | 19ae0895 | Alexander Schreiber | <listitem> |
338 | 19ae0895 | Alexander Schreiber | <para> |
339 | 19ae0895 | Alexander Schreiber | Xen HVM hypervisor |
340 | 19ae0895 | Alexander Schreiber | </para> |
341 | 19ae0895 | Alexander Schreiber | </listitem> |
342 | 19ae0895 | Alexander Schreiber | </varlistentry> |
343 | 19ae0895 | Alexander Schreiber | <varlistentry> |
344 | 19ae0895 | Alexander Schreiber | <term>kvm</term> |
345 | 19ae0895 | Alexander Schreiber | <listitem> |
346 | 19ae0895 | Alexander Schreiber | <para> |
347 | 19ae0895 | Alexander Schreiber | Linux KVM hypervisor |
348 | 19ae0895 | Alexander Schreiber | </para> |
349 | 19ae0895 | Alexander Schreiber | </listitem> |
350 | 19ae0895 | Alexander Schreiber | </varlistentry> |
351 | 19ae0895 | Alexander Schreiber | <varlistentry> |
352 | 19ae0895 | Alexander Schreiber | <term>fake</term> |
353 | 19ae0895 | Alexander Schreiber | <listitem> |
354 | 19ae0895 | Alexander Schreiber | <para> |
355 | 19ae0895 | Alexander Schreiber | fake hypervisor for development/testing |
356 | 19ae0895 | Alexander Schreiber | </para> |
357 | 19ae0895 | Alexander Schreiber | </listitem> |
358 | 19ae0895 | Alexander Schreiber | </varlistentry> |
359 | 19ae0895 | Alexander Schreiber | </variablelist> |
360 | 19ae0895 | Alexander Schreiber | </para> |
361 | 19ae0895 | Alexander Schreiber | |
362 | 19ae0895 | Alexander Schreiber | <para> |
363 | 19ae0895 | Alexander Schreiber | Either a single hypervisor name or a comma-separated list of |
364 | 19ae0895 | Alexander Schreiber | hypervisor names can be specified. If this option is not |
365 | 19ae0895 | Alexander Schreiber | specified, only the xen-pvm hypervisor is enabled by default. |
366 | 19ae0895 | Alexander Schreiber | </para> |
367 | 19ae0895 | Alexander Schreiber | |
368 | 19ae0895 | Alexander Schreiber | <para> |
369 | 19ae0895 | Alexander Schreiber | With the <option>-t</option> option, the default hypervisor |
370 | 19ae0895 | Alexander Schreiber | can be set. It has to be a member of the list of enabled |
371 | 19ae0895 | Alexander Schreiber | hypervisors. If not specified, the first entry on the list of |
372 | 19ae0895 | Alexander Schreiber | enabled hypervisors will be used by default. |
373 | 19ae0895 | Alexander Schreiber | </para> |
374 | 19ae0895 | Alexander Schreiber | |
375 | 19ae0895 | Alexander Schreiber | <para> |
376 | 19ae0895 | Alexander Schreiber | The <option>--backend</option> option allows you to set |
377 | 19ae0895 | Alexander Schreiber | the default backend parameters for the cluster. The parameter |
378 | 19ae0895 | Alexander Schreiber | format is a comma-separated list of key=value pairs with the |
379 | 19ae0895 | Alexander Schreiber | following supported keys: |
380 | 19ae0895 | Alexander Schreiber | </para> |
381 | 19ae0895 | Alexander Schreiber | |
382 | 19ae0895 | Alexander Schreiber | <para> |
383 | 19ae0895 | Alexander Schreiber | <variablelist> |
384 | 19ae0895 | Alexander Schreiber | <varlistentry> |
385 | 19ae0895 | Alexander Schreiber | <term>vcpus</term> |
386 | 19ae0895 | Alexander Schreiber | <listitem> |
387 | 19ae0895 | Alexander Schreiber | <para> |
388 | 19ae0895 | Alexander Schreiber | Number of VCPUs to set for an instance by default, must |
389 | 19ae0895 | Alexander Schreiber | be an integer, will be set to 1 if no specified. |
390 | 19ae0895 | Alexander Schreiber | </para> |
391 | 19ae0895 | Alexander Schreiber | </listitem> |
392 | 19ae0895 | Alexander Schreiber | </varlistentry> |
393 | 19ae0895 | Alexander Schreiber | <varlistentry> |
394 | 19ae0895 | Alexander Schreiber | <term>memory</term> |
395 | 19ae0895 | Alexander Schreiber | <listitem> |
396 | 19ae0895 | Alexander Schreiber | <para> |
397 | 19ae0895 | Alexander Schreiber | Amount of memory to allocate for an instance by default, |
398 | 19ae0895 | Alexander Schreiber | can be either an integer or an integer followed by a |
399 | 19ae0895 | Alexander Schreiber | unit (M for mebibytes and G for gibibytes are |
400 | 19ae0895 | Alexander Schreiber | supported), will be set to 128M if not specified. |
401 | 19ae0895 | Alexander Schreiber | </para> |
402 | 19ae0895 | Alexander Schreiber | </listitem> |
403 | 19ae0895 | Alexander Schreiber | </varlistentry> |
404 | 19ae0895 | Alexander Schreiber | <varlistentry> |
405 | 19ae0895 | Alexander Schreiber | <term>auto_balance</term> |
406 | 19ae0895 | Alexander Schreiber | <listitem> |
407 | 19ae0895 | Alexander Schreiber | <para> |
408 | 19ae0895 | Alexander Schreiber | Value of the auto_balance flag for instances to use by |
409 | 19ae0895 | Alexander Schreiber | default, will be set to true if not specified. |
410 | 19ae0895 | Alexander Schreiber | </para> |
411 | 19ae0895 | Alexander Schreiber | </listitem> |
412 | 19ae0895 | Alexander Schreiber | </varlistentry> |
413 | 19ae0895 | Alexander Schreiber | </variablelist> |
414 | 19ae0895 | Alexander Schreiber | </para> |
415 | 19ae0895 | Alexander Schreiber | |
416 | 19ae0895 | Alexander Schreiber | <para> |
417 | 19ae0895 | Alexander Schreiber | The <option>--hypervisor-parameters</option> option allows you |
418 | 19ae0895 | Alexander Schreiber | to set default hypervisor specific parameters for the |
419 | 19ae0895 | Alexander Schreiber | cluster. The format of this option is the name of the |
420 | 19ae0895 | Alexander Schreiber | hypervisor, followed by a colon and a comma-separated list of |
421 | d3b4cf9f | Iustin Pop | key=value pairs. The keys available for each hypervisors are |
422 | d3b4cf9f | Iustin Pop | detailed int the <citerefentry> |
423 | d3b4cf9f | Iustin Pop | <refentrytitle>gnt-instance</refentrytitle> |
424 | d3b4cf9f | Iustin Pop | <manvolnum>8</manvolnum> </citerefentry> man page, in the |
425 | d3b4cf9f | Iustin Pop | <command>add</command> command. |
426 | 19ae0895 | Alexander Schreiber | </para> |
427 | 19ae0895 | Alexander Schreiber | |
428 | 75f49d9b | Iustin Pop | </refsect2> |
429 | 75f49d9b | Iustin Pop | |
430 | 75f49d9b | Iustin Pop | <refsect2> |
431 | cc425644 | Iustin Pop | <title>LIST-TAGS</title> |
432 | cc425644 | Iustin Pop | |
433 | cc425644 | Iustin Pop | <cmdsynopsis> |
434 | cc425644 | Iustin Pop | <command>list-tags</command> |
435 | cc425644 | Iustin Pop | </cmdsynopsis> |
436 | cc425644 | Iustin Pop | |
437 | cc425644 | Iustin Pop | <para>List the tags of the cluster.</para> |
438 | cc425644 | Iustin Pop | </refsect2> |
439 | cc425644 | Iustin Pop | |
440 | cc425644 | Iustin Pop | <refsect2> |
441 | 75f49d9b | Iustin Pop | <title>MASTERFAILOVER</title> |
442 | 75f49d9b | Iustin Pop | |
443 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
444 | 75f49d9b | Iustin Pop | <command>masterfailover</command> |
445 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
446 | 75f49d9b | Iustin Pop | |
447 | 75f49d9b | Iustin Pop | <para> |
448 | 75f49d9b | Iustin Pop | Failover the master role to the current node. |
449 | 75f49d9b | Iustin Pop | </para> |
450 | 75f49d9b | Iustin Pop | </refsect2> |
451 | 75f49d9b | Iustin Pop | |
452 | 75f49d9b | Iustin Pop | <refsect2> |
453 | 11c05c42 | Manuel Franceschini | <title>MODIFY</title> |
454 | 11c05c42 | Manuel Franceschini | |
455 | 11c05c42 | Manuel Franceschini | <cmdsynopsis> |
456 | 11c05c42 | Manuel Franceschini | <command>modify</command> |
457 | d3b4cf9f | Iustin Pop | <sbr> |
458 | 11c05c42 | Manuel Franceschini | <arg choice="opt">-g <replaceable>vg-name</replaceable></arg> |
459 | d3b4cf9f | Iustin Pop | <sbr> |
460 | 11c05c42 | Manuel Franceschini | <arg choice="opt">--no-lvm-storage</arg> |
461 | d3b4cf9f | Iustin Pop | <sbr> |
462 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">--enabled-hypervisors |
463 | 18fb5e1d | Alexander Schreiber | <replaceable>hypervisors</replaceable></arg> |
464 | d3b4cf9f | Iustin Pop | <sbr> |
465 | 555918b3 | Guido Trotter | <arg choice="opt">--hypervisor-parameters <replaceable>hypervisor</replaceable>:<replaceable>hv-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>hv-param</replaceable>=<replaceable>value</replaceable></arg></arg> |
466 | d3b4cf9f | Iustin Pop | <sbr> |
467 | 555918b3 | Guido Trotter | <arg choice="opt">--backend-parameters <replaceable>be-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>be-param</replaceable>=<replaceable>value</replaceable></arg></arg> |
468 | d3b4cf9f | Iustin Pop | <sbr> |
469 | d3b4cf9f | Iustin Pop | <arg>-C <replaceable>candidate_pool_size</replaceable></arg> |
470 | 18fb5e1d | Alexander Schreiber | |
471 | 11c05c42 | Manuel Franceschini | </cmdsynopsis> |
472 | 11c05c42 | Manuel Franceschini | |
473 | 11c05c42 | Manuel Franceschini | <para> |
474 | 11c05c42 | Manuel Franceschini | Modify the options for the cluster. |
475 | 11c05c42 | Manuel Franceschini | </para> |
476 | 11c05c42 | Manuel Franceschini | |
477 | 11c05c42 | Manuel Franceschini | <para> |
478 | 18fb5e1d | Alexander Schreiber | The <option>-g</option>, <option>--no-lvm-storarge</option>, |
479 | 18fb5e1d | Alexander Schreiber | <option>--enabled-hypervisors</option>, |
480 | 18fb5e1d | Alexander Schreiber | <option>--hypervisor-parameters</option> and |
481 | 18fb5e1d | Alexander Schreiber | <option>--backend-parameters</option> options are |
482 | 11c05c42 | Manuel Franceschini | described in the <command>init</command> command. |
483 | 11c05c42 | Manuel Franceschini | </para> |
484 | d3b4cf9f | Iustin Pop | |
485 | d3b4cf9f | Iustin Pop | <para> |
486 | d3b4cf9f | Iustin Pop | The <option>-C</option> options specifies the |
487 | d3b4cf9f | Iustin Pop | <varname>candidate_pool_size</varname> cluster parameter. This |
488 | d3b4cf9f | Iustin Pop | is the number of nodes that the master will try to keep as |
489 | d3b4cf9f | Iustin Pop | <literal>master_candidates</literal>. For more details about |
490 | d3b4cf9f | Iustin Pop | this role and other node roles, see the <citerefentry> |
491 | d3b4cf9f | Iustin Pop | <refentrytitle>ganeti</refentrytitle><manvolnum>7</manvolnum> |
492 | d3b4cf9f | Iustin Pop | </citerefentry>. If you increase the size, the master will |
493 | d3b4cf9f | Iustin Pop | automatically promote as many nodes as required and possible |
494 | d3b4cf9f | Iustin Pop | to reach the intended number. |
495 | d3b4cf9f | Iustin Pop | </para> |
496 | 11c05c42 | Manuel Franceschini | </refsect2> |
497 | 11c05c42 | Manuel Franceschini | |
498 | 11c05c42 | Manuel Franceschini | <refsect2> |
499 | 18fb5e1d | Alexander Schreiber | <title>QUEUE</title> |
500 | 18fb5e1d | Alexander Schreiber | |
501 | 18fb5e1d | Alexander Schreiber | <cmdsynopsis> |
502 | 18fb5e1d | Alexander Schreiber | <command>queue</command> |
503 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">drain</arg> |
504 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">undrain</arg> |
505 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">info</arg> |
506 | 18fb5e1d | Alexander Schreiber | |
507 | 18fb5e1d | Alexander Schreiber | </cmdsynopsis> |
508 | 18fb5e1d | Alexander Schreiber | |
509 | 18fb5e1d | Alexander Schreiber | <para> |
510 | 18fb5e1d | Alexander Schreiber | Change job queue properties. |
511 | 18fb5e1d | Alexander Schreiber | </para> |
512 | 18fb5e1d | Alexander Schreiber | |
513 | 18fb5e1d | Alexander Schreiber | <para> |
514 | 18fb5e1d | Alexander Schreiber | The <option>drain</option> option sets the drain flag on the |
515 | 18fb5e1d | Alexander Schreiber | job queue. No new jobs will be accepted, but jobs already in |
516 | 18fb5e1d | Alexander Schreiber | the queue will be processed. |
517 | 18fb5e1d | Alexander Schreiber | </para> |
518 | 18fb5e1d | Alexander Schreiber | |
519 | 18fb5e1d | Alexander Schreiber | <para> |
520 | 18fb5e1d | Alexander Schreiber | The <option>undrain</option> will unset the drain flag on the |
521 | 18fb5e1d | Alexander Schreiber | job queue. New jobs will be accepted. |
522 | 18fb5e1d | Alexander Schreiber | </para> |
523 | 18fb5e1d | Alexander Schreiber | |
524 | 18fb5e1d | Alexander Schreiber | <para> |
525 | 18fb5e1d | Alexander Schreiber | The <option>info</option> option shows the properties of the |
526 | 18fb5e1d | Alexander Schreiber | job queue. |
527 | 18fb5e1d | Alexander Schreiber | </para> |
528 | 18fb5e1d | Alexander Schreiber | </refsect2> |
529 | 18fb5e1d | Alexander Schreiber | |
530 | 18fb5e1d | Alexander Schreiber | <refsect2> |
531 | d3b4cf9f | Iustin Pop | <title>redist-conf</title> |
532 | d3b4cf9f | Iustin Pop | <cmdsynopsis> |
533 | d3b4cf9f | Iustin Pop | <command>redist-conf</command> |
534 | d3b4cf9f | Iustin Pop | <arg>--submit</arg> |
535 | d3b4cf9f | Iustin Pop | </cmdsynopsis> |
536 | d3b4cf9f | Iustin Pop | |
537 | d3b4cf9f | Iustin Pop | <para> |
538 | d3b4cf9f | Iustin Pop | This command forces a full push of configuration files from |
539 | d3b4cf9f | Iustin Pop | the master node to the other nodes in the cluster. This is |
540 | d3b4cf9f | Iustin Pop | normally not needed, but can be run if the |
541 | d3b4cf9f | Iustin Pop | <command>verify</command> complains about configuration |
542 | d3b4cf9f | Iustin Pop | mismatches. |
543 | d3b4cf9f | Iustin Pop | </para> |
544 | d3b4cf9f | Iustin Pop | |
545 | d3b4cf9f | Iustin Pop | <para> |
546 | d3b4cf9f | Iustin Pop | The <option>--submit</option> option is used to send the job |
547 | d3b4cf9f | Iustin Pop | to the master daemon but not wait for its completion. The job |
548 | d3b4cf9f | Iustin Pop | ID will be shown so that it can be examined via |
549 | d3b4cf9f | Iustin Pop | <command>gnt-job info</command>. |
550 | d3b4cf9f | Iustin Pop | </para> |
551 | d3b4cf9f | Iustin Pop | |
552 | d3b4cf9f | Iustin Pop | </refsect2> |
553 | d3b4cf9f | Iustin Pop | <refsect2> |
554 | cc425644 | Iustin Pop | <title>REMOVE-TAGS</title> |
555 | cc425644 | Iustin Pop | |
556 | cc425644 | Iustin Pop | <cmdsynopsis> |
557 | cc425644 | Iustin Pop | <command>remove-tags</command> |
558 | 810c50b7 | Iustin Pop | <arg choice="opt">--from <replaceable>file</replaceable></arg> |
559 | cc425644 | Iustin Pop | <arg choice="req" |
560 | cc425644 | Iustin Pop | rep="repeat"><replaceable>tag</replaceable></arg> |
561 | cc425644 | Iustin Pop | </cmdsynopsis> |
562 | cc425644 | Iustin Pop | |
563 | cc425644 | Iustin Pop | <para> |
564 | cc425644 | Iustin Pop | Remove tags from the cluster. If any of the tags are not |
565 | cc425644 | Iustin Pop | existing on the cluster, the entire operation will abort. |
566 | cc425644 | Iustin Pop | </para> |
567 | 810c50b7 | Iustin Pop | |
568 | 810c50b7 | Iustin Pop | <para> |
569 | 810c50b7 | Iustin Pop | If the <option>--from</option> option is given, the list of |
570 | 810c50b7 | Iustin Pop | tags will be extended with the contents of that file (each |
571 | 810c50b7 | Iustin Pop | line becomes a tag). In this case, there is not need to pass |
572 | 810c50b7 | Iustin Pop | tags on the command line (if you do, both sources will be |
573 | 810c50b7 | Iustin Pop | used). A file name of - will be interpreted as stdin. |
574 | 810c50b7 | Iustin Pop | </para> |
575 | cc425644 | Iustin Pop | </refsect2> |
576 | cc425644 | Iustin Pop | |
577 | cc425644 | Iustin Pop | <refsect2> |
578 | 75f49d9b | Iustin Pop | <title>RENAME</title> |
579 | 75f49d9b | Iustin Pop | |
580 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
581 | 75f49d9b | Iustin Pop | <command>rename</command> |
582 | 75f49d9b | Iustin Pop | <arg>-f</arg> |
583 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>name</replaceable></arg> |
584 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
585 | 75f49d9b | Iustin Pop | |
586 | 75f49d9b | Iustin Pop | <para> |
587 | 75f49d9b | Iustin Pop | Renames the cluster and in the process updates the master IP |
588 | 75f49d9b | Iustin Pop | address to the one the new name resolves to. At least one of |
589 | 75f49d9b | Iustin Pop | either the name or the IP address must be different, otherwise |
590 | 75f49d9b | Iustin Pop | the operation will be aborted. |
591 | 75f49d9b | Iustin Pop | </para> |
592 | 75f49d9b | Iustin Pop | |
593 | 75f49d9b | Iustin Pop | <para> |
594 | 75f49d9b | Iustin Pop | Note that since this command can be dangerous (especially when |
595 | 75f49d9b | Iustin Pop | run over SSH), the command will require confirmation unless |
596 | 75f49d9b | Iustin Pop | run with the <option>-f</option> option. |
597 | 75f49d9b | Iustin Pop | </para> |
598 | 75f49d9b | Iustin Pop | </refsect2> |
599 | 75f49d9b | Iustin Pop | |
600 | 75f49d9b | Iustin Pop | <refsect2> |
601 | 73415719 | Iustin Pop | <title>SEARCH-TAGS</title> |
602 | 73415719 | Iustin Pop | |
603 | 73415719 | Iustin Pop | <cmdsynopsis> |
604 | 73415719 | Iustin Pop | <command>search-tags</command> |
605 | 73415719 | Iustin Pop | <arg choice="req"><replaceable>pattern</replaceable></arg> |
606 | 73415719 | Iustin Pop | </cmdsynopsis> |
607 | 73415719 | Iustin Pop | |
608 | 73415719 | Iustin Pop | <para> |
609 | 73415719 | Iustin Pop | Searches the tags on all objects in the cluster (the cluster |
610 | 73415719 | Iustin Pop | itself, the nodes and the instances) for a given pattern. The |
611 | 73415719 | Iustin Pop | pattern is interpreted as a regular expression and a search |
612 | 73415719 | Iustin Pop | will be done on it (i.e. the given pattern is not anchored to |
613 | 73415719 | Iustin Pop | the beggining of the string; if you want that, prefix the |
614 | 73415719 | Iustin Pop | pattern with <literal>^</literal>). |
615 | 73415719 | Iustin Pop | </para> |
616 | 73415719 | Iustin Pop | |
617 | 73415719 | Iustin Pop | <para> |
618 | 73415719 | Iustin Pop | If no tags are matching the pattern, the exit code of the |
619 | 73415719 | Iustin Pop | command will be one. If there is at least one match, the exit |
620 | 73415719 | Iustin Pop | code will be zero. Each match is listed on one line, the |
621 | 73415719 | Iustin Pop | object and the tag separated by a space. The cluster will be |
622 | 73415719 | Iustin Pop | listed as <filename>/cluster</filename>, a node will be listed |
623 | 73415719 | Iustin Pop | as |
624 | 73415719 | Iustin Pop | <filename>/nodes/<replaceable>name</replaceable></filename>, |
625 | 73415719 | Iustin Pop | and an instance as |
626 | 73415719 | Iustin Pop | <filename>/instances/<replaceable>name</replaceable></filename>. |
627 | 73415719 | Iustin Pop | Example: |
628 | 73415719 | Iustin Pop | </para> |
629 | 73415719 | Iustin Pop | <screen> |
630 | 73415719 | Iustin Pop | # gnt-cluster search time |
631 | 73415719 | Iustin Pop | /cluster ctime:2007-09-01 |
632 | 73415719 | Iustin Pop | /nodes/node1.example.com mtime:2007-10-04 |
633 | 73415719 | Iustin Pop | </screen> |
634 | 73415719 | Iustin Pop | </refsect2> |
635 | 73415719 | Iustin Pop | |
636 | 73415719 | Iustin Pop | <refsect2> |
637 | 75f49d9b | Iustin Pop | <title>VERIFY</title> |
638 | 75f49d9b | Iustin Pop | |
639 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
640 | 75f49d9b | Iustin Pop | <command>verify</command> |
641 | 3cf7c9fa | Guido Trotter | <arg choice="opt">--no-nplus1-mem</arg> |
642 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
643 | 75f49d9b | Iustin Pop | |
644 | 75f49d9b | Iustin Pop | <para> |
645 | 75f49d9b | Iustin Pop | Verify correctness of cluster configuration. This is safe with |
646 | 75f49d9b | Iustin Pop | respect to running instances, and incurs no downtime of the |
647 | 75f49d9b | Iustin Pop | instances. |
648 | 75f49d9b | Iustin Pop | </para> |
649 | 3cf7c9fa | Guido Trotter | |
650 | 3cf7c9fa | Guido Trotter | <para> |
651 | 3cf7c9fa | Guido Trotter | If the <option>--no-nplus1-mem</option> option is given, ganeti won't |
652 | 3cf7c9fa | Guido Trotter | check whether if it loses a node it can restart all the instances on |
653 | 3cf7c9fa | Guido Trotter | their secondaries (and report an error otherwise). |
654 | 3cf7c9fa | Guido Trotter | </para> |
655 | 75f49d9b | Iustin Pop | </refsect2> |
656 | 75f49d9b | Iustin Pop | |
657 | 75f49d9b | Iustin Pop | <refsect2> |
658 | ed2d1409 | Iustin Pop | <title>VERIFY-DISKS</title> |
659 | ed2d1409 | Iustin Pop | |
660 | ed2d1409 | Iustin Pop | <cmdsynopsis> |
661 | ed2d1409 | Iustin Pop | <command>verify-disks</command> |
662 | ed2d1409 | Iustin Pop | </cmdsynopsis> |
663 | ed2d1409 | Iustin Pop | |
664 | ed2d1409 | Iustin Pop | <para> |
665 | ed2d1409 | Iustin Pop | The command checks which instances have degraded DRBD disks |
666 | ed2d1409 | Iustin Pop | and activates the disks of those instances. |
667 | ed2d1409 | Iustin Pop | </para> |
668 | ed2d1409 | Iustin Pop | |
669 | ed2d1409 | Iustin Pop | <para> |
670 | ed2d1409 | Iustin Pop | This command is run from the <command>ganeti-watcher</command> |
671 | ed2d1409 | Iustin Pop | tool, which also has a different, complementary algorithm for |
672 | ed2d1409 | Iustin Pop | doing this check. Together, these two should ensure that DRBD |
673 | ed2d1409 | Iustin Pop | disks are kept consistent. |
674 | ed2d1409 | Iustin Pop | </para> |
675 | ed2d1409 | Iustin Pop | </refsect2> |
676 | ed2d1409 | Iustin Pop | |
677 | ed2d1409 | Iustin Pop | <refsect2> |
678 | 75f49d9b | Iustin Pop | <title>VERSION</title> |
679 | 75f49d9b | Iustin Pop | |
680 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
681 | 75f49d9b | Iustin Pop | <command>version</command> |
682 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
683 | 75f49d9b | Iustin Pop | |
684 | 75f49d9b | Iustin Pop | <para> |
685 | 75f49d9b | Iustin Pop | Show the cluster version. |
686 | 75f49d9b | Iustin Pop | </para> |
687 | 75f49d9b | Iustin Pop | </refsect2> |
688 | a8083063 | Iustin Pop | |
689 | a8083063 | Iustin Pop | </refsect1> |
690 | a8083063 | Iustin Pop | |
691 | a8083063 | Iustin Pop | &footer; |
692 | a8083063 | Iustin Pop | |
693 | a8083063 | Iustin Pop | </refentry> |
694 | a8083063 | Iustin Pop | |
695 | a8083063 | Iustin Pop | <!-- Keep this comment at the end of the file |
696 | a8083063 | Iustin Pop | Local variables: |
697 | a8083063 | Iustin Pop | mode: sgml |
698 | a8083063 | Iustin Pop | sgml-omittag:t |
699 | a8083063 | Iustin Pop | sgml-shorttag:t |
700 | a8083063 | Iustin Pop | sgml-minimize-attributes:nil |
701 | a8083063 | Iustin Pop | sgml-always-quote-attributes:t |
702 | a8083063 | Iustin Pop | sgml-indent-step:2 |
703 | a8083063 | Iustin Pop | sgml-indent-data:t |
704 | a8083063 | Iustin Pop | sgml-parent-document:nil |
705 | a8083063 | Iustin Pop | sgml-default-dtd-file:nil |
706 | a8083063 | Iustin Pop | sgml-exposed-tags:nil |
707 | a8083063 | Iustin Pop | sgml-local-catalogs:nil |
708 | a8083063 | Iustin Pop | sgml-local-ecat-files:nil |
709 | a8083063 | Iustin Pop | End: |
710 | a8083063 | Iustin Pop | --> |