root / man / gnt-node.sgml @ c450e9b0
History | View | Annotate | Download (12 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 | a8083063 | Iustin Pop | <!ENTITY dhdate "<date>June 20, 2007</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-node</refentrytitle>"> |
10 | a8083063 | Iustin Pop | <!ENTITY dhpackage "gnt-node"> |
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 | a8083063 | Iustin Pop | <holder>Google Inc.</holder> |
24 | a8083063 | Iustin Pop | </copyright> |
25 | a8083063 | Iustin Pop | &dhdate; |
26 | a8083063 | Iustin Pop | </refentryinfo> |
27 | a8083063 | Iustin Pop | <refmeta> |
28 | a8083063 | Iustin Pop | &dhucpackage; |
29 | a8083063 | Iustin Pop | |
30 | a8083063 | Iustin Pop | &dhsection; |
31 | a8083063 | Iustin Pop | <refmiscinfo>ganeti 1.2</refmiscinfo> |
32 | a8083063 | Iustin Pop | </refmeta> |
33 | a8083063 | Iustin Pop | <refnamediv> |
34 | a8083063 | Iustin Pop | <refname>&dhpackage;</refname> |
35 | a8083063 | Iustin Pop | |
36 | a8083063 | Iustin Pop | <refpurpose>node administration</refpurpose> |
37 | a8083063 | Iustin Pop | </refnamediv> |
38 | a8083063 | Iustin Pop | <refsynopsisdiv> |
39 | a8083063 | Iustin Pop | <cmdsynopsis> |
40 | a8083063 | Iustin Pop | <command>&dhpackage; </command> |
41 | a8083063 | Iustin Pop | |
42 | a8083063 | Iustin Pop | <arg choice="req">command</arg> |
43 | a8083063 | Iustin Pop | <arg>arguments...</arg> |
44 | a8083063 | Iustin Pop | </cmdsynopsis> |
45 | a8083063 | Iustin Pop | </refsynopsisdiv> |
46 | a8083063 | Iustin Pop | <refsect1> |
47 | a8083063 | Iustin Pop | <title>DESCRIPTION</title> |
48 | a8083063 | Iustin Pop | |
49 | a8083063 | Iustin Pop | <para> |
50 | a8083063 | Iustin Pop | The <command>&dhpackage;</command> is used for managing the |
51 | a8083063 | Iustin Pop | (physical) nodes in the ganeti system. |
52 | a8083063 | Iustin Pop | </para> |
53 | a8083063 | Iustin Pop | |
54 | a8083063 | Iustin Pop | </refsect1> |
55 | a8083063 | Iustin Pop | <refsect1> |
56 | a8083063 | Iustin Pop | <title>COMMANDS</title> |
57 | a8083063 | Iustin Pop | |
58 | a8083063 | Iustin Pop | <refsect2> |
59 | a8083063 | Iustin Pop | <title>ADD</title> |
60 | a8083063 | Iustin Pop | |
61 | a8083063 | Iustin Pop | <cmdsynopsis> |
62 | a8083063 | Iustin Pop | <command>add</command> |
63 | a8083063 | Iustin Pop | <arg>-s <replaceable>secondary_ip</replaceable></arg> |
64 | a8083063 | Iustin Pop | <arg choice="req"><replaceable>nodename</replaceable></arg> |
65 | a8083063 | Iustin Pop | </cmdsynopsis> |
66 | a8083063 | Iustin Pop | |
67 | a8083063 | Iustin Pop | <para> |
68 | a8083063 | Iustin Pop | Adds the given node to the cluster. |
69 | a8083063 | Iustin Pop | </para> |
70 | a8083063 | Iustin Pop | |
71 | a8083063 | Iustin Pop | <para> |
72 | a8083063 | Iustin Pop | This command is used to join a new node to the cluster. You |
73 | a8083063 | Iustin Pop | will have to provide the password for root of the node to be |
74 | a8083063 | Iustin Pop | able to add the node in the cluster. The command needs to be |
75 | a8083063 | Iustin Pop | run on the ganeti master. |
76 | a8083063 | Iustin Pop | </para> |
77 | a8083063 | Iustin Pop | |
78 | a8083063 | Iustin Pop | <para> |
79 | a8083063 | Iustin Pop | Note that the command is potentially destructive, as it will |
80 | a8083063 | Iustin Pop | forcibly join the specified host the cluster, not paying |
81 | a8083063 | Iustin Pop | attention to its current status (it could be already in a |
82 | a8083063 | Iustin Pop | cluster, etc.) |
83 | a8083063 | Iustin Pop | </para> |
84 | a8083063 | Iustin Pop | |
85 | a8083063 | Iustin Pop | <para> |
86 | a8083063 | Iustin Pop | The <option>-s</option> is used in dual-home clusters and |
87 | a8083063 | Iustin Pop | specifies the new node's IP in the secondary network. See the |
88 | a8083063 | Iustin Pop | discussion in <citerefentry> |
89 | a8083063 | Iustin Pop | <refentrytitle>gnt-cluster</refentrytitle> |
90 | a8083063 | Iustin Pop | <manvolnum>8</manvolnum> </citerefentry> for more |
91 | a8083063 | Iustin Pop | informations. |
92 | a8083063 | Iustin Pop | </para> |
93 | a8083063 | Iustin Pop | |
94 | a8083063 | Iustin Pop | <para> |
95 | a8083063 | Iustin Pop | Example: |
96 | a8083063 | Iustin Pop | <screen> |
97 | a8083063 | Iustin Pop | # gnt-node add node5.example.com |
98 | a8083063 | Iustin Pop | # gnt-node add -s 192.168.44.5 node5.example.com |
99 | a8083063 | Iustin Pop | </screen> |
100 | a8083063 | Iustin Pop | </para> |
101 | a8083063 | Iustin Pop | </refsect2> |
102 | a8083063 | Iustin Pop | |
103 | a8083063 | Iustin Pop | <refsect2> |
104 | cc425644 | Iustin Pop | <title>ADD-TAGS</title> |
105 | cc425644 | Iustin Pop | |
106 | cc425644 | Iustin Pop | <cmdsynopsis> |
107 | cc425644 | Iustin Pop | <command>add-tags</command> |
108 | 810c50b7 | Iustin Pop | <arg choice="opt">--from <replaceable>file</replaceable></arg> |
109 | cc425644 | Iustin Pop | <arg choice="req"><replaceable>nodename</replaceable></arg> |
110 | cc425644 | Iustin Pop | <arg choice="req" |
111 | cc425644 | Iustin Pop | rep="repeat"><replaceable>tag</replaceable></arg> |
112 | cc425644 | Iustin Pop | </cmdsynopsis> |
113 | cc425644 | Iustin Pop | |
114 | cc425644 | Iustin Pop | <para> |
115 | cc425644 | Iustin Pop | Add tags to the given node. If any of the tags contains |
116 | cc425644 | Iustin Pop | invalid characters, the entire operation will abort. |
117 | cc425644 | Iustin Pop | </para> |
118 | 810c50b7 | Iustin Pop | |
119 | 810c50b7 | Iustin Pop | <para> |
120 | 810c50b7 | Iustin Pop | If the <option>--from</option> option is given, the list of |
121 | 810c50b7 | Iustin Pop | tags will be extended with the contents of that file (each |
122 | 810c50b7 | Iustin Pop | line becomes a tag). In this case, there is not need to pass |
123 | 810c50b7 | Iustin Pop | tags on the command line (if you do, both sources will be |
124 | 810c50b7 | Iustin Pop | used). A file name of - will be interpreted as stdin. |
125 | 810c50b7 | Iustin Pop | </para> |
126 | cc425644 | Iustin Pop | </refsect2> |
127 | cc425644 | Iustin Pop | |
128 | cc425644 | Iustin Pop | <refsect2> |
129 | c450e9b0 | Iustin Pop | <title>FAILOVER</title> |
130 | c450e9b0 | Iustin Pop | |
131 | c450e9b0 | Iustin Pop | <cmdsynopsis> |
132 | c450e9b0 | Iustin Pop | <command>failover</command> |
133 | c450e9b0 | Iustin Pop | <arg>-f</arg> |
134 | c450e9b0 | Iustin Pop | <arg>--ignore-consistency</arg> |
135 | c450e9b0 | Iustin Pop | <arg choice="req"><replaceable>node</replaceable></arg> |
136 | c450e9b0 | Iustin Pop | </cmdsynopsis> |
137 | c450e9b0 | Iustin Pop | |
138 | c450e9b0 | Iustin Pop | <para> |
139 | c450e9b0 | Iustin Pop | This command will fail over all instances having the given |
140 | c450e9b0 | Iustin Pop | node as primary to their secondary nodes. This works only for |
141 | c450e9b0 | Iustin Pop | instances having a remote raid disk layout. |
142 | c450e9b0 | Iustin Pop | </para> |
143 | c450e9b0 | Iustin Pop | |
144 | c450e9b0 | Iustin Pop | <para> |
145 | c450e9b0 | Iustin Pop | Normally the failover will check the consistency of the disks |
146 | c450e9b0 | Iustin Pop | before failing over the instance. If you are trying to migrate |
147 | c450e9b0 | Iustin Pop | instances off a dead node, this will fail. Use the |
148 | c450e9b0 | Iustin Pop | <option>--ignore-consistency</option> option for this purpose. |
149 | c450e9b0 | Iustin Pop | </para> |
150 | c450e9b0 | Iustin Pop | |
151 | c450e9b0 | Iustin Pop | <para> |
152 | c450e9b0 | Iustin Pop | Example: |
153 | c450e9b0 | Iustin Pop | <screen> |
154 | c450e9b0 | Iustin Pop | # gnt-node failover node1.example.com |
155 | c450e9b0 | Iustin Pop | </screen> |
156 | c450e9b0 | Iustin Pop | </para> |
157 | c450e9b0 | Iustin Pop | </refsect2> |
158 | c450e9b0 | Iustin Pop | |
159 | c450e9b0 | Iustin Pop | <refsect2> |
160 | a8083063 | Iustin Pop | <title>INFO</title> |
161 | a8083063 | Iustin Pop | |
162 | a8083063 | Iustin Pop | <cmdsynopsis> |
163 | a8083063 | Iustin Pop | <command>info</command> |
164 | a8083063 | Iustin Pop | <arg rep="repeat"><replaceable>node</replaceable></arg> |
165 | a8083063 | Iustin Pop | </cmdsynopsis> |
166 | a8083063 | Iustin Pop | |
167 | a8083063 | Iustin Pop | <para> |
168 | a8083063 | Iustin Pop | Show detailed information about the nodes in the cluster. If you |
169 | a8083063 | Iustin Pop | don't give any arguments, all nodes will be shows, otherwise the |
170 | a8083063 | Iustin Pop | output will be restricted to the given names. |
171 | a8083063 | Iustin Pop | </para> |
172 | a8083063 | Iustin Pop | </refsect2> |
173 | a8083063 | Iustin Pop | |
174 | a8083063 | Iustin Pop | <refsect2> |
175 | a8083063 | Iustin Pop | <title>LIST</title> |
176 | a8083063 | Iustin Pop | |
177 | a8083063 | Iustin Pop | <cmdsynopsis> |
178 | a8083063 | Iustin Pop | <command>list</command> |
179 | a8083063 | Iustin Pop | <arg>--no-headers</arg> |
180 | a8083063 | Iustin Pop | <arg>--separator=<replaceable>SEPARATOR</replaceable></arg> |
181 | a8083063 | Iustin Pop | <arg>-o <replaceable>FIELD,...</replaceable></arg> |
182 | a8083063 | Iustin Pop | </cmdsynopsis> |
183 | a8083063 | Iustin Pop | |
184 | a8083063 | Iustin Pop | <para> |
185 | a8083063 | Iustin Pop | Lists the nodes in the cluster. If you give the |
186 | a8083063 | Iustin Pop | <option>--ip-info</option> option, the output contains just |
187 | a8083063 | Iustin Pop | the node name, primary ip and secondary ip. In case the |
188 | a8083063 | Iustin Pop | secondary ip is the same as the primary one, it will be listed |
189 | a8083063 | Iustin Pop | as <emphasis>"-"</emphasis>. |
190 | a8083063 | Iustin Pop | </para> |
191 | a8083063 | Iustin Pop | |
192 | a8083063 | Iustin Pop | <para> |
193 | a8083063 | Iustin Pop | The <option>--no-headers</option> option will skip the initial |
194 | a8083063 | Iustin Pop | header line. The <option>--separator</option> option takes an |
195 | a8083063 | Iustin Pop | argument which denotes what will be used between the output |
196 | a8083063 | Iustin Pop | fields. Both these options are to help scripting. |
197 | a8083063 | Iustin Pop | </para> |
198 | a8083063 | Iustin Pop | |
199 | a8083063 | Iustin Pop | <para> |
200 | a8083063 | Iustin Pop | The <option>-o</option> option takes a comma-separated list of |
201 | a8083063 | Iustin Pop | output fields. The available fields and their meaning are: |
202 | a8083063 | Iustin Pop | <variablelist> |
203 | a8083063 | Iustin Pop | <varlistentry> |
204 | a8083063 | Iustin Pop | <term>name</term> |
205 | a8083063 | Iustin Pop | <listitem> |
206 | a8083063 | Iustin Pop | <simpara>the node name</simpara> |
207 | a8083063 | Iustin Pop | </listitem> |
208 | a8083063 | Iustin Pop | </varlistentry> |
209 | a8083063 | Iustin Pop | <varlistentry> |
210 | a8083063 | Iustin Pop | <term>pinst</term> |
211 | a8083063 | Iustin Pop | <listitem> |
212 | a8083063 | Iustin Pop | <simpara>the number of instances having this node as |
213 | a8083063 | Iustin Pop | primary</simpara> |
214 | a8083063 | Iustin Pop | </listitem> |
215 | a8083063 | Iustin Pop | </varlistentry> |
216 | a8083063 | Iustin Pop | <varlistentry> |
217 | a8083063 | Iustin Pop | <term>sinst</term> |
218 | a8083063 | Iustin Pop | <listitem> |
219 | a8083063 | Iustin Pop | <simpara>the number of instances having this node as a |
220 | a8083063 | Iustin Pop | secondary node</simpara> |
221 | a8083063 | Iustin Pop | </listitem> |
222 | a8083063 | Iustin Pop | </varlistentry> |
223 | a8083063 | Iustin Pop | <varlistentry> |
224 | a8083063 | Iustin Pop | <term>pip</term> |
225 | a8083063 | Iustin Pop | <listitem> |
226 | a8083063 | Iustin Pop | <simpara>the primary ip of this node (used for cluster |
227 | a8083063 | Iustin Pop | communication)</simpara> |
228 | a8083063 | Iustin Pop | </listitem> |
229 | a8083063 | Iustin Pop | </varlistentry> |
230 | a8083063 | Iustin Pop | <varlistentry> |
231 | a8083063 | Iustin Pop | <term>sip</term> |
232 | a8083063 | Iustin Pop | <listitem> |
233 | a8083063 | Iustin Pop | <simpara> |
234 | a8083063 | Iustin Pop | the secondary ip of this node (used for data |
235 | a8083063 | Iustin Pop | replication in dual-ip clusters, see <citerefentry> |
236 | a8083063 | Iustin Pop | <refentrytitle>gnt-cluster</refentrytitle> |
237 | a8083063 | Iustin Pop | <manvolnum>8</manvolnum> |
238 | a8083063 | Iustin Pop | </citerefentry> |
239 | a8083063 | Iustin Pop | </simpara> |
240 | a8083063 | Iustin Pop | </listitem> |
241 | a8083063 | Iustin Pop | </varlistentry> |
242 | a8083063 | Iustin Pop | <varlistentry> |
243 | a8083063 | Iustin Pop | <term>dtotal</term> |
244 | a8083063 | Iustin Pop | <listitem> |
245 | a8083063 | Iustin Pop | <simpara>total disk space in the volume group used for |
246 | a8083063 | Iustin Pop | instance disk allocations</simpara> |
247 | a8083063 | Iustin Pop | </listitem> |
248 | a8083063 | Iustin Pop | </varlistentry> |
249 | a8083063 | Iustin Pop | <varlistentry> |
250 | a8083063 | Iustin Pop | <term>dfree</term> |
251 | a8083063 | Iustin Pop | <listitem> |
252 | a8083063 | Iustin Pop | <simpara>available disk space in the volume group</simpara> |
253 | a8083063 | Iustin Pop | </listitem> |
254 | a8083063 | Iustin Pop | </varlistentry> |
255 | a8083063 | Iustin Pop | <varlistentry> |
256 | a8083063 | Iustin Pop | <term>mtotal</term> |
257 | a8083063 | Iustin Pop | <listitem> |
258 | a8083063 | Iustin Pop | <simpara>total memory on the physical node</simpara> |
259 | a8083063 | Iustin Pop | </listitem> |
260 | a8083063 | Iustin Pop | </varlistentry> |
261 | a8083063 | Iustin Pop | <varlistentry> |
262 | a8083063 | Iustin Pop | <term>mnode</term> |
263 | a8083063 | Iustin Pop | <listitem> |
264 | a8083063 | Iustin Pop | <simpara>the memory used by the node itself</simpara> |
265 | a8083063 | Iustin Pop | </listitem> |
266 | a8083063 | Iustin Pop | </varlistentry> |
267 | a8083063 | Iustin Pop | <varlistentry> |
268 | a8083063 | Iustin Pop | <term>mfree</term> |
269 | a8083063 | Iustin Pop | <listitem> |
270 | a8083063 | Iustin Pop | <simpara>memory available for instance |
271 | a8083063 | Iustin Pop | allocations</simpara> |
272 | a8083063 | Iustin Pop | </listitem> |
273 | a8083063 | Iustin Pop | </varlistentry> |
274 | a8083063 | Iustin Pop | </variablelist> |
275 | a8083063 | Iustin Pop | </para> |
276 | a8083063 | Iustin Pop | |
277 | a8083063 | Iustin Pop | <para> |
278 | a8083063 | Iustin Pop | Note that some of this fields are known from the configuration |
279 | a8083063 | Iustin Pop | of the cluster (<simplelist type="inline"> |
280 | a8083063 | Iustin Pop | <member>name</member> <member>pinst</member> |
281 | a8083063 | Iustin Pop | <member>sinst</member> <member>pip</member> |
282 | a8083063 | Iustin Pop | <member>sip</member> </simplelist> and thus the master does |
283 | a8083063 | Iustin Pop | not need to contact the node for this data (making the listing |
284 | a8083063 | Iustin Pop | fast if only fields from this set are selected), whereas the |
285 | a8083063 | Iustin Pop | other fields are "live" fields and we need to make a query to |
286 | a8083063 | Iustin Pop | the cluster nodes. |
287 | a8083063 | Iustin Pop | </para> |
288 | a8083063 | Iustin Pop | |
289 | a8083063 | Iustin Pop | <para> |
290 | a8083063 | Iustin Pop | Depending on the virtualization type and implementation |
291 | a8083063 | Iustin Pop | details, the mtotal, mnode and mfree may have slighly varying |
292 | a8083063 | Iustin Pop | meanings. For example, some solutions share the node memory |
293 | a8083063 | Iustin Pop | with the pool of memory used for instances |
294 | a8083063 | Iustin Pop | (<acronym>UML</acronym>), whereas others have separate memory |
295 | a8083063 | Iustin Pop | for the node and for the instances (Xen). |
296 | a8083063 | Iustin Pop | </para> |
297 | a8083063 | Iustin Pop | </refsect2> |
298 | a8083063 | Iustin Pop | |
299 | a8083063 | Iustin Pop | <refsect2> |
300 | cc425644 | Iustin Pop | <title>LIST-TAGS</title> |
301 | cc425644 | Iustin Pop | |
302 | cc425644 | Iustin Pop | <cmdsynopsis> |
303 | cc425644 | Iustin Pop | <command>list-tags</command> |
304 | cc425644 | Iustin Pop | <arg choice="req"><replaceable>nodename</replaceable></arg> |
305 | cc425644 | Iustin Pop | </cmdsynopsis> |
306 | cc425644 | Iustin Pop | |
307 | cc425644 | Iustin Pop | <para>List the tags of the given node.</para> |
308 | cc425644 | Iustin Pop | </refsect2> |
309 | cc425644 | Iustin Pop | |
310 | cc425644 | Iustin Pop | <refsect2> |
311 | a8083063 | Iustin Pop | <title>REMOVE</title> |
312 | a8083063 | Iustin Pop | |
313 | a8083063 | Iustin Pop | <cmdsynopsis> |
314 | a8083063 | Iustin Pop | <command>remove</command> |
315 | a8083063 | Iustin Pop | <arg choice="req"><replaceable>nodename</replaceable></arg> |
316 | a8083063 | Iustin Pop | </cmdsynopsis> |
317 | a8083063 | Iustin Pop | |
318 | a8083063 | Iustin Pop | <para> |
319 | a8083063 | Iustin Pop | Removes a node from the cluster. Instances must be removed or |
320 | a8083063 | Iustin Pop | migrated to another cluster before. |
321 | a8083063 | Iustin Pop | </para> |
322 | a8083063 | Iustin Pop | |
323 | a8083063 | Iustin Pop | <para> |
324 | a8083063 | Iustin Pop | Example: |
325 | a8083063 | Iustin Pop | <screen> |
326 | a8083063 | Iustin Pop | # gnt-node remove node5.example.com |
327 | a8083063 | Iustin Pop | </screen> |
328 | a8083063 | Iustin Pop | </para> |
329 | a8083063 | Iustin Pop | </refsect2> |
330 | a8083063 | Iustin Pop | |
331 | dcb93971 | Michael Hanselmann | <refsect2> |
332 | cc425644 | Iustin Pop | <title>REMOVE-TAGS</title> |
333 | cc425644 | Iustin Pop | <cmdsynopsis> |
334 | cc425644 | Iustin Pop | <command>remove-tags</command> |
335 | 810c50b7 | Iustin Pop | <arg choice="opt">--from <replaceable>file</replaceable></arg> |
336 | cc425644 | Iustin Pop | <arg choice="req"><replaceable>nodename</replaceable></arg> |
337 | cc425644 | Iustin Pop | <arg choice="req" |
338 | cc425644 | Iustin Pop | rep="repeat"><replaceable>tag</replaceable></arg> |
339 | cc425644 | Iustin Pop | </cmdsynopsis> |
340 | cc425644 | Iustin Pop | |
341 | cc425644 | Iustin Pop | <para> |
342 | cc425644 | Iustin Pop | Remove tags from the given node. If any of the tags are not |
343 | cc425644 | Iustin Pop | existing on the node, the entire operation will abort. |
344 | cc425644 | Iustin Pop | </para> |
345 | 810c50b7 | Iustin Pop | |
346 | 810c50b7 | Iustin Pop | <para> |
347 | 810c50b7 | Iustin Pop | If the <option>--from</option> option is given, the list of |
348 | 810c50b7 | Iustin Pop | tags will be extended with the contents of that file (each |
349 | 810c50b7 | Iustin Pop | line becomes a tag). In this case, there is not need to pass |
350 | 810c50b7 | Iustin Pop | tags on the command line (if you do, both sources will be |
351 | 810c50b7 | Iustin Pop | used). A file name of - will be interpreted as stdin. |
352 | 810c50b7 | Iustin Pop | </para> |
353 | cc425644 | Iustin Pop | </refsect2> |
354 | cc425644 | Iustin Pop | |
355 | cc425644 | Iustin Pop | <refsect2> |
356 | dcb93971 | Michael Hanselmann | <title>VOLUMES</title> |
357 | dcb93971 | Michael Hanselmann | |
358 | dcb93971 | Michael Hanselmann | <cmdsynopsis> |
359 | dcb93971 | Michael Hanselmann | <command>volumes</command> |
360 | dcb93971 | Michael Hanselmann | <arg rep="repeat"><replaceable>node</replaceable></arg> |
361 | dcb93971 | Michael Hanselmann | </cmdsynopsis> |
362 | dcb93971 | Michael Hanselmann | |
363 | dcb93971 | Michael Hanselmann | <para> |
364 | dcb93971 | Michael Hanselmann | Lists all logical volumes and their physical disks from the node(s) |
365 | dcb93971 | Michael Hanselmann | provided. |
366 | dcb93971 | Michael Hanselmann | </para> |
367 | dcb93971 | Michael Hanselmann | |
368 | dcb93971 | Michael Hanselmann | <para> |
369 | dcb93971 | Michael Hanselmann | Example: |
370 | dcb93971 | Michael Hanselmann | <screen> |
371 | dcb93971 | Michael Hanselmann | # gnt-node volumes node5.example.com |
372 | dcb93971 | Michael Hanselmann | Node PhysDev VG Name Size Instance |
373 | dcb93971 | Michael Hanselmann | node1.example.com /dev/hdc1 xenvg instance1.example.com-sda_11000.meta 128 instance1.example.com |
374 | dcb93971 | Michael Hanselmann | node1.example.com /dev/hdc1 xenvg instance1.example.com-sda_11001.data 256 instance1.example.com |
375 | dcb93971 | Michael Hanselmann | </screen> |
376 | dcb93971 | Michael Hanselmann | </para> |
377 | dcb93971 | Michael Hanselmann | </refsect2> |
378 | dcb93971 | Michael Hanselmann | |
379 | a8083063 | Iustin Pop | </refsect1> |
380 | a8083063 | Iustin Pop | |
381 | a8083063 | Iustin Pop | &footer; |
382 | a8083063 | Iustin Pop | |
383 | a8083063 | Iustin Pop | </refentry> |
384 | a8083063 | Iustin Pop | |
385 | a8083063 | Iustin Pop | <!-- Keep this comment at the end of the file |
386 | a8083063 | Iustin Pop | Local variables: |
387 | a8083063 | Iustin Pop | mode: sgml |
388 | a8083063 | Iustin Pop | sgml-omittag:t |
389 | a8083063 | Iustin Pop | sgml-shorttag:t |
390 | a8083063 | Iustin Pop | sgml-minimize-attributes:nil |
391 | a8083063 | Iustin Pop | sgml-always-quote-attributes:t |
392 | a8083063 | Iustin Pop | sgml-indent-step:2 |
393 | a8083063 | Iustin Pop | sgml-indent-data:t |
394 | a8083063 | Iustin Pop | sgml-parent-document:nil |
395 | a8083063 | Iustin Pop | sgml-default-dtd-file:nil |
396 | a8083063 | Iustin Pop | sgml-exposed-tags:nil |
397 | a8083063 | Iustin Pop | sgml-local-catalogs:nil |
398 | a8083063 | Iustin Pop | sgml-local-ecat-files:nil |
399 | a8083063 | Iustin Pop | End: |
400 | a8083063 | Iustin Pop | --> |