root / man / gnt-cluster.sgml @ 049088b2
History | View | Annotate | Download (34.8 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 | e0897adf | Michael Hanselmann | <!ENTITY dhdate "<date>June 08, 2010</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 | e0897adf | Michael Hanselmann | <refmiscinfo>Ganeti 2.2</refmiscinfo> |
34 | a8083063 | Iustin Pop | </refmeta> |
35 | a8083063 | Iustin Pop | <refnamediv> |
36 | a8083063 | Iustin Pop | <refname>&dhpackage;</refname> |
37 | a8083063 | Iustin Pop | |
38 | e0897adf | Michael Hanselmann | <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 | e0897adf | Michael Hanselmann | 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 | 74adc100 | Iustin Pop | <arg>--use-replication-network</arg> |
142 | 75f49d9b | Iustin Pop | <arg>-n <replaceable>node</replaceable></arg> |
143 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>file</replaceable></arg> |
144 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
145 | 75f49d9b | Iustin Pop | |
146 | 75f49d9b | Iustin Pop | <para> |
147 | 75f49d9b | Iustin Pop | Copies a file to all or to some nodes. The argument specifies |
148 | 75f49d9b | Iustin Pop | the source file (on the current system), the |
149 | 75f49d9b | Iustin Pop | <option>-n</option> argument specifies the target node, or |
150 | 75f49d9b | Iustin Pop | nodes if the option is given multiple times. If |
151 | 75f49d9b | Iustin Pop | <option>-n</option> is not given at all, the file will be |
152 | 75f49d9b | Iustin Pop | copied to all nodes. |
153 | 75f49d9b | Iustin Pop | |
154 | 74adc100 | Iustin Pop | Passing the <option>--use-replication-network</option> option |
155 | 74adc100 | Iustin Pop | will cause the copy to be done over the replication network |
156 | 74adc100 | Iustin Pop | (only matters if the primary/secondary IPs are different). |
157 | 74adc100 | Iustin Pop | |
158 | 75f49d9b | Iustin Pop | Example: |
159 | 75f49d9b | Iustin Pop | <screen> |
160 | 75f49d9b | Iustin Pop | # gnt-cluster -n node1.example.com -n node2.example.com copyfile /tmp/test |
161 | 75f49d9b | Iustin Pop | </screen> |
162 | 75f49d9b | Iustin Pop | |
163 | 75f49d9b | Iustin Pop | This will copy the file <filename>/tmp/test</filename> from |
164 | 75f49d9b | Iustin Pop | the current node to the two named nodes. |
165 | 75f49d9b | Iustin Pop | </para> |
166 | 75f49d9b | Iustin Pop | </refsect2> |
167 | 75f49d9b | Iustin Pop | |
168 | 75f49d9b | Iustin Pop | <refsect2> |
169 | 75f49d9b | Iustin Pop | <title>DESTROY</title> |
170 | 75f49d9b | Iustin Pop | |
171 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
172 | 75f49d9b | Iustin Pop | <command>destroy</command> |
173 | f69dab6d | Iustin Pop | <arg choice="req">--yes-do-it</arg> |
174 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
175 | 75f49d9b | Iustin Pop | |
176 | 75f49d9b | Iustin Pop | <para> |
177 | 75f49d9b | Iustin Pop | Remove all configuration files related to the cluster, so that |
178 | 75f49d9b | Iustin Pop | a <command>gnt-cluster init</command> can be done again |
179 | 75f49d9b | Iustin Pop | afterwards. |
180 | 75f49d9b | Iustin Pop | </para> |
181 | f69dab6d | Iustin Pop | |
182 | f69dab6d | Iustin Pop | <para> |
183 | f69dab6d | Iustin Pop | Since this is a dangerous command, you are required to pass |
184 | f69dab6d | Iustin Pop | the argument <replaceable>--yes-do-it.</replaceable> |
185 | f69dab6d | Iustin Pop | </para> |
186 | 75f49d9b | Iustin Pop | </refsect2> |
187 | 75f49d9b | Iustin Pop | |
188 | 75f49d9b | Iustin Pop | <refsect2> |
189 | 75f49d9b | Iustin Pop | <title>GETMASTER</title> |
190 | 75f49d9b | Iustin Pop | |
191 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
192 | 75f49d9b | Iustin Pop | <command>getmaster</command> |
193 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
194 | 75f49d9b | Iustin Pop | |
195 | 75f49d9b | Iustin Pop | <para> |
196 | 75f49d9b | Iustin Pop | Displays the current master node. |
197 | 75f49d9b | Iustin Pop | </para> |
198 | 75f49d9b | Iustin Pop | </refsect2> |
199 | 75f49d9b | Iustin Pop | |
200 | 75f49d9b | Iustin Pop | <refsect2> |
201 | 75f49d9b | Iustin Pop | <title>INFO</title> |
202 | 75f49d9b | Iustin Pop | |
203 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
204 | 75f49d9b | Iustin Pop | <command>info</command> |
205 | d729e03a | Guido Trotter | <arg>--roman</arg> |
206 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
207 | 75f49d9b | Iustin Pop | |
208 | 75f49d9b | Iustin Pop | <para> |
209 | 75f49d9b | Iustin Pop | Shows runtime cluster information: cluster name, architecture |
210 | 75f49d9b | Iustin Pop | (32 or 64 bit), master node, node list and instance list. |
211 | 75f49d9b | Iustin Pop | </para> |
212 | d729e03a | Guido Trotter | |
213 | d729e03a | Guido Trotter | <para> |
214 | d729e03a | Guido Trotter | Passing the <option>--roman</option> option gnt-cluster info will try |
215 | d729e03a | Guido Trotter | to print its integer fields in a latin friendly way. This allows |
216 | d729e03a | Guido Trotter | further diffusion of Ganeti among ancient cultures. |
217 | d729e03a | Guido Trotter | </para> |
218 | d729e03a | Guido Trotter | |
219 | 75f49d9b | Iustin Pop | </refsect2> |
220 | 75f49d9b | Iustin Pop | |
221 | 75f49d9b | Iustin Pop | <refsect2> |
222 | 75f49d9b | Iustin Pop | <title>INIT</title> |
223 | 75f49d9b | Iustin Pop | |
224 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
225 | 75f49d9b | Iustin Pop | <command>init</command> |
226 | d3b4cf9f | Iustin Pop | <sbr> |
227 | 75f49d9b | Iustin Pop | <arg>-s <replaceable>secondary_ip</replaceable></arg> |
228 | d3b4cf9f | Iustin Pop | <sbr> |
229 | f3b100e1 | Guido Trotter | <arg>-g <replaceable>vg-name</replaceable></arg> |
230 | d3b4cf9f | Iustin Pop | <sbr> |
231 | e538a046 | Guido Trotter | <arg>--master-netdev <replaceable>interface-name</replaceable></arg> |
232 | d3b4cf9f | Iustin Pop | <sbr> |
233 | f3b100e1 | Guido Trotter | <arg>-m <replaceable>mac-prefix</replaceable></arg> |
234 | d3b4cf9f | Iustin Pop | <sbr> |
235 | 11c05c42 | Manuel Franceschini | <arg>--no-lvm-storage</arg> |
236 | d3b4cf9f | Iustin Pop | <sbr> |
237 | b989b9d9 | Ken Wehr | <arg>--no-etc-hosts</arg> |
238 | b989b9d9 | Ken Wehr | <sbr> |
239 | b989b9d9 | Ken Wehr | <arg>--no-ssh-init</arg> |
240 | b989b9d9 | Ken Wehr | <sbr> |
241 | 19ae0895 | Alexander Schreiber | <arg>--file-storage-dir <replaceable>dir</replaceable></arg> |
242 | d3b4cf9f | Iustin Pop | <sbr> |
243 | 19ae0895 | Alexander Schreiber | <arg>--enabled-hypervisors <replaceable>hypervisors</replaceable></arg> |
244 | d3b4cf9f | Iustin Pop | <sbr> |
245 | 19ae0895 | Alexander Schreiber | <arg>-t <replaceable>hypervisor name</replaceable></arg> |
246 | d3b4cf9f | Iustin Pop | <sbr> |
247 | 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> |
248 | d3b4cf9f | Iustin Pop | <sbr> |
249 | 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> |
250 | d3b4cf9f | Iustin Pop | <sbr> |
251 | 7d713344 | Guido Trotter | <arg>--nic-parameters <replaceable>nic-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>nic-param</replaceable>=<replaceable>value</replaceable></arg></arg> |
252 | 7d713344 | Guido Trotter | <sbr> |
253 | 3953242f | Iustin Pop | <arg>--maintain-node-health <group choice="req"><arg>yes</arg><arg>no</arg></group></arg> |
254 | 3953242f | Iustin Pop | <sbr> |
255 | 89100352 | Balazs Lecz | <arg>--uid-pool <replaceable>user-id pool definition</replaceable></arg> |
256 | 89100352 | Balazs Lecz | <sbr> |
257 | 92be7021 | Apollon Oikonomopoulos | <arg>-I <replaceable>default instance allocator</replaceable></arg> |
258 | 92be7021 | Apollon Oikonomopoulos | <sbr> |
259 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>clustername</replaceable></arg> |
260 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
261 | 75f49d9b | Iustin Pop | |
262 | 75f49d9b | Iustin Pop | <para> |
263 | 75f49d9b | Iustin Pop | This commands is only run once initially on the first node of |
264 | 75f49d9b | Iustin Pop | the cluster. It will initialize the cluster configuration and |
265 | 75f49d9b | Iustin Pop | setup ssh-keys and more. |
266 | 75f49d9b | Iustin Pop | </para> |
267 | 75f49d9b | Iustin Pop | |
268 | 75f49d9b | Iustin Pop | <para> |
269 | 75f49d9b | Iustin Pop | Note that the <replaceable>clustername</replaceable> is not |
270 | 75f49d9b | Iustin Pop | any random name. It has to be resolvable to an IP address |
271 | 75f49d9b | Iustin Pop | using DNS, and it is best if you give the fully-qualified |
272 | 56db8a84 | Alexander Schreiber | domain name. This hostname must resolve to an IP address |
273 | 56db8a84 | Alexander Schreiber | reserved exclusively for this purpose. |
274 | 75f49d9b | Iustin Pop | </para> |
275 | 75f49d9b | Iustin Pop | |
276 | 75f49d9b | Iustin Pop | <para> |
277 | 75f49d9b | Iustin Pop | The cluster can run in two modes: single-home or |
278 | 75f49d9b | Iustin Pop | dual-homed. In the first case, all traffic (both public |
279 | 75f49d9b | Iustin Pop | traffic, inter-node traffic and data replication traffic) goes |
280 | 75f49d9b | Iustin Pop | over the same interface. In the dual-homed case, the data |
281 | 75f49d9b | Iustin Pop | replication traffic goes over the second network. The |
282 | 75f49d9b | Iustin Pop | <option>-s</option> option here marks the cluster as |
283 | 75f49d9b | Iustin Pop | dual-homed and its parameter represents this node's address on |
284 | 75f49d9b | Iustin Pop | the second network. If you initialise the cluster with |
285 | 75f49d9b | Iustin Pop | <option>-s</option>, all nodes added must have a secondary IP |
286 | 75f49d9b | Iustin Pop | as well. |
287 | 75f49d9b | Iustin Pop | </para> |
288 | 75f49d9b | Iustin Pop | |
289 | 75f49d9b | Iustin Pop | <para> |
290 | 75f49d9b | Iustin Pop | Note that for Ganeti it doesn't matter if the secondary |
291 | 75f49d9b | Iustin Pop | network is actually a separate physical network, or is done |
292 | 75f49d9b | Iustin Pop | using tunneling, etc. For performance reasons, it's |
293 | 75f49d9b | Iustin Pop | recommended to use a separate network, of course. |
294 | 75f49d9b | Iustin Pop | </para> |
295 | 75f49d9b | Iustin Pop | |
296 | 75f49d9b | Iustin Pop | <para> |
297 | f3b100e1 | Guido Trotter | The <option>-g</option> option will let you specify a volume group |
298 | e0897adf | Michael Hanselmann | different than "xenvg" for Ganeti to use when creating instance disks. |
299 | 11c05c42 | Manuel Franceschini | This volume group must have the same name on all nodes. Once the |
300 | 11c05c42 | Manuel Franceschini | cluster is initialized this can be altered by using the |
301 | 11c05c42 | Manuel Franceschini | <command>modify</command> command. If you don't want to use lvm |
302 | 11c05c42 | Manuel Franceschini | storage at all use the <option>--no-lvm-storage</option> option. |
303 | 11c05c42 | Manuel Franceschini | Once the cluster is initialized you can change this setup with the |
304 | 11c05c42 | Manuel Franceschini | <command>modify</command> command. |
305 | f3b100e1 | Guido Trotter | </para> |
306 | f3b100e1 | Guido Trotter | |
307 | f3b100e1 | Guido Trotter | <para> |
308 | f3b100e1 | Guido Trotter | The <option>--master-netdev</option> option is useful for specifying a |
309 | f3b100e1 | Guido Trotter | different interface on which the master will activate its IP address. |
310 | f3b100e1 | Guido Trotter | It's important that all nodes have this interface because you'll need |
311 | f3b100e1 | Guido Trotter | it for a master failover. |
312 | f3b100e1 | Guido Trotter | </para> |
313 | f3b100e1 | Guido Trotter | |
314 | f3b100e1 | Guido Trotter | <para> |
315 | f3b100e1 | Guido Trotter | The <option>-m</option> option will let you specify a three byte prefix |
316 | f3b100e1 | Guido Trotter | under which the virtual MAC addresses of your instances will be |
317 | f3b100e1 | Guido Trotter | generated. The prefix must be specified in the format XX:XX:XX and the |
318 | f3b100e1 | Guido Trotter | default is aa:00:00. |
319 | f3b100e1 | Guido Trotter | </para> |
320 | f3b100e1 | Guido Trotter | |
321 | 11c05c42 | Manuel Franceschini | <para> |
322 | b989b9d9 | Ken Wehr | The <option>--no-lvm-storage</option> option allows you to initialize |
323 | b989b9d9 | Ken Wehr | the cluster without lvm support. This means that only instances using |
324 | 11c05c42 | Manuel Franceschini | files as storage backend will be possible to create. Once the cluster |
325 | 11c05c42 | Manuel Franceschini | is initialized you can change this setup with the |
326 | 11c05c42 | Manuel Franceschini | <command>modify</command> command. |
327 | 11c05c42 | Manuel Franceschini | </para> |
328 | 19ae0895 | Alexander Schreiber | |
329 | 19ae0895 | Alexander Schreiber | <para> |
330 | b989b9d9 | Ken Wehr | The <option>--no-etc-hosts</option> option allows you to initialize the |
331 | b989b9d9 | Ken Wehr | cluster without modifying the <filename>/etc/hosts</filename> file. |
332 | b989b9d9 | Ken Wehr | </para> |
333 | b989b9d9 | Ken Wehr | |
334 | b989b9d9 | Ken Wehr | <para> |
335 | b989b9d9 | Ken Wehr | The <option>--no-ssh-init</option> option allows you to initialize the |
336 | b989b9d9 | Ken Wehr | cluster without creating or distributing SSH key pairs. |
337 | b989b9d9 | Ken Wehr | </para> |
338 | b989b9d9 | Ken Wehr | |
339 | b989b9d9 | Ken Wehr | <para> |
340 | 19ae0895 | Alexander Schreiber | The <option>--file-storage-dir</option> option allows you |
341 | 19ae0895 | Alexander Schreiber | set the directory to use for storing the instance disk |
342 | 19ae0895 | Alexander Schreiber | files when using file storage as backend for instance disks. |
343 | 19ae0895 | Alexander Schreiber | </para> |
344 | 19ae0895 | Alexander Schreiber | |
345 | 19ae0895 | Alexander Schreiber | <para> |
346 | 19ae0895 | Alexander Schreiber | The <option>--enabled-hypervisors</option> option allows you |
347 | 19ae0895 | Alexander Schreiber | to set the list of hypervisors that will be enabled for |
348 | ba0b05fe | Iustin Pop | this cluster. Instance hypervisors can only be chosen from |
349 | 066f465d | Guido Trotter | the list of enabled hypervisors, and the first entry of this list |
350 | 066f465d | Guido Trotter | will be used by default. Currently, the following hypervisors are |
351 | 066f465d | Guido Trotter | available: |
352 | 19ae0895 | Alexander Schreiber | </para> |
353 | 19ae0895 | Alexander Schreiber | |
354 | 19ae0895 | Alexander Schreiber | <para> |
355 | 19ae0895 | Alexander Schreiber | <variablelist> |
356 | 19ae0895 | Alexander Schreiber | <varlistentry> |
357 | 19ae0895 | Alexander Schreiber | <term>xen-pvm</term> |
358 | 19ae0895 | Alexander Schreiber | <listitem> |
359 | 19ae0895 | Alexander Schreiber | <para> |
360 | 19ae0895 | Alexander Schreiber | Xen PVM hypervisor |
361 | 19ae0895 | Alexander Schreiber | </para> |
362 | 19ae0895 | Alexander Schreiber | </listitem> |
363 | 19ae0895 | Alexander Schreiber | </varlistentry> |
364 | 19ae0895 | Alexander Schreiber | <varlistentry> |
365 | 19ae0895 | Alexander Schreiber | <term>xen-hvm</term> |
366 | 19ae0895 | Alexander Schreiber | <listitem> |
367 | 19ae0895 | Alexander Schreiber | <para> |
368 | 19ae0895 | Alexander Schreiber | Xen HVM hypervisor |
369 | 19ae0895 | Alexander Schreiber | </para> |
370 | 19ae0895 | Alexander Schreiber | </listitem> |
371 | 19ae0895 | Alexander Schreiber | </varlistentry> |
372 | 19ae0895 | Alexander Schreiber | <varlistentry> |
373 | 19ae0895 | Alexander Schreiber | <term>kvm</term> |
374 | 19ae0895 | Alexander Schreiber | <listitem> |
375 | 19ae0895 | Alexander Schreiber | <para> |
376 | 19ae0895 | Alexander Schreiber | Linux KVM hypervisor |
377 | 19ae0895 | Alexander Schreiber | </para> |
378 | 19ae0895 | Alexander Schreiber | </listitem> |
379 | 19ae0895 | Alexander Schreiber | </varlistentry> |
380 | 19ae0895 | Alexander Schreiber | <varlistentry> |
381 | e8a3bf18 | Iustin Pop | <term>chroot</term> |
382 | e8a3bf18 | Iustin Pop | <listitem> |
383 | e8a3bf18 | Iustin Pop | <para> |
384 | e8a3bf18 | Iustin Pop | a simple chroot manager that starts chroot based on a |
385 | e8a3bf18 | Iustin Pop | script at the root of the filesystem holding the |
386 | e8a3bf18 | Iustin Pop | chroot |
387 | e8a3bf18 | Iustin Pop | <varlistentry> |
388 | 19ae0895 | Alexander Schreiber | <term>fake</term> |
389 | 19ae0895 | Alexander Schreiber | <listitem> |
390 | 19ae0895 | Alexander Schreiber | <para> |
391 | 19ae0895 | Alexander Schreiber | fake hypervisor for development/testing |
392 | 19ae0895 | Alexander Schreiber | </para> |
393 | 19ae0895 | Alexander Schreiber | </listitem> |
394 | 19ae0895 | Alexander Schreiber | </varlistentry> |
395 | 19ae0895 | Alexander Schreiber | </variablelist> |
396 | 19ae0895 | Alexander Schreiber | </para> |
397 | 19ae0895 | Alexander Schreiber | |
398 | 19ae0895 | Alexander Schreiber | <para> |
399 | 19ae0895 | Alexander Schreiber | Either a single hypervisor name or a comma-separated list of |
400 | 19ae0895 | Alexander Schreiber | hypervisor names can be specified. If this option is not |
401 | 19ae0895 | Alexander Schreiber | specified, only the xen-pvm hypervisor is enabled by default. |
402 | 19ae0895 | Alexander Schreiber | </para> |
403 | 19ae0895 | Alexander Schreiber | |
404 | 19ae0895 | Alexander Schreiber | <para> |
405 | e8a3bf18 | Iustin Pop | The <option>--hypervisor-parameters</option> option allows you |
406 | e8a3bf18 | Iustin Pop | to set default hypervisor specific parameters for the |
407 | e8a3bf18 | Iustin Pop | cluster. The format of this option is the name of the |
408 | e8a3bf18 | Iustin Pop | hypervisor, followed by a colon and a comma-separated list of |
409 | e8a3bf18 | Iustin Pop | key=value pairs. The keys available for each hypervisors are |
410 | e8a3bf18 | Iustin Pop | detailed in the <citerefentry> |
411 | e8a3bf18 | Iustin Pop | <refentrytitle>gnt-instance</refentrytitle> |
412 | e8a3bf18 | Iustin Pop | <manvolnum>8</manvolnum> </citerefentry> man page, in the |
413 | e8a3bf18 | Iustin Pop | <command>add</command> command plus the following parameters |
414 | e8a3bf18 | Iustin Pop | which are only configurable globally (at cluster level): |
415 | e8a3bf18 | Iustin Pop | |
416 | e8a3bf18 | Iustin Pop | <variablelist> |
417 | e8a3bf18 | Iustin Pop | <varlistentry> |
418 | e8a3bf18 | Iustin Pop | <term>migration_port</term> |
419 | e8a3bf18 | Iustin Pop | <listitem> |
420 | e8a3bf18 | Iustin Pop | <simpara>Valid for the Xen PVM and KVM hypervisors.</simpara> |
421 | e8a3bf18 | Iustin Pop | |
422 | e8a3bf18 | Iustin Pop | <para> |
423 | e8a3bf18 | Iustin Pop | This options specifies the TCP port to use for |
424 | e8a3bf18 | Iustin Pop | live-migration. For Xen, the same port should be |
425 | e8a3bf18 | Iustin Pop | configured on all nodes in |
426 | e8a3bf18 | Iustin Pop | the <filename>/etc/xen/xend-config.sxp</filename> |
427 | e8a3bf18 | Iustin Pop | file, under the |
428 | e8a3bf18 | Iustin Pop | key <quote>xend-relocation-port</quote>. |
429 | e8a3bf18 | Iustin Pop | </para> |
430 | e8a3bf18 | Iustin Pop | </listitem> |
431 | e8a3bf18 | Iustin Pop | </varlistentry> |
432 | e43d4f9f | Apollon Oikonomopoulos | <varlistentry> |
433 | e43d4f9f | Apollon Oikonomopoulos | <term>migration_bandwidth</term> |
434 | e43d4f9f | Apollon Oikonomopoulos | <listitem> |
435 | e43d4f9f | Apollon Oikonomopoulos | <simpara>Valid for the KVM hypervisor.</simpara> |
436 | e43d4f9f | Apollon Oikonomopoulos | |
437 | e43d4f9f | Apollon Oikonomopoulos | <para> |
438 | e43d4f9f | Apollon Oikonomopoulos | This option specifies the maximum bandwidth that KVM will |
439 | e43d4f9f | Apollon Oikonomopoulos | use for instance live migrations. The value is in MiB/s. |
440 | e43d4f9f | Apollon Oikonomopoulos | </para> |
441 | e43d4f9f | Apollon Oikonomopoulos | |
442 | e43d4f9f | Apollon Oikonomopoulos | <simpara>This option is only effective with kvm versions >= 78 |
443 | e43d4f9f | Apollon Oikonomopoulos | and qemu-kvm versions >= 0.10.0. |
444 | e43d4f9f | Apollon Oikonomopoulos | </simpara> |
445 | e43d4f9f | Apollon Oikonomopoulos | </listitem> |
446 | e43d4f9f | Apollon Oikonomopoulos | </varlistentry> |
447 | e8a3bf18 | Iustin Pop | </variablelist> |
448 | e8a3bf18 | Iustin Pop | |
449 | e8a3bf18 | Iustin Pop | </para> |
450 | e8a3bf18 | Iustin Pop | |
451 | e8a3bf18 | Iustin Pop | <para> |
452 | 280b79b3 | Guido Trotter | The <option>--backend-parameters</option> option allows you to set |
453 | 19ae0895 | Alexander Schreiber | the default backend parameters for the cluster. The parameter |
454 | 19ae0895 | Alexander Schreiber | format is a comma-separated list of key=value pairs with the |
455 | 19ae0895 | Alexander Schreiber | following supported keys: |
456 | 19ae0895 | Alexander Schreiber | </para> |
457 | 19ae0895 | Alexander Schreiber | |
458 | 19ae0895 | Alexander Schreiber | <para> |
459 | 19ae0895 | Alexander Schreiber | <variablelist> |
460 | 19ae0895 | Alexander Schreiber | <varlistentry> |
461 | 19ae0895 | Alexander Schreiber | <term>vcpus</term> |
462 | 19ae0895 | Alexander Schreiber | <listitem> |
463 | 19ae0895 | Alexander Schreiber | <para> |
464 | 19ae0895 | Alexander Schreiber | Number of VCPUs to set for an instance by default, must |
465 | 19ae0895 | Alexander Schreiber | be an integer, will be set to 1 if no specified. |
466 | 19ae0895 | Alexander Schreiber | </para> |
467 | 19ae0895 | Alexander Schreiber | </listitem> |
468 | 19ae0895 | Alexander Schreiber | </varlistentry> |
469 | 19ae0895 | Alexander Schreiber | <varlistentry> |
470 | 19ae0895 | Alexander Schreiber | <term>memory</term> |
471 | 19ae0895 | Alexander Schreiber | <listitem> |
472 | 19ae0895 | Alexander Schreiber | <para> |
473 | 19ae0895 | Alexander Schreiber | Amount of memory to allocate for an instance by default, |
474 | 19ae0895 | Alexander Schreiber | can be either an integer or an integer followed by a |
475 | 19ae0895 | Alexander Schreiber | unit (M for mebibytes and G for gibibytes are |
476 | 19ae0895 | Alexander Schreiber | supported), will be set to 128M if not specified. |
477 | 19ae0895 | Alexander Schreiber | </para> |
478 | 19ae0895 | Alexander Schreiber | </listitem> |
479 | 19ae0895 | Alexander Schreiber | </varlistentry> |
480 | 19ae0895 | Alexander Schreiber | <varlistentry> |
481 | 19ae0895 | Alexander Schreiber | <term>auto_balance</term> |
482 | 19ae0895 | Alexander Schreiber | <listitem> |
483 | 19ae0895 | Alexander Schreiber | <para> |
484 | 19ae0895 | Alexander Schreiber | Value of the auto_balance flag for instances to use by |
485 | 19ae0895 | Alexander Schreiber | default, will be set to true if not specified. |
486 | 19ae0895 | Alexander Schreiber | </para> |
487 | 19ae0895 | Alexander Schreiber | </listitem> |
488 | 19ae0895 | Alexander Schreiber | </varlistentry> |
489 | 19ae0895 | Alexander Schreiber | </variablelist> |
490 | 19ae0895 | Alexander Schreiber | </para> |
491 | 19ae0895 | Alexander Schreiber | |
492 | 19ae0895 | Alexander Schreiber | <para> |
493 | 7d713344 | Guido Trotter | The <option>--nic-parameters</option> option allows you to set |
494 | 7d713344 | Guido Trotter | the default nic parameters for the cluster. The parameter |
495 | 7d713344 | Guido Trotter | format is a comma-separated list of key=value pairs with the |
496 | 7d713344 | Guido Trotter | following supported keys: |
497 | 7d713344 | Guido Trotter | <variablelist> |
498 | 7d713344 | Guido Trotter | <varlistentry> |
499 | 7d713344 | Guido Trotter | <term>mode</term> |
500 | 7d713344 | Guido Trotter | <listitem> |
501 | 7d713344 | Guido Trotter | <para> |
502 | 7d713344 | Guido Trotter | The default nic mode, 'routed' or 'bridged'. |
503 | 7d713344 | Guido Trotter | </para> |
504 | 7d713344 | Guido Trotter | </listitem> |
505 | 7d713344 | Guido Trotter | </varlistentry> |
506 | 7d713344 | Guido Trotter | <varlistentry> |
507 | 7d713344 | Guido Trotter | <term>link</term> |
508 | 7d713344 | Guido Trotter | <listitem> |
509 | 7d713344 | Guido Trotter | <para> |
510 | 8063787e | Guido Trotter | In bridged mode the default NIC bridge. In routed mode it |
511 | 8063787e | Guido Trotter | represents an hypervisor-vif-script dependent value to allow |
512 | 8063787e | Guido Trotter | different instance groups. For example under the KVM default |
513 | 8063787e | Guido Trotter | network script it is interpreted as a routing table number or |
514 | 8063787e | Guido Trotter | name. |
515 | 7d713344 | Guido Trotter | </para> |
516 | 7d713344 | Guido Trotter | </listitem> |
517 | 7d713344 | Guido Trotter | </varlistentry> |
518 | 7d713344 | Guido Trotter | </variablelist> |
519 | 7d713344 | Guido Trotter | </para> |
520 | 7d713344 | Guido Trotter | |
521 | 3953242f | Iustin Pop | <para> |
522 | 3953242f | Iustin Pop | The option <option>--maintain-node-health</option> allows to |
523 | 3953242f | Iustin Pop | enable/disable automatic maintenance actions on |
524 | 3953242f | Iustin Pop | nodes. Currently these include automatic shutdown of instances |
525 | 3953242f | Iustin Pop | and deactivation of DRBD devices on offline nodes; in the |
526 | 3953242f | Iustin Pop | future it might be extended to automatic removal of unknown |
527 | 3953242f | Iustin Pop | LVM volumes, etc. |
528 | 3953242f | Iustin Pop | </para> |
529 | 3953242f | Iustin Pop | |
530 | 89100352 | Balazs Lecz | <para> |
531 | 89100352 | Balazs Lecz | The <option>--uid-pool</option> option initializes the user-id pool. |
532 | 89100352 | Balazs Lecz | The <replaceable>user-id pool definition</replaceable> can contain a |
533 | 89100352 | Balazs Lecz | list of user-ids and/or a list of user-id ranges. The parameter format |
534 | 89100352 | Balazs Lecz | is a comma-separated list of numeric user-ids or user-id ranges. |
535 | 89100352 | Balazs Lecz | The ranges are defined by a lower and higher boundary, separated |
536 | 89100352 | Balazs Lecz | by a dash. The boundaries are inclusive. |
537 | 89100352 | Balazs Lecz | If the <option>--uid-pool</option> option is not supplied, the |
538 | 89100352 | Balazs Lecz | user-id pool is initialized to an empty list. An empty list means that |
539 | 89100352 | Balazs Lecz | the user-id pool feature is disabled. |
540 | 89100352 | Balazs Lecz | </para> |
541 | 89100352 | Balazs Lecz | |
542 | 92be7021 | Apollon Oikonomopoulos | <para> |
543 | f38ea602 | Iustin Pop | The <option>-I (--default-iallocator)</option> option specifies the |
544 | f38ea602 | Iustin Pop | default instance allocator. The instance allocator will be used for |
545 | f38ea602 | Iustin Pop | operations like instance creation, instance and node migration, etc. |
546 | f38ea602 | Iustin Pop | when no manual override is specified. If this option is not specified, |
547 | f38ea602 | Iustin Pop | the default instance allocator will be blank, which means that relevant |
548 | f38ea602 | Iustin Pop | operations will require the administrator to manually specify either an |
549 | 92be7021 | Apollon Oikonomopoulos | instance allocator, or a set of nodes. |
550 | f38ea602 | Iustin Pop | The default iallocator can be changed later using the |
551 | 92be7021 | Apollon Oikonomopoulos | <command>modify</command> command. |
552 | 92be7021 | Apollon Oikonomopoulos | </para> |
553 | 92be7021 | Apollon Oikonomopoulos | |
554 | 75f49d9b | Iustin Pop | </refsect2> |
555 | 75f49d9b | Iustin Pop | |
556 | 75f49d9b | Iustin Pop | <refsect2> |
557 | cc425644 | Iustin Pop | <title>LIST-TAGS</title> |
558 | cc425644 | Iustin Pop | |
559 | cc425644 | Iustin Pop | <cmdsynopsis> |
560 | cc425644 | Iustin Pop | <command>list-tags</command> |
561 | cc425644 | Iustin Pop | </cmdsynopsis> |
562 | cc425644 | Iustin Pop | |
563 | cc425644 | Iustin Pop | <para>List the tags of the cluster.</para> |
564 | cc425644 | Iustin Pop | </refsect2> |
565 | cc425644 | Iustin Pop | |
566 | cc425644 | Iustin Pop | <refsect2> |
567 | c28502b1 | Iustin Pop | <title>MASTER-FAILOVER</title> |
568 | 75f49d9b | Iustin Pop | |
569 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
570 | c28502b1 | Iustin Pop | <command>master-failover</command> |
571 | 8e2524c3 | Guido Trotter | <arg>--no-voting</arg> |
572 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
573 | 75f49d9b | Iustin Pop | |
574 | 75f49d9b | Iustin Pop | <para> |
575 | 75f49d9b | Iustin Pop | Failover the master role to the current node. |
576 | 75f49d9b | Iustin Pop | </para> |
577 | 8e2524c3 | Guido Trotter | |
578 | 8e2524c3 | Guido Trotter | <para> |
579 | 8e2524c3 | Guido Trotter | The <option>--no-voting</option> option skips the remote node agreement |
580 | 8e2524c3 | Guido Trotter | checks. This is dangerous, but necessary in some cases (for example |
581 | e0897adf | Michael Hanselmann | failing over the master role in a 2 node cluster with the original |
582 | e0897adf | Michael Hanselmann | master down). If the original master then comes up, it won't be able to |
583 | e0897adf | Michael Hanselmann | start its master daemon because it won't have enough votes, but so |
584 | e0897adf | Michael Hanselmann | won't the new master, if the master daemon ever needs a restart. You |
585 | e0897adf | Michael Hanselmann | can pass <option>--no-voting</option> to |
586 | e0897adf | Michael Hanselmann | <command>ganeti-masterd</command> on the new master to solve this |
587 | e0897adf | Michael Hanselmann | problem, and run <command>gnt-cluster redist-conf</command> to make |
588 | e0897adf | Michael Hanselmann | sure the cluster is consistent again. |
589 | 8e2524c3 | Guido Trotter | </para> |
590 | 8e2524c3 | Guido Trotter | |
591 | 75f49d9b | Iustin Pop | </refsect2> |
592 | 75f49d9b | Iustin Pop | |
593 | 75f49d9b | Iustin Pop | <refsect2> |
594 | 4404ffad | Iustin Pop | <title>MASTER-PING</title> |
595 | 4404ffad | Iustin Pop | |
596 | 4404ffad | Iustin Pop | <cmdsynopsis> |
597 | 4404ffad | Iustin Pop | <command>master-ping</command> |
598 | 4404ffad | Iustin Pop | </cmdsynopsis> |
599 | 4404ffad | Iustin Pop | |
600 | 4404ffad | Iustin Pop | <para> |
601 | 4404ffad | Iustin Pop | Checks if the master daemon is alive. |
602 | 4404ffad | Iustin Pop | </para> |
603 | 4404ffad | Iustin Pop | |
604 | 4404ffad | Iustin Pop | <para> |
605 | 4404ffad | Iustin Pop | If the master daemon is alive and can respond to a basic query |
606 | 4404ffad | Iustin Pop | (the equivalent of <command>gnt-cluster info</command>), then |
607 | 4404ffad | Iustin Pop | the exit code of the command will be 0. If the master daemon |
608 | 4404ffad | Iustin Pop | is not alive (either due to a crash or because this is not the |
609 | 4404ffad | Iustin Pop | master node), the exit code will be 1. |
610 | 4404ffad | Iustin Pop | </para> |
611 | 4404ffad | Iustin Pop | |
612 | 4404ffad | Iustin Pop | </refsect2> |
613 | 4404ffad | Iustin Pop | |
614 | 4404ffad | Iustin Pop | <refsect2> |
615 | 11c05c42 | Manuel Franceschini | <title>MODIFY</title> |
616 | 11c05c42 | Manuel Franceschini | |
617 | 11c05c42 | Manuel Franceschini | <cmdsynopsis> |
618 | 11c05c42 | Manuel Franceschini | <command>modify</command> |
619 | d3b4cf9f | Iustin Pop | <sbr> |
620 | 11c05c42 | Manuel Franceschini | <arg choice="opt">-g <replaceable>vg-name</replaceable></arg> |
621 | d3b4cf9f | Iustin Pop | <sbr> |
622 | 11c05c42 | Manuel Franceschini | <arg choice="opt">--no-lvm-storage</arg> |
623 | d3b4cf9f | Iustin Pop | <sbr> |
624 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">--enabled-hypervisors |
625 | 18fb5e1d | Alexander Schreiber | <replaceable>hypervisors</replaceable></arg> |
626 | d3b4cf9f | Iustin Pop | <sbr> |
627 | 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> |
628 | d3b4cf9f | Iustin Pop | <sbr> |
629 | 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> |
630 | d3b4cf9f | Iustin Pop | <sbr> |
631 | 7d713344 | Guido Trotter | <arg choice="opt">--nic-parameters <replaceable>nic-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>nic-param</replaceable>=<replaceable>value</replaceable></arg></arg> |
632 | 7d713344 | Guido Trotter | <sbr> |
633 | 89100352 | Balazs Lecz | <arg choice="opt">--uid-pool <replaceable>user-id pool definition</replaceable></arg> |
634 | 89100352 | Balazs Lecz | <sbr> |
635 | 89100352 | Balazs Lecz | <arg choice="opt">--add-uids <replaceable>user-id pool definition</replaceable></arg> |
636 | 89100352 | Balazs Lecz | <sbr> |
637 | 89100352 | Balazs Lecz | <arg choice="opt">--remove-uids <replaceable>user-id pool definition</replaceable></arg> |
638 | 89100352 | Balazs Lecz | <sbr> |
639 | 6d4a1656 | Michael Hanselmann | <arg choice="opt">-C <replaceable>candidate_pool_size</replaceable></arg> |
640 | 3953242f | Iustin Pop | <sbr> |
641 | 3953242f | Iustin Pop | <arg>--maintain-node-health <group choice="req"><arg>yes</arg><arg>no</arg></group></arg> |
642 | 92be7021 | Apollon Oikonomopoulos | <sbr> |
643 | 92be7021 | Apollon Oikonomopoulos | <arg choice="opt">-I <replaceable>default instance allocator</replaceable></arg> |
644 | 18fb5e1d | Alexander Schreiber | |
645 | f38ea602 | Iustin Pop | <sbr> |
646 | f38ea602 | Iustin Pop | <arg>--reserved-lvs=<replaceable>NAMES</replaceable></arg> |
647 | f38ea602 | Iustin Pop | |
648 | 11c05c42 | Manuel Franceschini | </cmdsynopsis> |
649 | 11c05c42 | Manuel Franceschini | |
650 | 11c05c42 | Manuel Franceschini | <para> |
651 | 11c05c42 | Manuel Franceschini | Modify the options for the cluster. |
652 | 11c05c42 | Manuel Franceschini | </para> |
653 | 11c05c42 | Manuel Franceschini | |
654 | 11c05c42 | Manuel Franceschini | <para> |
655 | 18fb5e1d | Alexander Schreiber | The <option>-g</option>, <option>--no-lvm-storarge</option>, |
656 | 18fb5e1d | Alexander Schreiber | <option>--enabled-hypervisors</option>, |
657 | 7d713344 | Guido Trotter | <option>--hypervisor-parameters</option>, |
658 | 89100352 | Balazs Lecz | <option>--backend-parameters</option>, |
659 | 89100352 | Balazs Lecz | <option>--nic-parameters</option>, |
660 | 92be7021 | Apollon Oikonomopoulos | <option>--maintain-node-health</option>, |
661 | 92be7021 | Apollon Oikonomopoulos | <option>--uid-pool</option> and |
662 | 92be7021 | Apollon Oikonomopoulos | <option>-I</option> options are |
663 | 11c05c42 | Manuel Franceschini | described in the <command>init</command> command. |
664 | 11c05c42 | Manuel Franceschini | </para> |
665 | d3b4cf9f | Iustin Pop | |
666 | d3b4cf9f | Iustin Pop | <para> |
667 | 6d4a1656 | Michael Hanselmann | The <option>-C</option> option specifies the |
668 | d3b4cf9f | Iustin Pop | <varname>candidate_pool_size</varname> cluster parameter. This |
669 | d3b4cf9f | Iustin Pop | is the number of nodes that the master will try to keep as |
670 | d3b4cf9f | Iustin Pop | <literal>master_candidates</literal>. For more details about |
671 | d3b4cf9f | Iustin Pop | this role and other node roles, see the <citerefentry> |
672 | d3b4cf9f | Iustin Pop | <refentrytitle>ganeti</refentrytitle><manvolnum>7</manvolnum> |
673 | d3b4cf9f | Iustin Pop | </citerefentry>. If you increase the size, the master will |
674 | d3b4cf9f | Iustin Pop | automatically promote as many nodes as required and possible |
675 | d3b4cf9f | Iustin Pop | to reach the intended number. |
676 | d3b4cf9f | Iustin Pop | </para> |
677 | 89100352 | Balazs Lecz | |
678 | 89100352 | Balazs Lecz | <para> |
679 | 89100352 | Balazs Lecz | The <option>--add-uids</option> and <option>--remove-uids</option> |
680 | 89100352 | Balazs Lecz | options can be used to modify the user-id pool by adding/removing |
681 | 89100352 | Balazs Lecz | a list of user-ids or user-id ranges. |
682 | f38ea602 | Iustin Pop | </para> |
683 | f38ea602 | Iustin Pop | |
684 | f38ea602 | Iustin Pop | <para> |
685 | f38ea602 | Iustin Pop | The option <option>--reserved-lvs</option> specifies a list |
686 | f38ea602 | Iustin Pop | (comma-separated) of logical volume group names (regular |
687 | f38ea602 | Iustin Pop | expressions) that will be ignored by the cluster verify |
688 | f38ea602 | Iustin Pop | operation. This is useful if the volume group used for Ganeti |
689 | f38ea602 | Iustin Pop | is shared with the system for other uses. Note that it's not |
690 | f38ea602 | Iustin Pop | recommended to create and mark as ignored logical volume names |
691 | f38ea602 | Iustin Pop | which match Ganeti's own name format (starting with UUID and |
692 | f38ea602 | Iustin Pop | then <literal>.diskN</literal>), as this option only skips the |
693 | f38ea602 | Iustin Pop | verification, but not the actual use of the names given. |
694 | f38ea602 | Iustin Pop | </para> |
695 | f38ea602 | Iustin Pop | |
696 | f38ea602 | Iustin Pop | <para> |
697 | f38ea602 | Iustin Pop | To remove all reserved logical volumes, pass in an empty |
698 | f38ea602 | Iustin Pop | argument to the option, as in <option>--reserved-lvs=</option> |
699 | f38ea602 | Iustin Pop | or <option>--reserved-lvs ''</option>. |
700 | f38ea602 | Iustin Pop | </para> |
701 | f38ea602 | Iustin Pop | |
702 | 11c05c42 | Manuel Franceschini | </refsect2> |
703 | 11c05c42 | Manuel Franceschini | |
704 | 11c05c42 | Manuel Franceschini | <refsect2> |
705 | 18fb5e1d | Alexander Schreiber | <title>QUEUE</title> |
706 | 18fb5e1d | Alexander Schreiber | |
707 | 18fb5e1d | Alexander Schreiber | <cmdsynopsis> |
708 | 18fb5e1d | Alexander Schreiber | <command>queue</command> |
709 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">drain</arg> |
710 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">undrain</arg> |
711 | 18fb5e1d | Alexander Schreiber | <arg choice="opt">info</arg> |
712 | 18fb5e1d | Alexander Schreiber | |
713 | 18fb5e1d | Alexander Schreiber | </cmdsynopsis> |
714 | 18fb5e1d | Alexander Schreiber | |
715 | 18fb5e1d | Alexander Schreiber | <para> |
716 | 18fb5e1d | Alexander Schreiber | Change job queue properties. |
717 | 18fb5e1d | Alexander Schreiber | </para> |
718 | 18fb5e1d | Alexander Schreiber | |
719 | 18fb5e1d | Alexander Schreiber | <para> |
720 | 18fb5e1d | Alexander Schreiber | The <option>drain</option> option sets the drain flag on the |
721 | 18fb5e1d | Alexander Schreiber | job queue. No new jobs will be accepted, but jobs already in |
722 | 18fb5e1d | Alexander Schreiber | the queue will be processed. |
723 | 18fb5e1d | Alexander Schreiber | </para> |
724 | 18fb5e1d | Alexander Schreiber | |
725 | 18fb5e1d | Alexander Schreiber | <para> |
726 | 18fb5e1d | Alexander Schreiber | The <option>undrain</option> will unset the drain flag on the |
727 | 18fb5e1d | Alexander Schreiber | job queue. New jobs will be accepted. |
728 | 18fb5e1d | Alexander Schreiber | </para> |
729 | 18fb5e1d | Alexander Schreiber | |
730 | 18fb5e1d | Alexander Schreiber | <para> |
731 | 18fb5e1d | Alexander Schreiber | The <option>info</option> option shows the properties of the |
732 | 18fb5e1d | Alexander Schreiber | job queue. |
733 | 18fb5e1d | Alexander Schreiber | </para> |
734 | 18fb5e1d | Alexander Schreiber | </refsect2> |
735 | 18fb5e1d | Alexander Schreiber | |
736 | 18fb5e1d | Alexander Schreiber | <refsect2> |
737 | 95b2e626 | Michael Hanselmann | <title>WATCHER</title> |
738 | 95b2e626 | Michael Hanselmann | |
739 | 95b2e626 | Michael Hanselmann | <cmdsynopsis> |
740 | 95b2e626 | Michael Hanselmann | <command>watcher</command> |
741 | 95b2e626 | Michael Hanselmann | <group choice="req"> |
742 | 95b2e626 | Michael Hanselmann | <arg>pause <replaceable>duration</replaceable></arg> |
743 | 95b2e626 | Michael Hanselmann | <arg>continue</arg> |
744 | 95b2e626 | Michael Hanselmann | <arg>info</arg> |
745 | 95b2e626 | Michael Hanselmann | </group> |
746 | 95b2e626 | Michael Hanselmann | </cmdsynopsis> |
747 | 95b2e626 | Michael Hanselmann | |
748 | 95b2e626 | Michael Hanselmann | <para> |
749 | 95b2e626 | Michael Hanselmann | Make the watcher pause or let it continue. |
750 | 95b2e626 | Michael Hanselmann | </para> |
751 | 95b2e626 | Michael Hanselmann | |
752 | 95b2e626 | Michael Hanselmann | <para> |
753 | 95b2e626 | Michael Hanselmann | The <option>pause</option> option causes the watcher to pause for |
754 | 95b2e626 | Michael Hanselmann | <replaceable>duration</replaceable> seconds. |
755 | 95b2e626 | Michael Hanselmann | </para> |
756 | 95b2e626 | Michael Hanselmann | |
757 | 95b2e626 | Michael Hanselmann | <para> |
758 | 95b2e626 | Michael Hanselmann | The <option>continue</option> option will let the watcher continue. |
759 | 95b2e626 | Michael Hanselmann | </para> |
760 | 95b2e626 | Michael Hanselmann | |
761 | 95b2e626 | Michael Hanselmann | <para> |
762 | 95b2e626 | Michael Hanselmann | The <option>info</option> option shows whether the watcher is currently |
763 | 95b2e626 | Michael Hanselmann | paused. |
764 | 95b2e626 | Michael Hanselmann | </para> |
765 | 95b2e626 | Michael Hanselmann | </refsect2> |
766 | 95b2e626 | Michael Hanselmann | |
767 | 95b2e626 | Michael Hanselmann | <refsect2> |
768 | d3b4cf9f | Iustin Pop | <title>redist-conf</title> |
769 | d3b4cf9f | Iustin Pop | <cmdsynopsis> |
770 | d3b4cf9f | Iustin Pop | <command>redist-conf</command> |
771 | d3b4cf9f | Iustin Pop | <arg>--submit</arg> |
772 | d3b4cf9f | Iustin Pop | </cmdsynopsis> |
773 | d3b4cf9f | Iustin Pop | |
774 | d3b4cf9f | Iustin Pop | <para> |
775 | d3b4cf9f | Iustin Pop | This command forces a full push of configuration files from |
776 | d3b4cf9f | Iustin Pop | the master node to the other nodes in the cluster. This is |
777 | d3b4cf9f | Iustin Pop | normally not needed, but can be run if the |
778 | d3b4cf9f | Iustin Pop | <command>verify</command> complains about configuration |
779 | d3b4cf9f | Iustin Pop | mismatches. |
780 | d3b4cf9f | Iustin Pop | </para> |
781 | d3b4cf9f | Iustin Pop | |
782 | d3b4cf9f | Iustin Pop | <para> |
783 | d3b4cf9f | Iustin Pop | The <option>--submit</option> option is used to send the job |
784 | d3b4cf9f | Iustin Pop | to the master daemon but not wait for its completion. The job |
785 | d3b4cf9f | Iustin Pop | ID will be shown so that it can be examined via |
786 | d3b4cf9f | Iustin Pop | <command>gnt-job info</command>. |
787 | d3b4cf9f | Iustin Pop | </para> |
788 | d3b4cf9f | Iustin Pop | |
789 | d3b4cf9f | Iustin Pop | </refsect2> |
790 | d3b4cf9f | Iustin Pop | <refsect2> |
791 | cc425644 | Iustin Pop | <title>REMOVE-TAGS</title> |
792 | cc425644 | Iustin Pop | |
793 | cc425644 | Iustin Pop | <cmdsynopsis> |
794 | cc425644 | Iustin Pop | <command>remove-tags</command> |
795 | 810c50b7 | Iustin Pop | <arg choice="opt">--from <replaceable>file</replaceable></arg> |
796 | cc425644 | Iustin Pop | <arg choice="req" |
797 | cc425644 | Iustin Pop | rep="repeat"><replaceable>tag</replaceable></arg> |
798 | cc425644 | Iustin Pop | </cmdsynopsis> |
799 | cc425644 | Iustin Pop | |
800 | cc425644 | Iustin Pop | <para> |
801 | cc425644 | Iustin Pop | Remove tags from the cluster. If any of the tags are not |
802 | cc425644 | Iustin Pop | existing on the cluster, the entire operation will abort. |
803 | cc425644 | Iustin Pop | </para> |
804 | 810c50b7 | Iustin Pop | |
805 | 810c50b7 | Iustin Pop | <para> |
806 | 810c50b7 | Iustin Pop | If the <option>--from</option> option is given, the list of |
807 | 810c50b7 | Iustin Pop | tags will be extended with the contents of that file (each |
808 | 810c50b7 | Iustin Pop | line becomes a tag). In this case, there is not need to pass |
809 | 810c50b7 | Iustin Pop | tags on the command line (if you do, both sources will be |
810 | 810c50b7 | Iustin Pop | used). A file name of - will be interpreted as stdin. |
811 | 810c50b7 | Iustin Pop | </para> |
812 | cc425644 | Iustin Pop | </refsect2> |
813 | cc425644 | Iustin Pop | |
814 | cc425644 | Iustin Pop | <refsect2> |
815 | 75f49d9b | Iustin Pop | <title>RENAME</title> |
816 | 75f49d9b | Iustin Pop | |
817 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
818 | 75f49d9b | Iustin Pop | <command>rename</command> |
819 | 75f49d9b | Iustin Pop | <arg>-f</arg> |
820 | 75f49d9b | Iustin Pop | <arg choice="req"><replaceable>name</replaceable></arg> |
821 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
822 | 75f49d9b | Iustin Pop | |
823 | 75f49d9b | Iustin Pop | <para> |
824 | 75f49d9b | Iustin Pop | Renames the cluster and in the process updates the master IP |
825 | 75f49d9b | Iustin Pop | address to the one the new name resolves to. At least one of |
826 | 75f49d9b | Iustin Pop | either the name or the IP address must be different, otherwise |
827 | 75f49d9b | Iustin Pop | the operation will be aborted. |
828 | 75f49d9b | Iustin Pop | </para> |
829 | 75f49d9b | Iustin Pop | |
830 | 75f49d9b | Iustin Pop | <para> |
831 | 75f49d9b | Iustin Pop | Note that since this command can be dangerous (especially when |
832 | 75f49d9b | Iustin Pop | run over SSH), the command will require confirmation unless |
833 | 75f49d9b | Iustin Pop | run with the <option>-f</option> option. |
834 | 75f49d9b | Iustin Pop | </para> |
835 | 75f49d9b | Iustin Pop | </refsect2> |
836 | 60975797 | Iustin Pop | |
837 | 60975797 | Iustin Pop | <refsect2> |
838 | 6d4a1656 | Michael Hanselmann | <title>RENEW-CRYPTO</title> |
839 | 6d4a1656 | Michael Hanselmann | |
840 | 6d4a1656 | Michael Hanselmann | <cmdsynopsis> |
841 | 6d4a1656 | Michael Hanselmann | <command>renew-crypto</command> |
842 | 6d4a1656 | Michael Hanselmann | <arg>-f</arg> |
843 | 6d4a1656 | Michael Hanselmann | <sbr> |
844 | 6d4a1656 | Michael Hanselmann | <arg choice="opt">--new-cluster-certificate</arg> |
845 | 6b7d5878 | Michael Hanselmann | <arg choice="opt">--new-confd-hmac-key</arg> |
846 | 6d4a1656 | Michael Hanselmann | <sbr> |
847 | 6d4a1656 | Michael Hanselmann | <arg choice="opt">--new-rapi-certificate</arg> |
848 | 6d4a1656 | Michael Hanselmann | <arg choice="opt">--rapi-certificate <replaceable>rapi-cert</replaceable></arg> |
849 | 3db3eb2a | Michael Hanselmann | <sbr> |
850 | 3db3eb2a | Michael Hanselmann | <arg choice="opt">--new-cluster-domain-secret</arg> |
851 | 3db3eb2a | Michael Hanselmann | <arg choice="opt">--cluster-domain-secret <replaceable>filename</replaceable></arg> |
852 | 6d4a1656 | Michael Hanselmann | </cmdsynopsis> |
853 | 6d4a1656 | Michael Hanselmann | |
854 | 6d4a1656 | Michael Hanselmann | <para> |
855 | 6d4a1656 | Michael Hanselmann | This command will stop all |
856 | 6d4a1656 | Michael Hanselmann | Ganeti daemons in the cluster and start them again once the new |
857 | 6d4a1656 | Michael Hanselmann | certificates and keys are replicated. The options |
858 | 6d4a1656 | Michael Hanselmann | <option>--new-cluster-certificate</option> and |
859 | 6b7d5878 | Michael Hanselmann | <option>--new-confd-hmac-key</option> can be used to regenerate the |
860 | 6d4a1656 | Michael Hanselmann | cluster-internal SSL certificate respective the HMAC key used by |
861 | 6d4a1656 | Michael Hanselmann | <citerefentry> |
862 | 6d4a1656 | Michael Hanselmann | <refentrytitle>ganeti-confd</refentrytitle><manvolnum>8</manvolnum> |
863 | 3db3eb2a | Michael Hanselmann | </citerefentry>. |
864 | 3db3eb2a | Michael Hanselmann | </para> |
865 | 3db3eb2a | Michael Hanselmann | |
866 | 3db3eb2a | Michael Hanselmann | <para> |
867 | 3db3eb2a | Michael Hanselmann | To generate a new self-signed RAPI certificate (used by <citerefentry> |
868 | 6d4a1656 | Michael Hanselmann | <refentrytitle>ganeti-rapi</refentrytitle><manvolnum>8</manvolnum> |
869 | 6d4a1656 | Michael Hanselmann | </citerefentry>) specify <option>--new-rapi-certificate</option>. If |
870 | 6d4a1656 | Michael Hanselmann | you want to use your own certificate, e.g. one signed by a certificate |
871 | 6d4a1656 | Michael Hanselmann | authority (CA), pass its filename to |
872 | 6d4a1656 | Michael Hanselmann | <option>--rapi-certificate</option>. |
873 | 6d4a1656 | Michael Hanselmann | </para> |
874 | 3db3eb2a | Michael Hanselmann | |
875 | 3db3eb2a | Michael Hanselmann | <para> |
876 | 3db3eb2a | Michael Hanselmann | <option>--new-cluster-domain-secret</option> generates a new, random |
877 | 3db3eb2a | Michael Hanselmann | cluster domain secret. <option>--cluster-domain-secret</option> reads |
878 | 3db3eb2a | Michael Hanselmann | the secret from a file. The cluster domain secret is used to sign |
879 | 3db3eb2a | Michael Hanselmann | information exchanged between separate clusters via a third party. |
880 | 3db3eb2a | Michael Hanselmann | </para> |
881 | 6d4a1656 | Michael Hanselmann | </refsect2> |
882 | 6d4a1656 | Michael Hanselmann | |
883 | 6d4a1656 | Michael Hanselmann | <refsect2> |
884 | 60975797 | Iustin Pop | <title>REPAIR-DISK-SIZES</title> |
885 | 60975797 | Iustin Pop | |
886 | 60975797 | Iustin Pop | <cmdsynopsis> |
887 | 60975797 | Iustin Pop | <command>repair-disk-sizes</command> |
888 | 60975797 | Iustin Pop | <arg rep="repeat">instance</arg> |
889 | 60975797 | Iustin Pop | </cmdsynopsis> |
890 | 60975797 | Iustin Pop | |
891 | 60975797 | Iustin Pop | <para> |
892 | 60975797 | Iustin Pop | This command checks that the recorded size of the given |
893 | 60975797 | Iustin Pop | instance's disks matches the actual size and updates any |
894 | 60975797 | Iustin Pop | mismatches found. This is needed if the Ganeti configuration |
895 | 60975797 | Iustin Pop | is no longer consistent with reality, as it will impact some |
896 | 60975797 | Iustin Pop | disk operations. If no arguments are given, all instances will |
897 | 60975797 | Iustin Pop | be checked. |
898 | 60975797 | Iustin Pop | </para> |
899 | 60975797 | Iustin Pop | |
900 | 60975797 | Iustin Pop | <para> |
901 | 60975797 | Iustin Pop | Note that only active disks can be checked by this command; in |
902 | 60975797 | Iustin Pop | case a disk cannot be activated it's advised to use |
903 | a4f12da4 | Michael Hanselmann | <command>gnt-instance activate-disks --ignore-size ...</command> to |
904 | a4f12da4 | Michael Hanselmann | force activation without regard to the |
905 | 60975797 | Iustin Pop | current size. |
906 | 60975797 | Iustin Pop | </para> |
907 | 60975797 | Iustin Pop | |
908 | 60975797 | Iustin Pop | <para> |
909 | 60975797 | Iustin Pop | When the all disk sizes are consistent, the command will |
910 | 60975797 | Iustin Pop | return no output. Otherwise it will log details about the |
911 | 60975797 | Iustin Pop | inconsistencies in the configuration. |
912 | 60975797 | Iustin Pop | </para> |
913 | 60975797 | Iustin Pop | </refsect2> |
914 | 75f49d9b | Iustin Pop | |
915 | 75f49d9b | Iustin Pop | <refsect2> |
916 | 73415719 | Iustin Pop | <title>SEARCH-TAGS</title> |
917 | 73415719 | Iustin Pop | |
918 | 73415719 | Iustin Pop | <cmdsynopsis> |
919 | 73415719 | Iustin Pop | <command>search-tags</command> |
920 | 73415719 | Iustin Pop | <arg choice="req"><replaceable>pattern</replaceable></arg> |
921 | 73415719 | Iustin Pop | </cmdsynopsis> |
922 | 73415719 | Iustin Pop | |
923 | 73415719 | Iustin Pop | <para> |
924 | 73415719 | Iustin Pop | Searches the tags on all objects in the cluster (the cluster |
925 | 73415719 | Iustin Pop | itself, the nodes and the instances) for a given pattern. The |
926 | 73415719 | Iustin Pop | pattern is interpreted as a regular expression and a search |
927 | 73415719 | Iustin Pop | will be done on it (i.e. the given pattern is not anchored to |
928 | 73415719 | Iustin Pop | the beggining of the string; if you want that, prefix the |
929 | 73415719 | Iustin Pop | pattern with <literal>^</literal>). |
930 | 73415719 | Iustin Pop | </para> |
931 | 73415719 | Iustin Pop | |
932 | 73415719 | Iustin Pop | <para> |
933 | 73415719 | Iustin Pop | If no tags are matching the pattern, the exit code of the |
934 | 73415719 | Iustin Pop | command will be one. If there is at least one match, the exit |
935 | 73415719 | Iustin Pop | code will be zero. Each match is listed on one line, the |
936 | 73415719 | Iustin Pop | object and the tag separated by a space. The cluster will be |
937 | 73415719 | Iustin Pop | listed as <filename>/cluster</filename>, a node will be listed |
938 | 73415719 | Iustin Pop | as |
939 | 73415719 | Iustin Pop | <filename>/nodes/<replaceable>name</replaceable></filename>, |
940 | 73415719 | Iustin Pop | and an instance as |
941 | 73415719 | Iustin Pop | <filename>/instances/<replaceable>name</replaceable></filename>. |
942 | 73415719 | Iustin Pop | Example: |
943 | 73415719 | Iustin Pop | </para> |
944 | 73415719 | Iustin Pop | <screen> |
945 | 2f49d1d2 | Guido Trotter | # gnt-cluster search-tags time |
946 | 73415719 | Iustin Pop | /cluster ctime:2007-09-01 |
947 | 73415719 | Iustin Pop | /nodes/node1.example.com mtime:2007-10-04 |
948 | 73415719 | Iustin Pop | </screen> |
949 | 73415719 | Iustin Pop | </refsect2> |
950 | 73415719 | Iustin Pop | |
951 | 73415719 | Iustin Pop | <refsect2> |
952 | 75f49d9b | Iustin Pop | <title>VERIFY</title> |
953 | 75f49d9b | Iustin Pop | |
954 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
955 | 75f49d9b | Iustin Pop | <command>verify</command> |
956 | 3cf7c9fa | Guido Trotter | <arg choice="opt">--no-nplus1-mem</arg> |
957 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
958 | 75f49d9b | Iustin Pop | |
959 | 75f49d9b | Iustin Pop | <para> |
960 | 75f49d9b | Iustin Pop | Verify correctness of cluster configuration. This is safe with |
961 | 75f49d9b | Iustin Pop | respect to running instances, and incurs no downtime of the |
962 | 75f49d9b | Iustin Pop | instances. |
963 | 75f49d9b | Iustin Pop | </para> |
964 | 3cf7c9fa | Guido Trotter | |
965 | 3cf7c9fa | Guido Trotter | <para> |
966 | e0897adf | Michael Hanselmann | If the <option>--no-nplus1-mem</option> option is given, Ganeti won't |
967 | 3cf7c9fa | Guido Trotter | check whether if it loses a node it can restart all the instances on |
968 | 3cf7c9fa | Guido Trotter | their secondaries (and report an error otherwise). |
969 | 3cf7c9fa | Guido Trotter | </para> |
970 | 75f49d9b | Iustin Pop | </refsect2> |
971 | 75f49d9b | Iustin Pop | |
972 | 75f49d9b | Iustin Pop | <refsect2> |
973 | ed2d1409 | Iustin Pop | <title>VERIFY-DISKS</title> |
974 | ed2d1409 | Iustin Pop | |
975 | ed2d1409 | Iustin Pop | <cmdsynopsis> |
976 | ed2d1409 | Iustin Pop | <command>verify-disks</command> |
977 | ed2d1409 | Iustin Pop | </cmdsynopsis> |
978 | ed2d1409 | Iustin Pop | |
979 | ed2d1409 | Iustin Pop | <para> |
980 | ed2d1409 | Iustin Pop | The command checks which instances have degraded DRBD disks |
981 | ed2d1409 | Iustin Pop | and activates the disks of those instances. |
982 | ed2d1409 | Iustin Pop | </para> |
983 | ed2d1409 | Iustin Pop | |
984 | ed2d1409 | Iustin Pop | <para> |
985 | ed2d1409 | Iustin Pop | This command is run from the <command>ganeti-watcher</command> |
986 | ed2d1409 | Iustin Pop | tool, which also has a different, complementary algorithm for |
987 | ed2d1409 | Iustin Pop | doing this check. Together, these two should ensure that DRBD |
988 | ed2d1409 | Iustin Pop | disks are kept consistent. |
989 | ed2d1409 | Iustin Pop | </para> |
990 | ed2d1409 | Iustin Pop | </refsect2> |
991 | ed2d1409 | Iustin Pop | |
992 | ed2d1409 | Iustin Pop | <refsect2> |
993 | 75f49d9b | Iustin Pop | <title>VERSION</title> |
994 | 75f49d9b | Iustin Pop | |
995 | 75f49d9b | Iustin Pop | <cmdsynopsis> |
996 | 75f49d9b | Iustin Pop | <command>version</command> |
997 | 75f49d9b | Iustin Pop | </cmdsynopsis> |
998 | 75f49d9b | Iustin Pop | |
999 | 75f49d9b | Iustin Pop | <para> |
1000 | 75f49d9b | Iustin Pop | Show the cluster version. |
1001 | 75f49d9b | Iustin Pop | </para> |
1002 | 75f49d9b | Iustin Pop | </refsect2> |
1003 | a8083063 | Iustin Pop | |
1004 | a8083063 | Iustin Pop | </refsect1> |
1005 | a8083063 | Iustin Pop | |
1006 | a8083063 | Iustin Pop | &footer; |
1007 | a8083063 | Iustin Pop | |
1008 | a8083063 | Iustin Pop | </refentry> |
1009 | a8083063 | Iustin Pop | |
1010 | a8083063 | Iustin Pop | <!-- Keep this comment at the end of the file |
1011 | a8083063 | Iustin Pop | Local variables: |
1012 | a8083063 | Iustin Pop | mode: sgml |
1013 | a8083063 | Iustin Pop | sgml-omittag:t |
1014 | a8083063 | Iustin Pop | sgml-shorttag:t |
1015 | a8083063 | Iustin Pop | sgml-minimize-attributes:nil |
1016 | a8083063 | Iustin Pop | sgml-always-quote-attributes:t |
1017 | a8083063 | Iustin Pop | sgml-indent-step:2 |
1018 | a8083063 | Iustin Pop | sgml-indent-data:t |
1019 | a8083063 | Iustin Pop | sgml-parent-document:nil |
1020 | a8083063 | Iustin Pop | sgml-default-dtd-file:nil |
1021 | a8083063 | Iustin Pop | sgml-exposed-tags:nil |
1022 | a8083063 | Iustin Pop | sgml-local-catalogs:nil |
1023 | a8083063 | Iustin Pop | sgml-local-ecat-files:nil |
1024 | a8083063 | Iustin Pop | End: |
1025 | a8083063 | Iustin Pop | --> |