Debian Codegraph @

UG9/ja/administration-manual.po

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2022-01-06 13:52+0900\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: Title ==
19 #, no-wrap
20 msgid "Common administrative tasks"
21 msgstr "一般的な管理作業"
22
23 #. type: Plain text
24 msgid ""
25 "This chapter outlines typical administrative tasks encountered during day-to-"
26 "day operations. It does not cover troubleshooting tasks, these are covered "
27 "in detail in <<ch-troubleshooting>>."
28 msgstr ""
29 "この章では一般的なオペレーションでの管理作業を説明します。トラブルシューティ"
30 "ングについては扱いません。トラブルシューティングについては<<ch-"
31 "troubleshooting>>を参照ください。"
32
33 #. type: Title ===
34 #, no-wrap
35 msgid "Checking DRBD status"
36 msgstr "DRBDのステータスを確認する"
37
38 #. type: Title ====
39 #, no-wrap
40 msgid "Retrieving status with drbdmon"
41 msgstr "drbdmon でステータスを取得する"
42
43 #. type: Plain text
44 msgid ""
45 "One convenient way to look at DRBD's status is the `drbdmon` utility. It "
46 "updates the state of DRBD resources in real time."
47 msgstr ""
48 "DRBDの状態を見るのに便利な方法の1つは `drbdmon` ユーティリティを使うことで"
49 "す。これはリアルタイムでDRBDリソースの状態を更新します。"
50
51 #. type: Title ====
52 #, no-wrap
53 msgid "Status information in `/proc/drbd`"
54 msgstr "`/proc/drbd` でのステータス情報"
55
56 #. type: Plain text
57 msgid ""
58 "`/proc/drbd` is deprecated. While it won't be removed in the 8.4 series, we "
59 "recommend to switch to other means, like <<s-drbdadm-status>>; or, for "
60 "monitoring even more convenient, <<s-drbdsetup-events2>>."
61 msgstr ""
62 "''/proc/drbd'' は非推奨です。8.4系でこの機能を取り除く予定はありませんが、他"
63 "の方法を使用することをおすすめします。<<s-drbdadm-status>>や、より便利なモニ"
64 "タリングとして<<s-drbdsetup-events2>>など"
65
66 #. type: Plain text
67 msgid ""
68 "indexterm:[/proc/drbd]`/proc/drbd` is a virtual file displaying basic "
69 "information about the DRBD module. It was used extensively up to DRBD 8.4, "
70 "but couldn't keep up with the amount of information provided by DRBD 9."
71 msgstr ""
72 "indexterm:[/proc/drbd]`/proc/drbd` はDRBDモジュールの基本情報を表示する仮想"
73 "ファイルです。 DRBD8.4まで広く使用されていましたが、DRBD9の情報量を表示するた"
74 "めには対応できません。"
75
76 #. type: delimited block -
77 #, no-wrap
78 msgid ""
79 "$ cat /proc/drbd\n"
80 "version: 9.0.0 (api:1/proto:86-110)\n"
81 "GIT-hash: XXX build by [email protected], 2011-10-12 09:07:35\n"
82 msgstr ""
83 "$ cat /proc/drbd\n"
84 "version: 9.0.0 (api:1/proto:86-110)\n"
85 "GIT-hash: XXX build by [email protected], 2011-10-12 09:07:35\n"
86
87 #. type: Plain text
88 msgid ""
89 "The first line, prefixed with `version:`, shows the DRBD version used on "
90 "your system. The second line contains information about this specific build."
91 msgstr ""
92 "1行目にはシステムで使用するDRBDの `バージョン` を表示します。2行目にはビルド"
93 "特有の情報を表示します。"
94
95 #. type: Title ====
96 #, no-wrap
97 msgid "Status information via `drbdadm`"
98 msgstr "`drbdadm` でのステータス情報"
99
100 #. type: Plain text
101 msgid ""
102 "indexterm:[drbdadm, status]In its simplest invocation, we just ask for the "
103 "status of a single resource."
104 msgstr ""
105 "indexterm:[drbdadmステータス]一番シンプルなものとして、1つのリソースのステー"
106 "タスを表示します。"
107
108 #. type: delimited block -
109 #, no-wrap
110 msgid ""
111 "# drbdadm status home\n"
112 "home role:Secondary\n"
113 " disk:UpToDate\n"
114 " nina role:Secondary\n"
115 " disk:UpToDate\n"
116 " nino role:Secondary\n"
117 " disk:UpToDate\n"
118 " nono connection:Connecting\n"
119 msgstr ""
120 "# drbdadm status home\n"
121 "home role:Secondary\n"
122 " disk:UpToDate\n"
123 " nina role:Secondary\n"
124 " disk:UpToDate\n"
125 " nino role:Secondary\n"
126 " disk:UpToDate\n"
127 " nono connection:Connecting\n"
128
129 #. type: Plain text
130 msgid ""
131 "This here just says that the resource _home_ is locally, on 'nina', and on "
132 "'nino' _UpToDate_ and _Secondary_; so the three nodes have the same data on "
133 "their storage devices, and nobody is using the device currently."
134 msgstr ""
135 "ここではリソース `home` がローカルと `nina` と `nino` にあり、 `UpToDate` で "
136 "`セカンダリ` であることを示しています。つまり、3ノードが同じデータをストレー"
137 "ジデバイスに持ち、現在はどのノードでもデバイスを使用していないという意味で"
138 "す。"
139
140 #. type: Plain text
141 msgid ""
142 "The node 'nono' is not connected, its state is reported as _Connecting_; "
143 "please see <<s-connection-states>> below for more details."
144 msgstr ""
145 "ノード `nono` は接続していません。 _Connecting_ のステータスになっています。"
146 "詳細は<<s-connection-states>>を参照してください。"
147
148 #. type: Plain text
149 msgid ""
150 "You can get more information by passing the `--verbose` and/or `--"
151 "statistics` arguments to `drbdsetup` (lines broken for readability):"
152 msgstr ""
153 "`drbdsetup` に `--verbose` および/または `--statistics` の引数を付けると、よ"
154 "り詳細な情報を得ることができます。"
155
156 #. type: delimited block -
157 #, no-wrap
158 msgid ""
159 "# drbdsetup status home --verbose --statistics\n"
160 "home node-id:1 role:Secondary suspended:no\n"
161 " write-ordering:none\n"
162 " volume:0 minor:0 disk:UpToDate\n"
163 " size:1048412 read:0 written:1048412 al-writes:0 bm-writes:48 upper-pending:0\n"
164 " lower-pending:0 al-suspended:no blocked:no\n"
165 " nina local:ipv4:10.9.9.111:7001 peer:ipv4:10.9.9.103:7010 node-id:0\n"
166 " connection:Connected role:Secondary\n"
167 " congested:no\n"
168 " volume:0 replication:Connected disk:UpToDate resync-suspended:no\n"
169 " received:1048412 sent:0 out-of-sync:0 pending:0 unacked:0\n"
170 " nino local:ipv4:10.9.9.111:7021 peer:ipv4:10.9.9.129:7012 node-id:2\n"
171 " connection:Connected role:Secondary\n"
172 " congested:no\n"
173 " volume:0 replication:Connected disk:UpToDate resync-suspended:no\n"
174 " received:0 sent:0 out-of-sync:0 pending:0 unacked:0\n"
175 " nono local:ipv4:10.9.9.111:7013 peer:ipv4:10.9.9.138:7031 node-id:3\n"
176 " connection:Connecting\n"
177 msgstr ""
178 "# drbdsetup status home --verbose --statistics\n"
179 "home node-id:1 role:Secondary suspended:no\n"
180 " write-ordering:none\n"
181 " volume:0 minor:0 disk:UpToDate\n"
182 " size:1048412 read:0 written:1048412 al-writes:0 bm-writes:48 upper-pending:0\n"
183 " lower-pending:0 al-suspended:no blocked:no\n"
184 " nina local:ipv4:10.9.9.111:7001 peer:ipv4:10.9.9.103:7010 node-id:0\n"
185 " connection:Connected role:Secondary\n"
186 " congested:no\n"
187 " volume:0 replication:Connected disk:UpToDate resync-suspended:no\n"
188 " received:1048412 sent:0 out-of-sync:0 pending:0 unacked:0\n"
189 " nino local:ipv4:10.9.9.111:7021 peer:ipv4:10.9.9.129:7012 node-id:2\n"
190 " connection:Connected role:Secondary\n"
191 " congested:no\n"
192 " volume:0 replication:Connected disk:UpToDate resync-suspended:no\n"
193 " received:0 sent:0 out-of-sync:0 pending:0 unacked:0\n"
194 " nono local:ipv4:10.9.9.111:7013 peer:ipv4:10.9.9.138:7031 node-id:3\n"
195 " connection:Connecting\n"
196
197 #. type: Plain text
198 msgid ""
199 "Every few lines in this example form a block that is repeated for every node "
200 "used in this resource, with small format exceptions for the local node - see "
201 "below for more details."
202 msgstr ""
203 "この例では、ローカルノードについては多少異なりますが、このリソースで使用して"
204 "いるノードすべてを数行ごとにブロックで表示しています。以下で詳細を説明しま"
205 "す。"
206
207 #. type: Plain text
208 msgid ""
209 "The first line in each block shows the `node-id` (for the current resource; "
210 "a host can have different ``node-id``s in different resources). Furthermore "
211 "the `role` (see <<s-roles>>) is shown."
212 msgstr ""
213 "各ブロックの最初の行は `node-id` です。(現在のリソースに対してのものです。ホ"
214 "ストは異なるリソースには異なる `node-id` がつきます) また、 `role` (<<s-"
215 "roles>>参照)も表示されています。"
216
217 #. type: Plain text
218 msgid ""
219 "The next important line begins with the `volume` specification; normally "
220 "these are numbered starting by zero, but the configuration may specify other "
221 "IDs as well. This line shows the indexterm:[connection state] connection "
222 "state in the `replication` item (see <<s-connection-states>> for details) "
223 "and the remote indexterm:[disk state] disk state in `disk` (see <<s-disk-"
224 "states>>). Then there's a line for this volume giving a bit of statistics - "
225 "data `received`, `sent`, `out-of-sync`, etc; please see <<s-performance-"
226 "indicators>> and <<s-conn-info>> for more information."
227 msgstr ""
228 "次に重要な行が、 `volume` の表示がある行です。通常は0から始まる数字ですが、設"
229 "定によっては別のIDをつけることもできます。この行では `replication` で"
230 "indexterm:[connection state]コネクションステータス(<<s-connection-states>>参"
231 "照)を、 `disk` でリモートのディスク状態indexterm:[disk state](<<s-disk-"
232 "states>>参照)が表示されます。 また、ボリュームの統計情報が少し表示される行も"
233 "あります。データの `received` 、 `sent` , `out-of-sync` などです。詳細は <<s-"
234 "performance-indicators>>と<<s-conn-info>>を参照してください。"
235
236 #. type: Plain text
237 msgid ""
238 "For the local node the first line shows the resource name, _home_, in our "
239 "example. As the first block always describes the local node, there is no "
240 "_Connection_ or address information."
241 msgstr ""
242 "ローカルノードでは、最初の行はリソース名を表示します。この例では `home` で"
243 "す。最初の行には常にローカルノードが表示されますので、 `Connection` やアドレ"
244 "ス情報は表示されません。"
245
246 #. type: Plain text
247 msgid "please see the `drbd.conf` manual page for more information."
248 msgstr ""
249 "より詳細な情報については、 `drbd.conf` マニュアルページをご覧ください。"
250
251 #. type: Plain text
252 msgid ""
253 "The other four lines in this example form a block that is repeated for every "
254 "DRBD device configured, prefixed by the device minor number. In this case, "
255 "this is `0`, corresponding to the device `/dev/drbd0`."
256 msgstr ""
257 "この例のブロックになっている他の4行は、すべての設定のあるDRBDデバイスごとに"
258 "なっており、最初にデバイスマイナー番号がついています。この場合にはデバイス `/"
259 "dev/drbd0` に対応して `0` です。"
260
261 #. type: Plain text
262 msgid ""
263 "The resource-specific output contains various pieces of information about "
264 "the resource:"
265 msgstr "リソースごとの出力には様々なリソースに関する情報が含まれています。"
266
267 #. //FIXME
268 #. .Replication protocol
269 #. The Replication protocol used by the resource. Either `A`, `B`, or `C`. See
270 #. <<s-replication-protocols>> for details.
271 #. type: Title ====
272 #, no-wrap
273 msgid "One-shot or real time monitoring via `drbdsetup events2`"
274 msgstr "`drbdsetup events2` を使用した一回のみ、またはリアルタイムでの監視"
275
276 #. and 8.4.6
277 #. type: Plain text
278 msgid "This is available only with userspace versions 8.9.3 and up."
279 msgstr ""
280 "この機能はユーザスペースのDRBDが8.9.3より後のバージョンでのみ使用できます"
281
282 #. type: Plain text
283 msgid ""
284 "This is a low-level mechanism to get information out of DRBD, suitable for "
285 "use in automated tools, like monitoring."
286 msgstr ""
287 "これはDRBDから情報を取得するための下位機能です。監視など自動化ツールでの使用"
288 "に向いています。"
289
290 #. type: Plain text
291 msgid ""
292 "In its simplest invocation, showing only the current status, the output "
293 "looks like this (but, when running on a terminal, will include colors):"
294 msgstr ""
295 "一番シンプルな使用方法では、以下のように現在のステータスのみを表示します(端末"
296 "上で実行した場合には色も付いています)。"
297
298 #. type: delimited block -
299 #, no-wrap
300 msgid ""
301 "# drbdsetup events2 --now r0\n"
302 "exists resource name:r0 role:Secondary suspended:no\n"
303 "exists connection name:r0 peer-node-id:1 conn-name:remote-host connection:Connected role:Secondary\n"
304 "exists device name:r0 volume:0 minor:7 disk:UpToDate\n"
305 "exists device name:r0 volume:1 minor:8 disk:UpToDate\n"
306 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:0\n"
307 " replication:Established peer-disk:UpToDate resync-suspended:no\n"
308 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:1\n"
309 " replication:Established peer-disk:UpToDate resync-suspended:no\n"
310 "exists -\n"
311 msgstr ""
312 "# drbdsetup events2 --now r0\n"
313 "exists resource name:r0 role:Secondary suspended:no\n"
314 "exists connection name:r0 peer-node-id:1 conn-name:remote-host connection:Connected role:Secondary\n"
315 "exists device name:r0 volume:0 minor:7 disk:UpToDate\n"
316 "exists device name:r0 volume:1 minor:8 disk:UpToDate\n"
317 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:0\n"
318 " replication:Established peer-disk:UpToDate resync-suspended:no\n"
319 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:1\n"
320 " replication:Established peer-disk:UpToDate resync-suspended:no\n"
321 "exists -\n"
322
323 #. type: Plain text
324 msgid ""
325 "Without the ''--now'', the process will keep running, and send continuous "
326 "updates like this:"
327 msgstr ""
328 "''--now'' を付けないで実行した場合には動作し続け、以下のように更新を続けま"
329 "す。"
330
331 #. type: delimited block -
332 #, no-wrap
333 msgid ""
334 "# drbdsetup events2 r0\n"
335 "...\n"
336 "change connection name:r0 peer-node-id:1 conn-name:remote-host connection:StandAlone\n"
337 "change connection name:r0 peer-node-id:1 conn-name:remote-host connection:Unconnected\n"
338 "change connection name:r0 peer-node-id:1 conn-name:remote-host connection:Connecting\n"
339 msgstr ""
340 "# drbdsetup events2 r0\n"
341 "...\n"
342 "change connection name:r0 peer-node-id:1 conn-name:remote-host connection:StandAlone\n"
343 "change connection name:r0 peer-node-id:1 conn-name:remote-host connection:Unconnected\n"
344 "change connection name:r0 peer-node-id:1 conn-name:remote-host connection:Connecting\n"
345
346 #. type: Plain text
347 msgid ""
348 "Then, for monitoring purposes, there's another argument ''--statistics'', "
349 "that will produce some performance counters and other facts:"
350 msgstr ""
351 "そして監視用途に、''--statistics''という別の引数もあります。これはパフォーマ"
352 "ンスその他のカウンタを作成するものです。"
353
354 #. type: Plain text
355 msgid "'drbdsetup' **verbose output** (lines broken for readability):"
356 msgstr "''drbdsetup'' の詳細な出力(読みやすいように一部の行は改行しています)"
357
358 #. type: delimited block -
359 #, no-wrap
360 msgid ""
361 "# drbdsetup events2 --statistics --now r0\n"
362 "exists resource name:r0 role:Secondary suspended:no write-ordering:drain\n"
363 "exists connection name:r0 peer-node-id:1 conn-name:remote-host connection:Connected\n"
364 " role:Secondary congested:no\n"
365 "exists device name:r0 volume:0 minor:7 disk:UpToDate size:6291228 read:6397188\n"
366 " written:131844 al-writes:34 bm-writes:0 upper-pending:0 lower-pending:0\n"
367 " al-suspended:no blocked:no\n"
368 "exists device name:r0 volume:1 minor:8 disk:UpToDate size:104854364 read:5910680\n"
369 " written:6634548 al-writes:417 bm-writes:0 upper-pending:0 lower-pending:0\n"
370 " al-suspended:no blocked:no\n"
371 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:0\n"
372 " replication:Established peer-disk:UpToDate resync-suspended:no received:0\n"
373 " sent:131844 out-of-sync:0 pending:0 unacked:0\n"
374 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:1\n"
375 " replication:Established peer-disk:UpToDate resync-suspended:no received:0\n"
376 " sent:6634548 out-of-sync:0 pending:0 unacked:0\n"
377 "exists -\n"
378 msgstr ""
379 "# drbdsetup events2 --statistics --now r0\n"
380 "exists resource name:r0 role:Secondary suspended:no write-ordering:drain\n"
381 "exists connection name:r0 peer-node-id:1 conn-name:remote-host connection:Connected\n"
382 " role:Secondary congested:no\n"
383 "exists device name:r0 volume:0 minor:7 disk:UpToDate size:6291228 read:6397188\n"
384 " written:131844 al-writes:34 bm-writes:0 upper-pending:0 lower-pending:0\n"
385 " al-suspended:no blocked:no\n"
386 "exists device name:r0 volume:1 minor:8 disk:UpToDate size:104854364 read:5910680\n"
387 " written:6634548 al-writes:417 bm-writes:0 upper-pending:0 lower-pending:0\n"
388 " al-suspended:no blocked:no\n"
389 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:0\n"
390 " replication:Established peer-disk:UpToDate resync-suspended:no received:0\n"
391 " sent:131844 out-of-sync:0 pending:0 unacked:0\n"
392 "exists peer-device name:r0 peer-node-id:1 conn-name:remote-host volume:1\n"
393 " replication:Established peer-disk:UpToDate resync-suspended:no received:0\n"
394 " sent:6634548 out-of-sync:0 pending:0 unacked:0\n"
395 "exists -\n"
396
397 #. type: Plain text
398 msgid "You might also like the ''--timestamp'' parameter."
399 msgstr "''--timestamp'' パラメータも便利な機能です。"
400
401 #. type: Title ====
402 #, no-wrap
403 msgid "Connection states"
404 msgstr "コネクションステータス"
405
406 #. type: Plain text
407 msgid ""
408 "indexterm:[drbdadm, cstate]indexterm:[connection state, via drbdadm]A "
409 "resource's connection state can be observed either by issuing the `drbdadm "
410 "cstate` command:"
411 msgstr ""
412 "indexterm:[drbdadm cstate]indexterm:[connection state]リソースのコネクション"
413 "ステータスは `drbdadm cstate` コマンドで確認することができます。"
414
415 #. type: delimited block -
416 #, no-wrap
417 msgid ""
418 "# drbdadm cstate <resource>\n"
419 "Connected\n"
420 "Connected\n"
421 "StandAlone\n"
422 msgstr ""
423 "# drbdadm cstate <resource>\n"
424 "Connected\n"
425 "Connected\n"
426 "StandAlone\n"
427
428 #. type: Plain text
429 msgid ""
430 "If you are interested in only a single connection of a resource, specify the "
431 "connection name, too:"
432 msgstr ""
433 "確認したいのが1つのコネクションステータスだけの場合にはコネクション名を指定"
434 "してください。"
435
436 #. type: Plain text
437 msgid "The default is the peer's hostname as given in the configuration file."
438 msgstr "デフォルトでは設定ファイルに記載のある対向ノードのホスト名です。"
439
440 #. type: delimited block -
441 #, no-wrap
442 msgid ""
443 "# drbdadm cstate <peer>:<resource>\n"
444 "Connected\n"
445 msgstr ""
446 "# drbdadm cstate <peer>:<resource>\n"
447 "Connected\n"
448
449 #. type: Plain text
450 msgid "A resource may have one of the following connection states:"
451 msgstr "リソースのコネクションステータスには次のようなものがあります。"
452
453 #. type: Block title
454 #, no-wrap
455 msgid "_StandAlone_"
456 msgstr "_StandAlone_"
457
458 #. type: Plain text
459 msgid ""
460 "indexterm:[connection state, StandAlone]No network configuration available. "
461 "The resource has not yet been connected, or has been administratively "
462 "disconnected (using `drbdadm disconnect`), or has dropped its connection due "
463 "to failed authentication or split brain."
464 msgstr ""
465 "indexterm:[connection state]ネットワーク構成は使用できません。リソースがまだ"
466 "接続されていない、管理上の理由で切断している( `drbdadm disconnect` を使用)、"
467 "認証の失敗またはスプリットブレインにより接続が解除された、のいずれかが考えら"
468 "れます。"
469
470 #. type: Block title
471 #, no-wrap
472 msgid "_Disconnecting_"
473 msgstr "_Disconnecting_"
474
475 #. type: Plain text
476 msgid ""
477 "indexterm:[connection state, Disconnecting]Temporary state during "
478 "disconnection. The next state is _StandAlone_."
479 msgstr ""
480 "indexterm:[connection state]切断中の一時的な状態です。次の状態は "
481 "`StandAlone` です。"
482
483 #. type: Block title
484 #, no-wrap
485 msgid "_Unconnected_"
486 msgstr "_Unconnected_"
487
488 #. type: Plain text
489 msgid ""
490 "indexterm:[connection state, Unconnected]Temporary state, prior to a "
491 "connection attempt. Possible next states: _Connecting_."
492 msgstr ""
493 "indexterm:[connection state, Unconnected]接続を試行する前の一時的な状態です。"
494 "次に考えられる状態は、 _Connecting_ です。"
495
496 #. type: Block title
497 #, no-wrap
498 msgid "_Timeout_"
499 msgstr "_Timeout_"
500
501 #. type: Plain text
502 msgid ""
503 "indexterm:[connection state, Timeout]Temporary state following a timeout in "
504 "the communication with the peer. Next state: _Unconnected_."
505 msgstr ""
506 "indexterm:[connection state]対向ノードとの通信のタイムアウト後の一時的な状態"
507 "です。次の状態は `Unconnected` です。"
508
509 #. type: Block title
510 #, no-wrap
511 msgid "_BrokenPipe_"
512 msgstr "_BrokenPipe_"
513
514 #. type: Plain text
515 msgid ""
516 "indexterm:[connection state, BrokenPipe]Temporary state after the connection "
517 "to the peer was lost. Next state: _Unconnected_."
518 msgstr ""
519 "indexterm:[connection state]対向ノードとの接続が失われた後の一時的な状態で"
520 "す。次の状態は `Unconnected` です。"
521
522 #. type: Block title
523 #, no-wrap
524 msgid "_NetworkFailure_"
525 msgstr "_NetworkFailure_"
526
527 #. type: Plain text
528 msgid ""
529 "indexterm:[connection state, NetworkFailure]Temporary state after the "
530 "connection to the partner was lost. Next state: _Unconnected_."
531 msgstr ""
532 "indexterm:[connection state]対向ノードとの接続が失われた後の一時的な状態で"
533 "す。次の状態は `Unconnected` です。"
534
535 #. type: Block title
536 #, no-wrap
537 msgid "_ProtocolError_"
538 msgstr "_ProtocolError_"
539
540 #. type: Plain text
541 msgid ""
542 "indexterm:[connection state, ProtocolError]Temporary state after the "
543 "connection to the partner was lost. Next state: _Unconnected_."
544 msgstr ""
545 "indexterm:[connection state]対向ノードとの接続が失われた後の一時的な状態で"
546 "す。次の状態は `Unconnected` です。"
547
548 #. type: Block title
549 #, no-wrap
550 msgid "_TearDown_"
551 msgstr "_TearDown_"
552
553 #. type: Plain text
554 msgid ""
555 "indexterm:[connection state, TearDown]Temporary state. The peer is closing "
556 "the connection. Next state: _Unconnected_."
557 msgstr ""
558 "indexterm:[connection state]一時的な状態です。対向ノードが接続を閉じていま"
559 "す。次の状態は `Unconnected` です。"
560
561 #. type: Block title
562 #, no-wrap
563 msgid "_Connecting_"
564 msgstr "_Connecting_"
565
566 #. type: Plain text
567 msgid ""
568 "indexterm:[connection state, Connecting]This node is waiting until the peer "
569 "node becomes visible on the network."
570 msgstr ""
571 "indexterm:[connection state, Connecting]対向ノードがネットワーク上で可視にな"
572 "るまでノードが待機します。"
573
574 #. type: Block title
575 #, no-wrap
576 msgid "_Connected_"
577 msgstr "_Connected_"
578
579 #. type: Plain text
580 msgid ""
581 "indexterm:[connection state, Connected]A DRBD connection has been "
582 "established, data mirroring is now active. This is the normal state."
583 msgstr ""
584 "indexterm:[connection state, Connected]DRBDの接続が確立され、データミラー化が"
585 "アクティブになっています。これが正常な状態です。"
586
587 #. type: Title ====
588 #, no-wrap
589 msgid "Replication states"
590 msgstr "複製ステータス"
591
592 #. type: Plain text
593 msgid ""
594 "Each volume has over each connection a replication state. The possible "
595 "replication states are:"
596 msgstr ""
597 "各ボリュームは接続を介した複製ステータスを持ちます。可能な複製ステータスは以"
598 "下になります。"
599
600 #. type: Block title
601 #, no-wrap
602 msgid "_Off_"
603 msgstr "_Off_"
604
605 #. type: Plain text
606 msgid ""
607 "indexterm:[replication state, Off]The volume is not replicated over this "
608 "connection, since the connection is not _Connected_."
609 msgstr ""
610 "indexterm:[replication state, Off]ボリュームはこの接続を通して複製されていま"
611 "せん。接続が _Connected_ になっていません。す。次の状態は `Unconnected` で"
612 "す。"
613
614 #. type: Block title
615 #, no-wrap
616 msgid "_Established_"
617 msgstr "_Established_"
618
619 #. type: Plain text
620 msgid ""
621 "indexterm:[replication state, Established]All writes to that volume are "
622 "replicated online. This is the normal state."
623 msgstr ""
624 "indexterm:[replication state, Established]このボリュームへのすべての書き込み"
625 "がオンラインで複製されています。これは通常の状態です。"
626
627 #. type: Block title
628 #, no-wrap
629 msgid "_StartingSyncS_"
630 msgstr "_StartingSyncS_"
631
632 #. type: Plain text
633 msgid ""
634 "indexterm:[replication state, StartingSyncS]Full synchronization, initiated "
635 "by the administrator, is just starting. The next possible states are: "
636 "_SyncSource_ or _PausedSyncS_."
637 msgstr ""
638 "indexterm:[replication state,StartingSyncS]管理者により開始されたフル同期が始"
639 "まっています。次に考えられる状態は `SyncSource` または `PausedSyncS` です。"
640
641 #. type: Block title
642 #, no-wrap
643 msgid "_StartingSyncT_"
644 msgstr "_StartingSyncT_"
645
646 #. type: Plain text
647 msgid ""
648 "indexterm:[replication state, StartingSyncT]Full synchronization, initiated "
649 "by the administrator, is just starting. Next state: _WFSyncUUID_."
650 msgstr ""
651 "indexterm:[replication state, StartingSyncT]管理者により開始されたフル同期が"
652 "始まっています。次の状態は _WFSyncUUID_ です。"
653
654 #. type: Block title
655 #, no-wrap
656 msgid "_WFBitMapS_"
657 msgstr "_WFBitMapS_"
658
659 #. type: Plain text
660 msgid ""
661 "indexterm:[replication state, WFBitMapS]Partial synchronization is just "
662 "starting. Next possible states: _SyncSource_ or _PausedSyncS_."
663 msgstr ""
664 "indexterm:[replication state, WFBitMapS]部分同期が始まっています。次に考えら"
665 "れる状態は _SyncSource_ または _PausedSyncS_ です。"
666
667 #. type: Block title
668 #, no-wrap
669 msgid "_WFBitMapT_"
670 msgstr "_WFBitMapT_"
671
672 #. type: Plain text
673 msgid ""
674 "indexterm:[replication state, WFBitMapT]Partial synchronization is just "
675 "starting. Next possible state: _WFSyncUUID_."
676 msgstr ""
677 "indexterm:[replication state, WFBitMapT]部分同期が始まっています。次に考えら"
678 "れる状態は `WFSyncUUID` です。"
679
680 #. type: Block title
681 #, no-wrap
682 msgid "_WFSyncUUID_"
683 msgstr "_WFSyncUUID_"
684
685 #. type: Plain text
686 msgid ""
687 "indexterm:[replication state, WFSyncUUID]Synchronization is about to begin. "
688 "Next possible states: _SyncTarget_ or _PausedSyncT_."
689 msgstr ""
690 "indexterm:[replication state, WFSyncUUID]同期が開始されるところです。次に考え"
691 "られる状態は _SyncTarget_ または _PausedSyncT_ です。"
692
693 #. type: Block title
694 #, no-wrap
695 msgid "_SyncSource_"
696 msgstr "_SyncSource_"
697
698 #. type: Plain text
699 msgid ""
700 "indexterm:[replication state, SyncSource]Synchronization is currently "
701 "running, with the local node being the source of synchronization."
702 msgstr ""
703 "indexterm:[replication state, SyncSource]現在、ローカルノードを同期元にして同"
704 "期を実行中です。"
705
706 #. type: Block title
707 #, no-wrap
708 msgid "_SyncTarget_"
709 msgstr "_SyncTarget_"
710
711 #. type: Plain text
712 msgid ""
713 "indexterm:[replication state, SyncTarget]Synchronization is currently "
714 "running, with the local node being the target of synchronization."
715 msgstr ""
716 "indexterm:[replication state, SyncTarget]現在、ローカルノードを同期先にして同"
717 "期を実行中です。"
718
719 #. type: Block title
720 #, no-wrap
721 msgid "_PausedSyncS_"
722 msgstr "_PausedSyncS_"
723
724 #. type: Plain text
725 msgid ""
726 "indexterm:[replication state, PausedSyncS]The local node is the source of an "
727 "ongoing synchronization, but synchronization is currently paused. This may "
728 "be due to a dependency on the completion of another synchronization process, "
729 "or due to synchronization having been manually interrupted by `drbdadm pause-"
730 "sync`."
731 msgstr ""
732 "indexterm:[replication state, PausedSyncS]ローカルノードが進行中の同期の同期"
733 "元ですが、現在は同期が一時停止しています。原因として、別の同期プロセスの完了"
734 "との依存関係、または `drbdadm pause-sync` を使用して手動で同期が中断されたこ"
735 "とが考えられます。"
736
737 #. type: Block title
738 #, no-wrap
739 msgid "_PausedSyncT_"
740 msgstr "_PausedSyncT_"
741
742 #. type: Plain text
743 msgid ""
744 "indexterm:[replication state, PausedSyncT]The local node is the target of an "
745 "ongoing synchronization, but synchronization is currently paused. This may "
746 "be due to a dependency on the completion of another synchronization process, "
747 "or due to synchronization having been manually interrupted by `drbdadm pause-"
748 "sync`."
749 msgstr ""
750 "indexterm:[replication state, PausedSyncT]ローカルノードが進行中の同期の同期"
751 "先ですが、現在は同期が一時停止しています。原因として、別の同期プロセスの完了"
752 "との依存関係、または `drbdadm pause-sync` を使用して手動で同期が中断されたこ"
753 "とが考えられます。"
754
755 #. type: Block title
756 #, no-wrap
757 msgid "_VerifyS_"
758 msgstr "_VerifyS_"
759
760 #. type: Plain text
761 msgid ""
762 "indexterm:[replication state, VerifyS]On-line device verification is "
763 "currently running, with the local node being the source of verification."
764 msgstr ""
765 "indexterm:[replication state, VerifyS]ローカルノードを照合元にして、オンライ"
766 "ンデバイスの照合を実行中です。"
767
768 #. type: Block title
769 #, no-wrap
770 msgid "_VerifyT_"
771 msgstr "_VerifyT_"
772
773 #. type: Plain text
774 msgid ""
775 "indexterm:[replication state, VerifyT]On-line device verification is "
776 "currently running, with the local node being the target of verification."
777 msgstr ""
778 "indexterm:[replication state, VerifyT]現在、ローカルノードを照合先にして、オ"
779 "ンラインデバイスの照合を実行中です。"
780
781 #. type: Block title
782 #, no-wrap
783 msgid "_Ahead_"
784 msgstr "_Ahead_"
785
786 #. type: Plain text
787 msgid ""
788 "indexterm:[replication state, Ahead]Data replication was suspended, since "
789 "the link can not cope with the load. This state is enabled by the "
790 "configuration `on-congestion` option (see <<s-configure-congestion-policy>>)."
791 msgstr ""
792 "indexterm:[replication state, Ahead]リンクが負荷に対応できないので、データの"
793 "複製が中断しました。このステータスは `on-congestion` オプションの設定で有効に"
794 "できます(<<s-configure-congestion-policy>>を参照)。"
795
796 #. type: Block title
797 #, no-wrap
798 msgid "_Behind_"
799 msgstr "_Behind_"
800
801 #. type: Plain text
802 msgid ""
803 "indexterm:[replication state, Behind]Data replication was suspended by the "
804 "peer, since the link can not cope with the load. This state is enabled by "
805 "the configuration `on-congestion` option on the peer node (see <<s-configure-"
806 "congestion-policy>>)."
807 msgstr ""
808 "indexterm:[replication state, Behind]リンクが負荷に対応できないので、データの"
809 "複製が対向ノードによって中断されました。このステータスは対向ノードの `on-"
810 "congestion` オプション設定で有効にできま>す(<<s-configure-congestion-policy>>"
811 "を参照)。"
812
813 #. type: Title ====
814 #, no-wrap
815 msgid "Resource roles"
816 msgstr "リソースのロール"
817
818 #. type: Plain text
819 msgid ""
820 "indexterm:[resource]A resource's role can be observed by issuing the "
821 "indexterm:[drbdadm, role]`drbdadm role` command:"
822 msgstr ""
823 "indexterm:[resource]リソースのロールはindexterm:[drbdadm role]`drbdadm role` "
824 "コマンドを実行することで確認できます。"
825
826 #. type: delimited block -
827 #, no-wrap
828 msgid ""
829 "# drbdadm role <resource>\n"
830 "Primary\n"
831 msgstr ""
832 "# drbdadm role <resource>\n"
833 "Primary\n"
834
835 #. type: Plain text
836 msgid "You may see one of the following resource roles:"
837 msgstr "以下のいずれかのリソースのロールが表示されます。"
838
839 #. type: Block title
840 #, no-wrap
841 msgid "_Primary_"
842 msgstr "_Primary_"
843
844 #. type: Plain text
845 msgid ""
846 "indexterm:[role, Primary]The resource is currently in the primary role, and "
847 "may be read from and written to. This role only occurs on one of the two "
848 "nodes, unless <<s-dual-primary-mode,dual-primary mode>> is enabled."
849 msgstr ""
850 "リソースは現在プライマリロールで読み書き加能です。2つのノードの一方だけがこの"
851 "ロールになることができます。ただし、<<s-dual-primary-mode,デュアルプライマリ"
852 "モード>>の場合は例外です。"
853
854 #. type: Block title
855 #, no-wrap
856 msgid "_Secondary_"
857 msgstr "_Secondary_"
858
859 #. type: Plain text
860 msgid ""
861 "indexterm:[role, Secondary]The resource is currently in the secondary role. "
862 "It normally receives updates from its peer (unless running in disconnected "
863 "mode), but may neither be read from nor written to. This role may occur on "
864 "one or both nodes."
865 msgstr ""
866 "リソースは現在セカンダリロールです。対向ノードから正常に更新を受け取ることが"
867 "できますが(切断モード以外の場合)、このリソースに対して読み書きは実行できませ"
868 "ん。1つまたは両ノードがこのロールになることができます。"
869
870 #. type: Block title
871 #, no-wrap
872 msgid "_Unknown_"
873 msgstr "_Unknown_"
874
875 #. type: Plain text
876 msgid ""
877 "indexterm:[role, Unknown]The resource's role is currently unknown. The local "
878 "resource role never has this status. It is only displayed for the peer's "
879 "resource role, and only in disconnected mode."
880 msgstr ""
881 "リソースのロールが現在不明です。ローカルリソースロールがこの状態になることは"
882 "ありません。切断モードの場合に、対向ノードのリソースロールにのみ表示されま"
883 "す。"
884
885 #. type: Title ====
886 #, no-wrap
887 msgid "Disk states"
888 msgstr "ディスク状態"
889
890 #. type: Plain text
891 msgid ""
892 "A resource's disk state can be observed either by issuing the `drbdadm "
893 "dstate` command:"
894 msgstr ""
895 "リソースのディスク状態は `drbdadm dstate` コマンドを実行することで確認できま"
896 "す。"
897
898 #. type: delimited block -
899 #, no-wrap
900 msgid ""
901 "# drbdadm dstate <resource>\n"
902 "UpToDate\n"
903 msgstr ""
904 "# drbdadm dstate <resource>\n"
905 "UpToDate\n"
906
907 #. type: Plain text
908 msgid "The disk state may be one of the following:"
909 msgstr "ディスク状態は以下のいずれかです。"
910
911 #. type: Block title
912 #, no-wrap
913 msgid "_Diskless_"
914 msgstr "_Diskless_"
915
916 #. type: Plain text
917 msgid ""
918 "indexterm:[disk state, Diskless]No local block device has been assigned to "
919 "the DRBD driver. This may mean that the resource has never attached to its "
920 "backing device, that it has been manually detached using `drbdadm detach`, "
921 "or that it automatically detached after a lower-level I/O error."
922 msgstr ""
923 "indexterm:[disk state]DRBDドライバにローカルブロックデバイスが割り当てられて"
924 "いません。原因として、リソースが下位デバイスに接続されなかった、 `drbdadm "
925 "detach` を使用して手動でリソースを切り離した、または下位レベルのI/Oエラーによ"
926 "り自動的に切り離されたことが考えられます。"
927
928 #. type: Block title
929 #, no-wrap
930 msgid "_Attaching_"
931 msgstr "_Attaching_"
932
933 #. type: Plain text
934 msgid ""
935 "indexterm:[disk state, Attaching]Transient state while reading meta data."
936 msgstr "indexterm:[disk state]メタデータ読み取り中の一時的な状態です。"
937
938 #. type: Block title
939 #, no-wrap
940 msgid "_Detaching_"
941 msgstr "_Detaching_"
942
943 #. type: Plain text
944 msgid ""
945 "indexterm:[disk state, Detaching]Transient state while detaching and waiting "
946 "for ongoing IOs to complete."
947 msgstr ""
948 "indexterm:[disk state, Detaching]切断され、進行中のIO処理が完了するのを待って"
949 "いる一時的な状態。"
950
951 #. type: Block title
952 #, no-wrap
953 msgid "_Failed_"
954 msgstr "_Failed_"
955
956 #. type: Plain text
957 msgid ""
958 "indexterm:[disk state, Failed]Transient state following an I/O failure "
959 "report by the local block device. Next state: _Diskless_."
960 msgstr ""
961 "indexterm:[disk state]ローカルブロックデバイスがI/O障害を報告した後の一時的な"
962 "状態です。次の状態は `Diskless` です。"
963
964 #. type: Block title
965 #, no-wrap
966 msgid "_Negotiating_"
967 msgstr "_Negotiating_"
968
969 #. type: Plain text
970 msgid ""
971 "indexterm:[disk state, Negotiating]Transient state when an _Attach_ is "
972 "carried out on an already-__Connected__ DRBD device."
973 msgstr ""
974 "indexterm:[disk state]すでに `Connected` のDRBDデバイスで `attach` が実行され"
975 "た場合の一時的状態です。"
976
977 #. type: Block title
978 #, no-wrap
979 msgid "_Inconsistent_"
980 msgstr "_Inconsistent_"
981
982 #. type: Plain text
983 msgid ""
984 "indexterm:[disk state, Inconsistent]The data is inconsistent. This status "
985 "occurs immediately upon creation of a new resource, on both nodes (before "
986 "the initial full sync). Also, this status is found in one node (the "
987 "synchronization target) during synchronization."
988 msgstr ""
989 "indexterm:[disk state]データが一致しません。新規リソースを作成した直後に(初期"
990 "フル同期の前に)両方のノードがこの状態になります。また、同期中には片方のノード"
991 "(同期先)がこの状態になります。"
992
993 #. type: Block title
994 #, no-wrap
995 msgid "_Outdated_"
996 msgstr "_Outdated_"
997
998 #. type: Plain text
999 msgid ""
1000 "indexterm:[disk state, Outdated]Resource data is consistent, but <<s-outdate,"
1001 "outdated>>."
1002 msgstr ""
1003 "indexterm:[disk state]リソースデータは一致していますが、<<s-outdate,無効>>で"
1004 "す。"
1005
1006 #. type: Block title
1007 #, no-wrap
1008 msgid "_DUnknown_"
1009 msgstr "_DUnknown_"
1010
1011 #. type: Plain text
1012 msgid ""
1013 "indexterm:[disk state, DUnknown]This state is used for the peer disk if no "
1014 "network connection is available."
1015 msgstr ""
1016 "indexterm:[disk state]ネットワーク接続を使用できない場合に、対向ノードディス"
1017 "クにこの状態が使用されます。"
1018
1019 #. type: Block title
1020 #, no-wrap
1021 msgid "_Consistent_"
1022 msgstr "_Consistent_"
1023
1024 #. type: Plain text
1025 msgid ""
1026 "indexterm:[disk state, Consistent]Consistent data of a node without "
1027 "connection. When the connection is established, it is decided whether the "
1028 "data is _UpToDate_ or _Outdated_."
1029 msgstr ""
1030 "indexterm:[disk state]接続していない状態でノードのデータが一致しています。接"
1031 "続が確立すると、データが _UpToDate_ か _Outdated_ か判断されます。"
1032
1033 #. type: Block title
1034 #, no-wrap
1035 msgid "_UpToDate_"
1036 msgstr "_UpToDate_"
1037
1038 #. type: Plain text
1039 msgid ""
1040 "indexterm:[disk state, UpToDate]Consistent, up-to-date state of the data. "
1041 "This is the normal state."
1042 msgstr ""
1043 "indexterm:[disk state]データが一致していて最新の状態です。これが正常な状態で"
1044 "す。"
1045
1046 #. type: Title ====
1047 #, no-wrap
1048 msgid "Connection information data"
1049 msgstr "接続情報データ"
1050
1051 #. type: Block title
1052 #, no-wrap
1053 msgid "_local_"
1054 msgstr "_local_"
1055
1056 #. type: Plain text
1057 msgid ""
1058 "Shows the network family, the local address and port that is used to accept "
1059 "connections from the peer."
1060 msgstr ""
1061 "ネットワークファミリ、ローカルアドレス、対向ノードから接続を許可されたポート"
1062 "を表示します。"
1063
1064 #. type: Block title
1065 #, no-wrap
1066 msgid "_peer_"
1067 msgstr "_peer_"
1068
1069 #. type: Plain text
1070 msgid ""
1071 "Shows the network family, the peer address and port that is used to connect."
1072 msgstr ""
1073 "ネットワークファミリ、ローカルアドレス、接続に使用しているポートを表示しま"
1074 "す。"
1075
1076 #. type: Block title
1077 #, no-wrap
1078 msgid "_congested_"
1079 msgstr "_congested_"
1080
1081 #. type: Plain text
1082 msgid ""
1083 "This flag tells whether the TCP send buffer of the data connection is more "
1084 "than 80% filled."
1085 msgstr ""
1086 "データのTCP送信バッファを80%より多く使用している場合にこのフラグがつきます。"
1087
1088 #. type: Title ====
1089 #, no-wrap
1090 msgid "Performance indicators"
1091 msgstr "パフォーマンス指標"
1092
1093 #. type: Plain text
1094 msgid ""
1095 "indexterm:[performance indicators] The command ``drbdsetup status --verbose "
1096 "--statistics`` can be used to show performance statistics. These are also "
1097 "available in ``drbdsetup events2 --statistics``, although there will not be "
1098 "a _changed_ event for every change. The statistics include the following "
1099 "counters and gauges:"
1100 msgstr ""
1101 "indexterm:[performance indicators] コマンド `drbdsetup status --verbose --"
1102 "statistics`` を使用して、パフォーマンス統計を表示できます。これは "
1103 "``drbdsetup events2 --statistics`` でも利用できますが、変更ごとに _changed_ "
1104 "イベントが発生するわけではありません。統計には、次のカウンターとゲージが含ま"
1105 "れます。"
1106
1107 #. type: Plain text
1108 msgid "Per volume/device:"
1109 msgstr "ボリューム/デバイス単位:"
1110
1111 #. type: Block title
1112 #, no-wrap
1113 msgid "_read_ (disk read)"
1114 msgstr "_read_ (disk read)"
1115
1116 #. type: Plain text
1117 msgid "Net data read from local disk; in KiB."
1118 msgstr "ローカルディスクから読み取られたネットデータ (kibyte単位)。"
1119
1120 #. type: Block title
1121 #, no-wrap
1122 msgid "_written_ (disk written)"
1123 msgstr "_written_ (disk written)"
1124
1125 #. type: Plain text
1126 msgid "Net data written to local disk; in KiB."
1127 msgstr "ローカルのディスクに書き込んだ正味データ量(kibyte単位)。"
1128
1129 #. type: Block title
1130 #, no-wrap
1131 msgid "_al-writes_ (activity log)"
1132 msgstr "_al-writes_ (activity log)"
1133
1134 #. type: Plain text
1135 msgid "Number of updates of the activity log area of the meta data."
1136 msgstr "メタデータのアクティビティログエリアのアップデート数。"
1137
1138 #. type: Block title
1139 #, no-wrap
1140 msgid "_bm-writes_ (bitmap)"
1141 msgstr "_bm-writes_ (bitmap)"
1142
1143 #. type: Plain text
1144 msgid "Number of updates of the bitmap area of the meta data."
1145 msgstr "メタデータのビットマップエリアのアップデート数。"
1146
1147 #. type: Block title
1148 #, no-wrap
1149 msgid "_upper-pending_ (application pending)"
1150 msgstr "_upper-pending_ (application pending)"
1151
1152 #. type: Plain text
1153 msgid ""
1154 "Number of block I/O requests forwarded to DRBD, but not yet answered "
1155 "(completed) by DRBD."
1156 msgstr ""
1157 "まだDRBDから応答がない(完了していない)DRBDへのブロックI/Oリクエスト数。"
1158
1159 #. type: Block title
1160 #, no-wrap
1161 msgid "_lower-pending_ (local count)"
1162 msgstr "_lower-pending_ (local count)"
1163
1164 #. type: Plain text
1165 msgid "Number of open requests to the local I/O sub-system issued by DRBD."
1166 msgstr "DRBDが発行したローカルI/Oサブシステムへのオープンリクエストの数。"
1167
1168 #. type: Block title
1169 #, no-wrap
1170 msgid "_blocked_"
1171 msgstr "_blocked_"
1172
1173 #. type: Plain text
1174 msgid "indexterm:[blocked]Shows local I/O congestion."
1175 msgstr "indexterm:[blocked]ローカルI/Oの輻輳を示します。"
1176
1177 #. type: Plain text
1178 msgid "_no_: No congestion."
1179 msgstr "_no_:輻輳なし"
1180
1181 #. type: Plain text
1182 msgid ""
1183 "_upper_: I/O _above_ the DRBD device is blocked, i.e. to the filesystem. "
1184 "Typical causes are"
1185 msgstr ""
1186 "_uppeer_: ファイルシステムなどDRBD _より上位_ のI/Oがブロックされている。代表"
1187 "的なものには以下がある。"
1188
1189 #. type: Plain text
1190 msgid ""
1191 "I/O suspension by the administrator, see the `suspend-io` command in "
1192 "`drbdadm`."
1193 msgstr "管理者によるI/O中断。 `drbdadm` コマンドの `suspend-io` を参照。"
1194
1195 #. type: Plain text
1196 msgid "transient blocks, e.g. during attach/detach"
1197 msgstr "アタッチ/デタッチ時の一時的なブロック。"
1198
1199 #. type: Plain text
1200 msgid "buffers depleted, see <<p-performance>>"
1201 msgstr "バッファーの枯渇。<<p-performance>> 参照。"
1202
1203 #. type: Plain text
1204 msgid "Waiting for bitmap IO"
1205 msgstr "ビットマップIO待ち"
1206
1207 #. type: Plain text
1208 msgid "_lower_: Backing device is congested."
1209 msgstr "_lower_: 下位デバイスの輻輳"
1210
1211 #. type: Plain text
1212 msgid "_upper,lower_: Both _upper_ and _lower_ are blocked."
1213 msgstr "上位、下位両方がブロックされている。"
1214
1215 #. type: Plain text
1216 msgid "Per connection:"
1217 msgstr "接続単位:"
1218
1219 #. type: Block title
1220 #, no-wrap
1221 msgid "_ap-in-flight_ (application in-flight)"
1222 msgstr "_ap-in-flight_ (application in-flight)"
1223
1224 #. type: Plain text
1225 msgid ""
1226 "Application data that is being written by the peer. That is, DRBD has sent "
1227 "it to the peer and is waiting for the acknowledgement that it has been "
1228 "written. In sectors (512 bytes)."
1229 msgstr ""
1230 "対向ノードによって書き込まれているアプリケーションデータ。つまり、DRBD はそれ"
1231 "を対向ノードに送信し、書き込まれたという確認応答を待っています。セクター単位"
1232 "(512バイト)。"
1233
1234 #. type: Block title
1235 #, no-wrap
1236 msgid "_rs-in-flight_ (resync in-flight)"
1237 msgstr "_rs-in-flight_ (resync in-flight)"
1238
1239 #. type: Plain text
1240 msgid ""
1241 "Resync data that is being written by the peer. That is, DRBD is "
1242 "_SyncSource_, has sent data to the peer as part of a resync and is waiting "
1243 "for the acknowledgement that it has been written. In sectors (512 bytes)."
1244 msgstr ""
1245 "対向ノードによって書き込まれている同期データ。つまり、DRBD は _SyncSource_ "
1246 "が 同期データを対向ノードに送信し、データが書き込まれたことの確認応答を待っ"
1247 "ています。セクター単位(512バイト)。"
1248
1249 #. type: Plain text
1250 msgid "Per connection and volume (\"peer device\"):"
1251 msgstr "接続とボリューム単位 (\"peer device\"):"
1252
1253 #. type: Block title
1254 #, no-wrap
1255 msgid "_received_ (network receive)"
1256 msgstr "_received_ (network receive)"
1257
1258 #. type: Plain text
1259 msgid "Net data received from the peer; in KiB."
1260 msgstr "対向ノードから受信したネットデータ(KiB単位)。"
1261
1262 #. type: Block title
1263 #, no-wrap
1264 msgid "_sent_ (network send)"
1265 msgstr "_sent_ (network send)"
1266
1267 #. type: Plain text
1268 msgid "Net data sent to the peer; in KiB."
1269 msgstr "対向ノードへ送信したネットデータ(KiB単位)。"
1270
1271 #. type: Block title
1272 #, no-wrap
1273 msgid "_out-of-sync_"
1274 msgstr "_out-of-sync_"
1275
1276 #. type: Plain text
1277 msgid ""
1278 "indexterm:[out-of-sync]indexterm:[oos]Amount of data currently out of sync "
1279 "with this peer, according to the bitmap that DRBD has for it; in KiB."
1280 msgstr ""
1281 "indexterm:[out-of-sync]indexterm:[oos]DRBD のビットマップによる現在この対向"
1282 "ノードと同期していないデータ量(KiB単位)。"
1283
1284 #. type: Block title
1285 #, no-wrap
1286 msgid "_pending_"
1287 msgstr "_pending_"
1288
1289 #. type: Plain text
1290 msgid ""
1291 "Number of requests sent to the peer, but that have not yet been acknowledged "
1292 "by the peer."
1293 msgstr ""
1294 "対向ノードに送信されたが、対向ノードによってまだ確認されていないリクエスト"
1295 "数。"
1296
1297 #. type: Block title
1298 #, no-wrap
1299 msgid "_unacked_ (unacknowledged)"
1300 msgstr "_unacked_ (unacknowledged)"
1301
1302 #. type: Plain text
1303 msgid ""
1304 "Number of requests received from the peer, but that have not yet been "
1305 "acknowledged by DRBD on this node."
1306 msgstr ""
1307 "対向ノードから受信したが、このノードの DRBD によってまだ確認されていないリク"
1308 "エスト数。"
1309
1310 #. type: Block title
1311 #, no-wrap
1312 msgid "_resync-suspended_"
1313 msgstr "_resync-suspended_"
1314
1315 #. type: Plain text
1316 msgid ""
1317 "Whether the resynchronization is currently suspended or not. Possible values "
1318 "are _no_, _user_, _peer_, _dependency_. Comma separated."
1319 msgstr ""
1320 "現在同期が中断されているかどうかを示す。値は _no_, _user_, _peer_, "
1321 "_dependency_ でカンマ区切り。"
1322
1323 #. type: Title ===
1324 #, no-wrap
1325 msgid "Enabling and disabling resources"
1326 msgstr "リソースの有効化と無効化"
1327
1328 #. type: Title ====
1329 #, no-wrap
1330 msgid "Enabling resources"
1331 msgstr "リソースの有効化"
1332
1333 #. type: Plain text
1334 msgid ""
1335 "indexterm:[resource]Normally, all configured DRBD resources are "
1336 "automatically enabled"
1337 msgstr ""
1338 "indexterm:[resource]通常、自動的にすべての設定済みDRBDリソースが有効になりま"
1339 "す。これは、"
1340
1341 #. type: Plain text
1342 msgid ""
1343 "by a cluster resource management application at its discretion, based on "
1344 "your cluster configuration, or"
1345 msgstr "クラスタ構成に応じたクラスタ管理アプリケーションの操作による、または"
1346
1347 #. type: Plain text
1348 msgid "by the systemd units (e.g., `[email protected]`)"
1349 msgstr "systemd units (e.g., `[email protected]`) による"
1350
1351 #. type: Plain text
1352 msgid ""
1353 "If, however, you need to enable resources manually for any reason, you may "
1354 "do so by issuing the command"
1355 msgstr ""
1356 "手動でリソースを起動する必要がある場合には、以下のコマンドの実行によって行う"
1357 "ことができます。"
1358
1359 #. type: delimited block -
1360 #, no-wrap
1361 msgid "# drbdadm up <resource>\n"
1362 msgstr "# drbdadm up <resource>\n"
1363
1364 #. type: Plain text
1365 msgid ""
1366 "As always, you may use the keyword `all` instead of a specific resource name "
1367 "if you want to enable all resources configured in `/etc/drbd.conf` at once."
1368 msgstr ""
1369 "他の場合と同様に、特定のリソース名の代わりにキーワード `all` を使用すれば、 "
1370 "`/etc/drbd.conf` で設定しているすべてのリソースを一度に有効にできます。"
1371
1372 #. type: Title ====
1373 #, no-wrap
1374 msgid "Disabling resources"
1375 msgstr "リソースを無効にする"
1376
1377 #. type: Plain text
1378 msgid ""
1379 "indexterm:[resource]You may temporarily disable specific resources by "
1380 "issuing the command"
1381 msgstr ""
1382 "indexterm:[resource]特定のリソースを一時的に無効にするには、次のコマンドを実"
1383 "行します。"
1384
1385 #. type: delimited block -
1386 #, no-wrap
1387 msgid "# drbdadm down <resource>\n"
1388 msgstr "# drbdadm down <resource>\n"
1389
1390 #. type: Plain text
1391 msgid ""
1392 "Here, too, you may use the keyword `all` in place of a resource name if you "
1393 "wish to temporarily disable all resources listed in `/etc/drbd.conf` at once."
1394 msgstr ""
1395 "ここでも、リソース名の代わりにキーワード `all` を使用して、1回で `/etc/drbd."
1396 "conf` に記述しているすべてのリソースを一時的に無効にできます。"
1397
1398 #. type: Title ===
1399 #, no-wrap
1400 msgid "Reconfiguring resources"
1401 msgstr "リソースの再設定"
1402
1403 #. type: Plain text
1404 msgid ""
1405 "indexterm:[resource]DRBD allows you to reconfigure resources while they are "
1406 "operational. To that end,"
1407 msgstr ""
1408 "indexterm:[resource]DRBDの動作中にリソースを再設定することができます。次の手"
1409 "順を行います。"
1410
1411 #. type: Plain text
1412 msgid ""
1413 "make any necessary changes to the resource configuration in `/etc/drbd.conf`,"
1414 msgstr "`/etc/drbd.conf` のリソース設定を変更します。"
1415
1416 #. type: Plain text
1417 msgid "synchronize your `/etc/drbd.conf` file between both nodes,"
1418 msgstr "両方のノードで `/etc/drbd.conf` ファイルを同期します。"
1419
1420 #. type: Plain text
1421 msgid ""
1422 "issue the indexterm:[drbdadm, adjust]`drbdadm adjust <resource>` command on "
1423 "both nodes."
1424 msgstr ""
1425 "indexterm:[drbdadm] `drbdadm adjust <resource>` コマンドを 両ノードで実行しま"
1426 "す。"
1427
1428 #. type: Plain text
1429 msgid ""
1430 "`drbdadm adjust` then hands off to `drbdsetup` to make the necessary "
1431 "adjustments to the configuration. As always, you are able to review the "
1432 "pending `drbdsetup` invocations by running `drbdadm` with the `-d` (dry-run) "
1433 "option."
1434 msgstr ""
1435 "`drbdadm adjust` は `drbdsetup` を通じて実行中のリソースを調整します。保留中"
1436 "の `drbdsetup` 呼び出しを確認するには、 `drbdadm` を `-d` (dry-run,予行演習)"
1437 "オプションを付けて実行します。"
1438
1439 #. type: Plain text
1440 msgid ""
1441 "When making changes to the `common` section in `/etc/drbd.conf`, you can "
1442 "adjust the configuration for all resources in one run, by issuing `drbdadm "
1443 "adjust all`."
1444 msgstr ""
1445 "`/etc/drbd.conf` の `common` セクションを変更して一度にすべてのリソースに反映"
1446 "させたいときには `drbdadm adjust all` を実行します。"
1447
1448 #. type: Title ===
1449 #, no-wrap
1450 msgid "Promoting and demoting resources"
1451 msgstr "リソースの昇格と降格"
1452
1453 #. type: Plain text
1454 msgid ""
1455 "indexterm:[resource]Manually switching a <<s-resource-roles,resource's "
1456 "role>> from secondary to primary (promotion) or vice versa (demotion) is "
1457 "done using one of the following commands:"
1458 msgstr ""
1459 "indexterm:[resource]手動で<<s-resource-roles,リソースロール>>をセカンダリから"
1460 "プライマリに切り替える(昇格)、またはその逆に切り替える(降格)には、次のコマン"
1461 "ドを実行します。"
1462
1463 #. type: delimited block -
1464 #, no-wrap
1465 msgid ""
1466 "# drbdadm primary <resource>\n"
1467 "# drbdadm secondary <resource>\n"
1468 msgstr ""
1469 "# drbdadm primary <resource>\n"
1470 "# drbdadm secondary <resource>\n"
1471
1472 #. type: Plain text
1473 msgid ""
1474 "In <<s-single-primary-mode,single-primary mode>> (DRBD's default), any "
1475 "resource can be in the primary role on only one node at any given time while "
1476 "the <<s-connection-states,connection state>> is _Connected_. Thus, issuing "
1477 "`drbdadm primary <resource>` on one node while the specified resource is "
1478 "still in the primary role on another node will result in an error."
1479 msgstr ""
1480 "DRBDが<<s-single-primary-mode,シングルプライマリモード>>(DRBDのデフォルト)"
1481 "で、<<s-connection-states,コネクションステータス>>が `Connected` の場合、任意"
1482 "のタイミングでどちらか1つのノード上でのみリソースはプライマリロールになれま"
1483 "す。したがって、あるリソースが他のノードに対してプライマリロールになっている"
1484 "ときに `drbdadm primary <resource>` を実行すると、エラーが発生します。"
1485
1486 #. type: Plain text
1487 msgid ""
1488 "A resource configured to allow <<s-dual-primary-mode,dual-primary mode>> can "
1489 "be switched to the primary role on two nodes; this is e.g. needed for online "
1490 "migration of virtual machines."
1491 msgstr ""
1492 "リソースが<<s-dual-primary-mode,デュアルプライマリモード>>に対応するよう設定"
1493 "している場合には、両方のノードをプライマリロールに切り替えることができます。"
1494 "これは、例えば仮想マシンのオンラインマイグレーションの際に利用できます。"
1495
1496 #. type: Title ===
1497 #, no-wrap
1498 msgid "Basic manual fail-over"
1499 msgstr "基本的な手動フェイルオーバ"
1500
1501 #. type: Plain text
1502 msgid ""
1503 "If not using a cluster manager and looking to handle fail-overs manually in "
1504 "a passive/active configuration, the process is as follows."
1505 msgstr ""
1506 "Pacemakerを使わず、パッシブ/アクティブ構成でフェイルオーバを手動で制御するに"
1507 "は次のようにします。"
1508
1509 #. type: Plain text
1510 msgid ""
1511 "On the current primary node stop any applications or services using the DRBD "
1512 "device, unmount the DRBD device, and demote the resource to secondary."
1513 msgstr ""
1514 "現在のプライマリノードでDRBDデバイスを使用するすべてのアプリケーションとサー"
1515 "ビスを停止し、リソースをセカンダリに降格します。"
1516
1517 #. type: delimited block -
1518 #, no-wrap
1519 msgid ""
1520 "# umount /dev/drbd/by-res/<resource>/<vol-nr>\n"
1521 "# drbdadm secondary <resource>\n"
1522 msgstr ""
1523 "# umount /dev/drbd/by-res/<resource>/<vol-nr>\n"
1524 "# drbdadm secondary <resource>\n"
1525
1526 #. type: Plain text
1527 msgid ""
1528 "Now on the node we wish to make primary promote the resource and mount the "
1529 "device."
1530 msgstr "プライマリにしたいノードでリソースを昇格してデバイスをマウントします。"
1531
1532 #. type: delimited block -
1533 #, no-wrap
1534 msgid ""
1535 "# drbdadm primary <resource>\n"
1536 "# mount /dev/drbd/by-res/<resource>/<vol-nr> <mountpoint>\n"
1537 msgstr ""
1538 "# drbdadm primary <resource>\n"
1539 "# mount /dev/drbd/by-res/<resource>/<vol-nr> <mountpoint>\n"
1540
1541 #. type: Plain text
1542 msgid ""
1543 "If you're using the `auto-promote` feature, you don't need to change the "
1544 "roles (_Primary_/_Secondary_) manually; only stopping of the services and "
1545 "unmounting, respectively mounting, is necessary."
1546 msgstr ""
1547 "`自動プロモート` 機能を使用している場合はロール(`プライマリ`/`セカンダリ`)を"
1548 "手動で変更する必要はありません。それぞれサービス停止とアンマウント、マウント"
1549 "の操作のみ必要です。"
1550
1551 #. type: Title ===
1552 #, no-wrap
1553 msgid "Using on-line device verification"
1554 msgstr "オンラインデバイス照合の使用"
1555
1556 #. type: Title ====
1557 #, no-wrap
1558 msgid "Enabling on-line verification"
1559 msgstr "オンライン照合を有効にする"
1560
1561 #. type: Plain text
1562 msgid ""
1563 "indexterm:[on-line device verification]<<s-online-verify,On-line device "
1564 "verification>> for resources is not enabled by default. To enable it, add "
1565 "the following lines to your resource configuration in `/etc/drbd.conf`:"
1566 msgstr ""
1567 "indexterm:[on-line device verification]<<s-online-verify,オンラインデバイス照"
1568 "合>>はデフォルトでは有効になっていません。有効にするには `/etc/drbd.conf` の"
1569 "リソース設定に以下の行を追加します。"
1570
1571 #. type: delimited block -
1572 #, no-wrap
1573 msgid ""
1574 "resource <resource>\n"
1575 " net {\n"
1576 " verify-alg <algorithm>;\n"
1577 " }\n"
1578 " ...\n"
1579 "}\n"
1580 msgstr ""
1581 "resource <resource>\n"
1582 " net {\n"
1583 " verify-alg <algorithm>;\n"
1584 " }\n"
1585 " ...\n"
1586 "}\n"
1587
1588 #. type: Plain text
1589 msgid ""
1590 "_<algorithm>_ may be any message digest algorithm supported by the kernel "
1591 "crypto API in your system's kernel configuration. Normally, you should be "
1592 "able to choose at least from `sha1`, `md5`, and `crc32c`."
1593 msgstr ""
1594 "_<algorithm>_ は、システムのカーネル構成内のカーネルcrypto APIでサポートされ"
1595 "る任意のメッセージダイジェストアルゴリズムです。通常は `sha1` 、 `md5` 、 "
1596 "`crc32c` から選択します。"
1597
1598 #. type: Plain text
1599 msgid ""
1600 "If you make this change to an existing resource, as always, synchronize your "
1601 "`drbd.conf` to the peer, and run `drbdadm adjust _<resource>_` on both nodes."
1602 msgstr ""
1603 "既存のリソースに対してこの変更を行う場合は、 `drbd.conf` を対向ノードと同期"
1604 "し、両方のノードで `drbdadm adjust <resource>` を実行します。"
1605
1606 #. type: Title ====
1607 #, no-wrap
1608 msgid "Invoking on-line verification"
1609 msgstr "オンライン照合の実行"
1610
1611 #. type: Plain text
1612 msgid ""
1613 "indexterm:[on-line device verification]After you have enabled on-line "
1614 "verification, you will be able to initiate a verification run using the "
1615 "following command:"
1616 msgstr ""
1617 "indexterm:[on-line device verification]オンライン照合を有効にしたら、次のコマ"
1618 "ンドでオンライン照合を開始します。"
1619
1620 #. type: delimited block -
1621 #, no-wrap
1622 msgid "# drbdadm verify <resource>:<peer>/<volume>\n"
1623 msgstr "# drbdadm verify <resource>:<peer>/<volume>\n"
1624
1625 #. type: Plain text
1626 msgid ""
1627 "When you do so, DRBD starts an online verification run for _<volume>_ to "
1628 "_<peer_> in _<resource>_, and if it detects any blocks that are not in sync, "
1629 "will mark those blocks as such and write a message to the kernel log. Any "
1630 "applications using the device at that time can continue to do so unimpeded, "
1631 "and you may also <<s-switch-resource-roles,switch resource roles>> at will."
1632 msgstr ""
1633 "コマンドを実行すると、DRBD が _<peer_> の _<resource>_ の _<volume>_ に対して"
1634 "オンライン照合を実行します。同期していないブロックを検出した場合は、ブロック"
1635 "に非同期のマークを付け、カーネルログにメッセージを書き込みます。このときにデ"
1636 "バイスを使用しているアプリケーションは中断なく動作し続けます。また、<<s-"
1637 "switch-resource-roles,リソースロールの切り替え>>も行うことができます。"
1638
1639 #. type: Plain text
1640 msgid ""
1641 "_<Volume>_ is optional, if ommited, it will verify all volumes in that "
1642 "resource."
1643 msgstr ""
1644 "_<Volume>_ はオプションで、省略した場合、そのリソース内のすべてのボリュームを"
1645 "照合します。"
1646
1647 #. type: Plain text
1648 msgid ""
1649 "If out-of-sync blocks were detected during the verification run, you may "
1650 "resynchronize them using the following commands after verification has "
1651 "completed."
1652 msgstr ""
1653 "照合中に同期していないブロックが検出された場合は、照合の完了後に、次のコマン"
1654 "ド使用して再同期できます。"
1655
1656 #. type: Plain text
1657 msgid "Since drbd-9.0.29 the preferred way is one of these commands:"
1658 msgstr "drbd-9.0.29 以降、推奨される方法は次のいずれかのコマンドです。"
1659
1660 #. type: delimited block -
1661 #, no-wrap
1662 msgid ""
1663 "# drbdadm invalidate <resource>:<peer>/volume --reset-bitmap=no\n"
1664 "# drbdadm invalidate-remote <resource>:<peer>/volume --reset-bitmap=no\n"
1665 msgstr ""
1666 "# drbdadm invalidate <resource>:<peer>/volume --reset-bitmap=no\n"
1667 "# drbdadm invalidate-remote <resource>:<peer>/volume --reset-bitmap=no\n"
1668
1669 #. type: Plain text
1670 msgid ""
1671 "The first command will cause the local differences to be overwritten by the "
1672 "remote version. The second command does it in the opposite direction."
1673 msgstr ""
1674 "最初のコマンドは、リモートバージョンによってローカルの違いが上書きされます。 "
1675 "2 番目のコマンドは反対方向にそれを行います。"
1676
1677 #. type: Plain text
1678 msgid ""
1679 "Before drbd-9.0.29 one needs to initiate a resync. A way to do that is "
1680 "disconnecting from a primary and ensuring that the primary changes at least "
1681 "one block while the peer is away."
1682 msgstr ""
1683 "drbd-9.0.29 より前のバージョンでは、再同期を開始する必要があります。これを行"
1684 "う方法は、対向ノードをプライマリから切断し、切断している間にプライマリが少な"
1685 "くとも1 つのブロックを変更するようにすることです。"
1686
1687 #. type: delimited block -
1688 #, no-wrap
1689 msgid ""
1690 "# drbdadm disconnect <resource>:<peer>\n"
1691 "## write one block on the primary\n"
1692 "# drbdadm connect <resource>:<peer>\n"
1693 msgstr ""
1694 "# drbdadm disconnect <resource>:<peer>\n"
1695 "## write one block on the primary\n"
1696 "# drbdadm connect <resource>:<peer>\n"
1697
1698 #. type: Title ====
1699 #, no-wrap
1700 msgid "Automating on-line verification"
1701 msgstr "自動オンライン照合"
1702
1703 #. type: Plain text
1704 msgid ""
1705 "indexterm:[on-line device verification]Most users will want to automate on-"
1706 "line device verification. This can be easily accomplished. Create a file "
1707 "with the following contents, named `/etc/cron.d/drbd-verify` on *one* of "
1708 "your nodes:"
1709 msgstr ""
1710 "indexterm:[on-line device verification]通常は、オンラインデバイス照合を自動的"
1711 "に実行するほうが便利です。自動化は簡単です。*一方* のノードに `/etc/cron.d/"
1712 "drbd-verify` という名前で、次のような内容のファイルを作成します。"
1713
1714 #. type: delimited block -
1715 #, no-wrap
1716 msgid "42 0 * * 0 root /sbin/drbdadm verify <resource>\n"
1717 msgstr "42 0 * * 0 root /sbin/drbdadm verify <resource>\n"
1718
1719 #. type: Plain text
1720 msgid ""
1721 "This will have `cron` invoke a device verification every Sunday at 42 "
1722 "minutes past midnight; so, if you come into the office on Monday morning, a "
1723 "quick look at the resource's status would show the result. If your devices "
1724 "are very big, and the \\~32 hours were not enough, then you'll notice "
1725 "_VerifyS_ or _VerifyT_ as connection state, meaning that the `verify` is "
1726 "still in progress."
1727 msgstr ""
1728 "これにより、毎週日曜日の午前0時42分に、 `cron` がデバイス照合を呼び出します。"
1729 "そのため、月曜の朝にリソース状態をチェックして結果を確認することができます。"
1730 "デバイスが大きくて32時間では足りなかった場合、 コネクションステータスが "
1731 "`VerifyS` または `VerifyT` になっています。これは `verify` がまだ動作中である"
1732 "ことを意味しています。"
1733
1734 #. type: Plain text
1735 msgid ""
1736 "If you have enabled on-line verification for all your resources (for "
1737 "example, by adding `verify-alg _<algorithm>_` to the `common` section in `/"
1738 "etc/drbd.d/global_common.conf`), you may also use:"
1739 msgstr ""
1740 "オンライン照合をすべてのリソースで有効にした場合(例えば `/etc/drbd.d/"
1741 "global_common.conf` の `common` セクションに `verify-alg <アルゴリズム>` を追"
1742 "加するなど)には、以下のようにします。"
1743
1744 #. type: delimited block -
1745 #, no-wrap
1746 msgid "42 0 * * 0 root /sbin/drbdadm verify all\n"
1747 msgstr "42 0 * * 0 root /sbin/drbdadm verify all\n"
1748
1749 #. type: Title ===
1750 #, no-wrap
1751 msgid "Configuring the rate of synchronization"
1752 msgstr "同期速度の設定"
1753
1754 #. type: Plain text
1755 msgid ""
1756 "indexterm:[synchronization]Normally, one tries to ensure that background "
1757 "synchronization (which makes the data on the synchronization target "
1758 "temporarily inconsistent) completes as quickly as possible. However, it is "
1759 "also necessary to keep background synchronization from hogging all bandwidth "
1760 "otherwise available for foreground replication, which would be detrimental "
1761 "to application performance. Thus, you must configure the synchronization "
1762 "bandwidth to match your hardware -- which you may do in a permanent fashion "
1763 "or on-the-fly."
1764 msgstr ""
1765 "indexterm:[synchronization]バックグラウンド同期中は同期先のデータとの一貫性が"
1766 "一時的に失われるため、同期はできるだけ短時間で完了させるべきです。ただし、す"
1767 "べての帯域幅がバックグラウンド同期に占有されてしまうと、フォアグラウンドレプ"
1768 "リケーションに使用できなくなり、アプリケーションのパフォーマンス低下につなが"
1769 "ります。これは避ける必要があります。同期用の帯域幅はハードウェアに合わせて設"
1770 "定する必要があります。"
1771
1772 #. type: Plain text
1773 msgid ""
1774 "It does not make sense to set a synchronization rate that is higher than the "
1775 "maximum write throughput on your secondary node. You must not expect your "
1776 "secondary node to miraculously be able to write faster than its I/O "
1777 "subsystem allows, just because it happens to be the target of an ongoing "
1778 "device synchronization."
1779 msgstr ""
1780 "同期速度をセカンダリノードの最大書き込みスループットを上回る速度に設定しても"
1781 "意味がありません。デバイス同期の速度をどれほど高速に設定しても、セカンダリ"
1782 "ノードがそのI/Oサブシステムの能力より高速に書き込みを行うことは不可能です。"
1783
1784 #. type: Plain text
1785 msgid ""
1786 "Likewise, and for the same reasons, it does not make sense to set a "
1787 "synchronization rate that is higher than the bandwidth available on the "
1788 "replication network."
1789 msgstr ""
1790 "また、同じ理由で、同期速度をレプリケーションネットワークの帯域幅の能力を上回"
1791 "る速度に設定しても意味がありません。"
1792
1793 #. type: Title ====
1794 #, no-wrap
1795 msgid "Estimating a synchronization speed"
1796 msgstr "同期速度の計算"
1797
1798 #. type: Plain text
1799 msgid ""
1800 "A good rule of thumb for this value is to use about 30% of the available "
1801 "replication bandwidth. Thus, if you had an I/O subsystem capable of "
1802 "sustaining write throughput of 400MB/s, and a Gigabit Ethernet network "
1803 "capable of sustaining 110 MB/s network throughput (the network being the "
1804 "bottleneck), you would calculate:"
1805 msgstr ""
1806 "概算としては使用可能なレプリケーション帯域幅の30%程度を想定するのがよいでしょ"
1807 "う。400MB/sの書き込みスループットを維持できるI/Oサブシステム、および110MB/sの"
1808 "ネットワークスループットを維持できるギガビットイーサネットネットワークの場合"
1809 "は、ネットワークがボトルネックになります。速度は次のように計算できます。"
1810
1811 #. type: Block title
1812 #, no-wrap
1813 msgid "Syncer rate example, 110MB/s effective available bandwidth"
1814 msgstr "syncer 速度の例(有効帯域幅が110MB/sの場合)"
1815
1816 #. type: Target for macro image
1817 #, no-wrap
1818 msgid "images/sync-rate-example1.svg"
1819 msgstr "images/sync-rate-example1.svg"
1820
1821 #. type: Plain text
1822 msgid "Thus, the recommended value for the `rate` option would be `33M`."
1823 msgstr "この結果、 `resynce-rate` オプションの推奨値は `33M` になります。"
1824
1825 #. type: Plain text
1826 msgid ""
1827 "By contrast, if you had an I/O subsystem with a maximum throughput of 80MB/s "
1828 "and a Gigabit Ethernet connection (the I/O subsystem being the bottleneck), "
1829 "you would calculate:"
1830 msgstr ""
1831 "一方、最大スループットが80MB/sのI/Oサブシステム、およびギガビットイーサネット"
1832 "接続を使用する場合は、I/Oサブシステムが律速要因になります。速度は次のように計"
1833 "算できます。"
1834
1835 #. type: Block title
1836 #, no-wrap
1837 msgid "Syncer rate example, 80MB/s effective available bandwidth"
1838 msgstr "syncer 速度の例(有効帯域幅が80MB/sの場合)"
1839
1840 #. type: Target for macro image
1841 #, no-wrap
1842 msgid "images/sync-rate-example2.svg"
1843 msgstr "images/sync-rate-example2.svg"
1844
1845 #. type: Plain text
1846 msgid ""
1847 "In this case, the recommended value for the `rate` option would be `24M`."
1848 msgstr "この場合、 `resync-rate` オプションの推奨値は `24M` です。"
1849
1850 #. type: Plain text
1851 msgid ""
1852 "Similarly, for a storage speed of 800MB/s and a 10Gbe network connection, "
1853 "you would shoot for \\~240MB/s synchronization rate."
1854 msgstr ""
1855 "同じようにして800MB/sのストレージ速度で10Gbeのネットワークコネクションであれ"
1856 "ば、〜240MB/sの同期速度が得られます。"
1857
1858 #. type: Title ====
1859 #, no-wrap
1860 msgid "Variable sync rate configuration"
1861 msgstr "可変同期速度設定"
1862
1863 #. type: Plain text
1864 msgid ""
1865 "When multiple DRBD resources share a single replication/synchronization "
1866 "network, synchronization with a fixed rate may not be an optimal approach. "
1867 "So, in DRBD 8.4.0 the variable-rate synchronization was enabled by default. "
1868 "In this mode, DRBD uses an automated control loop algorithm to determine, "
1869 "and adjust, the synchronization rate. This algorithm ensures that there is "
1870 "always sufficient bandwidth available for foreground replication, greatly "
1871 "mitigating the impact that background synchronization has on foreground I/O."
1872 msgstr ""
1873 "複数のDRBDリソースが1つのレプリケーション/同期ネットワークを共有する場合、同"
1874 "期が固定レートであることは最適なアプローチではありません。そのためDRBD 8.4.0"
1875 "から可変同期速度がデフォルトで有効になっています。このモードではDRBDが自動制"
1876 "御のループアルゴリズムで同期速度を決定して調整を行います。このアルゴリズムは"
1877 "フォアグラウンド同期に常に十分な帯域幅を確保し、バックグラウンド同期がフォア"
1878 "グラウンドのI/Oに与える影響を少なくします。"
1879
1880 #. type: Plain text
1881 msgid ""
1882 "The optimal configuration for variable-rate synchronization may vary greatly "
1883 "depending on the available network bandwidth, application I/O pattern and "
1884 "link congestion."
1885 msgstr ""
1886 "最適な可変同期速度の設定は、使用できるネットワーク帯域幅、アプリケーションの"
1887 "I/Oパターンやリンクの輻輳によって変わります。"
1888
1889 #. type: Plain text
1890 msgid ""
1891 "Ideal configuration settings also depend on whether <<s-drbd-proxy,DRBD "
1892 "Proxy>> is in use or not. It may be wise to engage professional consultancy "
1893 "in order to optimally configure this DRBD feature. An _example_ "
1894 "configuration (which assumes a deployment in conjunction with DRBD Proxy) is "
1895 "provided below:"
1896 msgstr ""
1897 "<<s-drbd-proxy,DRBD Proxy>> の有無によっても適切な設定は異なります。DRBDの機"
1898 "能を最適化するためにコンサルタントを利用するのもよいでしょう。以下は(DRBD "
1899 "Proxy使用を想定した環境での)設定の _一例_ です。"
1900
1901 #. type: delimited block -
1902 #, no-wrap
1903 msgid ""
1904 "resource <resource> {\n"
1905 " disk {\n"
1906 " c-plan-ahead 5;\n"
1907 " c-max-rate 10M;\n"
1908 " c-fill-target 2M;\n"
1909 " }\n"
1910 "}\n"
1911 msgstr ""
1912 "resource <resource> {\n"
1913 " disk {\n"
1914 " c-plan-ahead 5;\n"
1915 " c-max-rate 10M;\n"
1916 " c-fill-target 2M;\n"
1917 " }\n"
1918 "}\n"
1919
1920 #. type: Plain text
1921 msgid ""
1922 "A good starting value for `c-fill-target` is _BDP * 2_, where _BDP_ is your "
1923 "bandwidth-delay-product on the replication link."
1924 msgstr ""
1925 "`c-fill-target` の初期値は _BDP✕2_ がよいでしょう。 _BDP_ とはレプリケーショ"
1926 "ンリンク上の帯域幅遅延積(Bandwidth Delay Product)です。"
1927
1928 #. type: Plain text
1929 msgid ""
1930 "For example, when using a 1GBit/s crossover connection, you'll end up with "
1931 "about 200µs latencyfootnote:[The rule-of-thumb is using the time reported by "
1932 "`ping`.]. + 1GBit/s means about 120MB/s; times 200*10^-6^ seconds gives "
1933 "24000 Byte. Just round that value up to the next MB, and you're good to go."
1934 msgstr ""
1935 "例えば、1GBit/sの接続の場合、200µsのレイテンシになります。footnote:[概算は "
1936 "`ping` の結果を使用しています]1GBit/sは約120MB/sです。120掛ける200*10^-6^秒は"
1937 "24000Byteです。この値はMB単位まで丸めてもよいでしょう。"
1938
1939 #. type: Plain text
1940 msgid ""
1941 "Another example: a 100MBit WAN connection with 200ms latency means 12MB/s "
1942 "times 0.2s, or about 2.5MB \"on the wire\". Here a good starting value for "
1943 "`c-fill-target` would be 3MB."
1944 msgstr ""
1945 "別の例をあげると、100MBitのWAN接続で200msのレイテンシなら12MB/s掛ける0.2sで"
1946 "す。2.5MBくらいになります。`c-fill-target` の初期値は3MBがよいでしょう。"
1947
1948 #. type: Plain text
1949 msgid ""
1950 "Please see the `drbd.conf` manual page for more details on the other "
1951 "configuration items."
1952 msgstr ""
1953 "他の設定項目については `drbd.conf` のマニュアルページを参照してください。"
1954
1955 #. type: Title ====
1956 #, no-wrap
1957 msgid "Permanent fixed sync rate configuration"
1958 msgstr "永続的な固定同期速度の設定"
1959
1960 #. type: Plain text
1961 msgid ""
1962 "In a few, very restricted situationsfootnote:[Like benchmarking.], it might "
1963 "make sense to just use some fixed synchronization rate. In this case, first "
1964 "of all you need to turn the dynamic sync rate controller off, by using `c-"
1965 "plan-ahead 0;`."
1966 msgstr ""
1967 "ごく限られた状況footnote:[ベンチマークなど]では、固定同期速度を使うことがある"
1968 "でしょう。この場合には、まず `c-plan-ahead 0;` にして可変同期速度調節の機能を"
1969 "オフにします。"
1970
1971 #. type: Plain text
1972 msgid ""
1973 "Then, the maximum bandwidth a resource uses for background re-"
1974 "synchronization is determined by the `resync-rate` option for a resource. "
1975 "This must be included in the resource's `disk` section in `/etc/drbd.conf`:"
1976 msgstr ""
1977 "そして、リソースがバックグラウンド再同期に使用する最大帯域幅をリソースの "
1978 "`resync-rate` オプションによって決定します。この設定はリソースの `/etc/drbd."
1979 "conf` の `disk` セクションに記載します。"
1980
1981 #. type: delimited block -
1982 #, no-wrap
1983 msgid ""
1984 "resource <resource>\n"
1985 " disk {\n"
1986 " resync-rate 40M;\n"
1987 " ...\n"
1988 " }\n"
1989 " ...\n"
1990 "}\n"
1991 msgstr ""
1992 "resource <resource>\n"
1993 " disk {\n"
1994 " resync-rate 40M;\n"
1995 " ...\n"
1996 " }\n"
1997 " ...\n"
1998 "}\n"
1999
2000 #. type: Plain text
2001 msgid ""
2002 "Note that the rate setting is given in _bytes_, not _bits_ per second; the "
2003 "default unit is _Kibibyte_, so a value of `4096` would be interpreted as "
2004 "`4MiB`."
2005 msgstr ""
2006 "同期速度の設定は1秒あたりの _バイト_ 単位であり _ビット_ 単位でない点に注意し"
2007 "てください。デフォルトの単位は _kibibyte_ で、 `4096` であれば `4MiB` となり"
2008 "ます。"
2009
2010 #. type: Plain text
2011 msgid ""
2012 "This just defines a rate that DRBD tries to achieve. If there is a "
2013 "bottleneck with lower throughput (network, storage speed), the defined speed "
2014 "(aka the \"wished-for\" performance ;) won't be reached."
2015 msgstr ""
2016 "これはあくまでDRBDが行おうとする速度にすぎません。低スループットのボトルネッ"
2017 "ク(ネットワークやストレージの速度)がある場合、設定した速度(いわゆる\"理想値"
2018 "\")には達しません。"
2019
2020 #. type: Title ====
2021 #, no-wrap
2022 msgid "Some more hints about synchronization"
2023 msgstr "同期に関するヒント"
2024
2025 #. type: Plain text
2026 msgid ""
2027 "When some amount of the to-be-synchronized data isn't really in use anymore "
2028 "(e.g. because files got deleted while one node wasn't connected), you might "
2029 "benefit from the <<s-trim-discard>>."
2030 msgstr ""
2031 "同期すべきデータ領域の一部が不要になった場合、例えば、対向ノードとの接続が切"
2032 "れている時にデータを削除した場合などには<<s-trim-discard>>の有効性が感じられ"
2033 "るかもしれません。"
2034
2035 #. type: Plain text
2036 msgid ""
2037 "Furthermore, `c-min-rate` is easy to misunderstand - it doesn't define a "
2038 "*minimum* synchronization speed, but rather a limit below which DRBD will "
2039 "not slow down further *on purpose*. + Whether you manage to *reach* that "
2040 "synchronization rate depends on your network and storage speed, network "
2041 "latency (which might be highly variable for shared links), and application "
2042 "IO (which not might be able to do anything about)."
2043 msgstr ""
2044 "`c-min-rate` は間違われやすいです。これは同期速度の *最低値* ではなくて、この"
2045 "速度以上の速度低下を *意図的に* 行わないという制限です。ネットワークとスト"
2046 "レージの速度、ネットワーク遅延(これは回線共有による影響が大きいでしょう)、ア"
2047 "プリケーションIO(関与することは難しいかもしれません)に応じた同期速度の管理"
2048 "まで *手が及ぶか* どうかによります。"
2049
2050 #. type: Title ===
2051 #, no-wrap
2052 msgid "Configuring checksum-based synchronization"
2053 msgstr "チェックサムベース同期の設定"
2054
2055 #. type: Plain text
2056 msgid ""
2057 "indexterm:[checksum-based synchronization]<<p-checksum-sync,Checksum-based "
2058 "synchronization>> is not enabled for resources by default. To enable it, add "
2059 "the following lines to your resource configuration in `/etc/drbd.conf`:"
2060 msgstr ""
2061 "indexterm:[checksum-based synchronization]<<p-checksum-sync, チェックサムベー"
2062 "ス同期>>はデフォルトでは有効になっていません。有効にするには、 `/etc/drbd."
2063 "conf` のリソース構成に次の行を追加します。"
2064
2065 #. type: delimited block -
2066 #, no-wrap
2067 msgid ""
2068 "resource <resource>\n"
2069 " net {\n"
2070 " csums-alg <algorithm>;\n"
2071 " }\n"
2072 " ...\n"
2073 "}\n"
2074 msgstr ""
2075 "resource <resource>\n"
2076 " net {\n"
2077 " csums-alg <algorithm>;\n"
2078 " }\n"
2079 " ...\n"
2080 "}\n"
2081
2082 #. type: Title ===
2083 #, no-wrap
2084 msgid "Configuring congestion policies and suspended replication"
2085 msgstr "輻輳ポリシーと中断したレプリケーションの構成"
2086
2087 #. type: Plain text
2088 msgid ""
2089 "In an environment where the replication bandwidth is highly variable (as "
2090 "would be typical in WAN replication setups), the replication link may "
2091 "occasionally become congested. In a default configuration, this would cause "
2092 "I/O on the primary node to block, which is sometimes undesirable."
2093 msgstr ""
2094 "レプリケーション帯域幅が大きく変動する環境(WANレプリケーション設定で典型的)の"
2095 "場合、レプリケーションリンクは時に輻輳します。デフォルト設定では、プライマリ"
2096 "ノードのI/Oのブロックを引き起こし、望ましくない場合があります。"
2097
2098 #. type: Plain text
2099 msgid ""
2100 "Instead, you may configure DRBD to _suspend_ the ongoing replication in this "
2101 "case, causing the Primary's data set to _pull ahead_ of the Secondary. In "
2102 "this mode, DRBD keeps the replication channel open -- it never switches to "
2103 "disconnected mode -- but does not actually replicate until sufficient "
2104 "bandwidth becomes available again."
2105 msgstr ""
2106 "その代わりに、進行中の同期を suspend (中断)に設定し、プライマリのデータセット"
2107 "をセカンダリから _pull ahead_ (引き離す)にします。このモードではDRBDはレプリ"
2108 "ケーションチャネルを開いたままにし、切断モードにはしません。しかし十分な帯域"
2109 "幅が利用できるようになるまで実際にはレプリケートを行いません。"
2110
2111 #. type: Plain text
2112 msgid "The following example is for a DRBD Proxy configuration:"
2113 msgstr "次の例は、DRBD Proxy構成のためのものです。"
2114
2115 #. type: delimited block -
2116 #, no-wrap
2117 msgid ""
2118 "resource <resource> {\n"
2119 " net {\n"
2120 " on-congestion pull-ahead;\n"
2121 " congestion-fill 2G;\n"
2122 " congestion-extents 2000;\n"
2123 " ...\n"
2124 " }\n"
2125 " ...\n"
2126 "}\n"
2127 msgstr ""
2128 "resource <resource> {\n"
2129 " net {\n"
2130 " on-congestion pull-ahead;\n"
2131 " congestion-fill 2G;\n"
2132 " congestion-extents 2000;\n"
2133 " ...\n"
2134 " }\n"
2135 " ...\n"
2136 "}\n"
2137
2138 #. type: Plain text
2139 msgid ""
2140 "It is usually wise to set both `congestion-fill` and `congestion-extents` "
2141 "together with the `pull-ahead` option."
2142 msgstr ""
2143 "通常は `congestion-fill` と `congestion-extents` を `pull-ahead` オプションと"
2144 "合わせて設定するのがよい方法でしょう。"
2145
2146 #. type: Plain text
2147 msgid "A good value for `congestion-fill` is 90%"
2148 msgstr "`congestion-fill` の値は以下の値の90%にするとよいでしょう。"
2149
2150 #. type: Plain text
2151 msgid ""
2152 "of the allocated DRBD proxy buffer memory, when replicating over DRBD Proxy, "
2153 "or"
2154 msgstr ""
2155 "DRBD Proxy越しの同期の場合のDRBD Proxyのバッファメモリの割り当て、 または"
2156
2157 #. type: Plain text
2158 msgid "of the TCP network send buffer, in non-DRBD Proxy setups."
2159 msgstr "DRBD Proxy構成でない環境でのTCPネットワークの送信バッファ"
2160
2161 #. type: Plain text
2162 msgid ""
2163 "A good value for `congestion-extents` is 90% of your configured `al-extents` "
2164 "for the affected resources."
2165 msgstr ""
2166 "`congestion-extents` の値は、影響するリソースの `al-extents` に設定した値の"
2167 "90%がよいでしょう。"
2168
2169 #. type: Title ===
2170 #, no-wrap
2171 msgid "Configuring I/O error handling strategies"
2172 msgstr "I/Oエラー処理方針の設定"
2173
2174 #. type: Plain text
2175 msgid ""
2176 "indexterm:[I/O errors]indexterm:[drbd.conf]DRBD's <<s-handling-disk-errors,"
2177 "strategy for handling lower-level I/O errors>> is determined by the `on-io-"
2178 "error` option, included in the resource `disk` configuration in `/etc/drbd."
2179 "conf`:"
2180 msgstr ""
2181 "indexterm:[I/O errors]indexterm:[drbd.conf]DRBDが <<s-handling-disk-errors,下"
2182 "位レベルI/Oエラーを処理する際の方針>>は、リソースの `/etc/drbd.conf` の "
2183 "`disk` セクションの `on-io-error` で指定します。"
2184
2185 #. type: delimited block -
2186 #, no-wrap
2187 msgid ""
2188 "resource <resource> {\n"
2189 " disk {\n"
2190 " on-io-error <strategy>;\n"
2191 " ...\n"
2192 " }\n"
2193 " ...\n"
2194 "}\n"
2195 msgstr ""
2196 "resource <resource> {\n"
2197 " disk {\n"
2198 " on-io-error <strategy>;\n"
2199 " ...\n"
2200 " }\n"
2201 " ...\n"
2202 "}\n"
2203
2204 #. type: Plain text
2205 msgid ""
2206 "You may, of course, set this in the `common` section too, if you want to "
2207 "define a global I/O error handling policy for all resources."
2208 msgstr ""
2209 "すべてのリソースのグローバルI/Oエラー処理方針を定義したい場合は、これを "
2210 "`common` セクションで設定します。"
2211
2212 #. type: Plain text
2213 msgid "_<strategy>_ may be one of the following options:"
2214 msgstr "_<strategy>_ は以下のいずれかを指定します。"
2215
2216 #. type: Block title
2217 #, no-wrap
2218 msgid "`detach`"
2219 msgstr "`detach`"
2220
2221 #. type: Plain text
2222 msgid ""
2223 "This is the default and recommended option. On the occurrence of a lower-"
2224 "level I/O error, the node drops its backing device, and continues in "
2225 "diskless mode."
2226 msgstr ""
2227 "これがデフォルトで、推奨オプションです。下位レベルI/Oエラーが発生すると、DRBD"
2228 "はそのノードの下位デバイスを切り離し、ディスクレスモードで動作を継続します。"
2229
2230 #. type: Block title
2231 #, no-wrap
2232 msgid "`pass-on`"
2233 msgstr "`pass-on`"
2234
2235 #. type: Plain text
2236 msgid ""
2237 "This causes DRBD to report the I/O error to the upper layers. On the primary "
2238 "node, it is reported to the mounted file system. On the secondary node, it "
2239 "is ignored (because the secondary has no upper layer to report to)."
2240 msgstr ""
2241 "上位層にI/Oエラーを通知します。プライマリノードの場合は、マウントされたファイ"
2242 "ルシステムに通知されます。セカンダリノードの場合は無視されます(セカンダリノー"
2243 "ドには通知すべき上位層がないため)。"
2244
2245 #. type: Block title
2246 #, no-wrap
2247 msgid "`call-local-io-error`"
2248 msgstr "`call-local-io-error`"
2249
2250 #. type: Plain text
2251 msgid ""
2252 "Invokes the command defined as the local I/O error handler. This requires "
2253 "that a corresponding `local-io-error` command invocation is defined in the "
2254 "resource's `handlers` section. It is entirely left to the administrator's "
2255 "discretion to implement I/O error handling using the command (or script) "
2256 "invoked by `local-io-error`."
2257 msgstr ""
2258 "ローカルI/Oエラーハンドラとして定義されたコマンドを呼び出します。このオプショ"
2259 "ンを使うには、対応する `local-io-error` ハンドラをリソースの `handlers` セク"
2260 "ションに定義する必要があります。`local-io-error` で呼び出されるコマンド(また"
2261 "はスクリプト)にI/Oエラー処理を実装するかどうかは管理者の判断です。"
2262
2263 #. type: Plain text
2264 msgid ""
2265 "Early DRBD versions (prior to 8.0) included another option, `panic`, which "
2266 "would forcibly remove the node from the cluster by way of a kernel panic, "
2267 "whenever a local I/O error occurred. While that option is no longer "
2268 "available, the same behavior may be mimicked via the `local-io-error`/`call-"
2269 "local-io-error` interface. You should do so only if you fully understand the "
2270 "implications of such behavior."
2271 msgstr ""
2272 "DRBDの以前のバージョン(8.0以前)にはもう1つのオプション panic があり、これを使"
2273 "用すると、ローカルI/Oエラーが発生するたびにカーネルパニックによりノードがクラ"
2274 "スタから強制的に削除されました。このオプションは現在は使用できませんが、 "
2275 "`local-io-error` / `call-local-io-error` インタフェースを使用すると同じような"
2276 "動作を実現します。ただし、この動作の意味を十分理解した上で使用してください。"
2277
2278 #. type: Plain text
2279 msgid ""
2280 "You may reconfigure a running resource's I/O error handling strategy by "
2281 "following this process:"
2282 msgstr ""
2283 "次のコマンドで、実行中のリソースのI/Oエラー処理方針を再構成することができま"
2284 "す。"
2285
2286 #. type: Plain text
2287 msgid "Edit the resource configuration in `/etc/drbd.d/__<resource>__.res`."
2288 msgstr "`/etc/drbd.d/<resource>.res` のリソース構成の編集"
2289
2290 #. type: Plain text
2291 msgid "Copy the configuration to the peer node."
2292 msgstr "構成の対向ノードへのコピー"
2293
2294 #. type: Plain text
2295 msgid "Issue `drbdadm adjust _<resource>_` on both nodes."
2296 msgstr "両ノードでの `drbdadm adjust <resource>` の実行"
2297
2298 #. type: Title ===
2299 #, no-wrap
2300 msgid "Configuring replication traffic integrity checking"
2301 msgstr "レプリケーショントラフィックの整合性チェックを設定"
2302
2303 #. type: Plain text
2304 msgid ""
2305 "indexterm:[replication traffic integrity checking]<<s-integrity-check,"
2306 "Replication traffic integrity checking>> is not enabled for resources by "
2307 "default. To enable it, add the following lines to your resource "
2308 "configuration in `/etc/drbd.conf`:"
2309 msgstr ""
2310 "indexterm:[replication traffic integrity checking]<<s-integrity-check,レプリ"
2311 "ケーショントラフィックの整合性チェック>> はデフォルトでは有効になっていませ"
2312 "ん。有効にする場合は、 `/etc/drbd.conf` のリソース構成に次の行を追加します。"
2313
2314 #. type: delimited block -
2315 #, no-wrap
2316 msgid ""
2317 "resource <resource>\n"
2318 " net {\n"
2319 " data-integrity-alg <algorithm>;\n"
2320 " }\n"
2321 " ...\n"
2322 "}\n"
2323 msgstr ""
2324 "resource <resource>\n"
2325 " net {\n"
2326 " data-integrity-alg <algorithm>;\n"
2327 " }\n"
2328 " ...\n"
2329 "}\n"
2330
2331 #. type: Plain text
2332 msgid ""
2333 "This feature is not intended for production use. Enable only if you need to "
2334 "diagnose data corruption problems, and want to see whether the transport "
2335 "path (network hardware, drivers, switches) might be at fault!"
2336 msgstr ""
2337 "この機能は本番環境での使用は想定していません。データ破壊の問題や、通信経路"
2338 "(ネットワークハードウェア、ドライバ、スイッチ)に障害があるかどうかを診断する"
2339 "場合にのみ使用してください。"
2340
2341 #. type: Title ===
2342 #, no-wrap
2343 msgid "Resizing resources"
2344 msgstr "リソースのサイズ変更"
2345
2346 #. type: Plain text
2347 msgid ""
2348 "When growing (extending) DRBD volumes, you need to grow from bottom to top. "
2349 "You need to extend the backing block devices on all nodes first. Then you "
2350 "can tell DRBD to use the new space."
2351 msgstr ""
2352 "DRBD ボリュームを拡張する場合は、下から上に拡張する必要があります。最初に、す"
2353 "べてのノードで下位ブロックデバイスを拡張する必要があります。次に、DRBD に新し"
2354 "いスペースを使用するように指示します。"
2355
2356 #. type: Plain text
2357 msgid ""
2358 "Once the DRBD volume is extended, you need to still propagate that into "
2359 "whatever is using DRBD: extend the file system, or make a VM running with "
2360 "this volume attached aware of the new \"disk size\"."
2361 msgstr ""
2362 "DRBD ボリュームが拡張された後、DRBD を使用しているものにそれを伝える必要があ"
2363 "ります。ファイルシステムを拡張する、あるいはこのボリュームが接続された状態で"
2364 "実行されている VM に新しい「ディスクサイズ」を認識させます。"
2365
2366 #. type: Plain text
2367 msgid "That all typically boils down to"
2368 msgstr "これは通常、次のようになります。"
2369
2370 #. type: delimited block -
2371 #, no-wrap
2372 msgid ""
2373 "# # on all nodes, resize the backing LV:\n"
2374 "# lvextend -L +${additional_gb}g VG/LV\n"
2375 "# # on one node:\n"
2376 "# drbdadm resize ${resource_name}/${volume_number}\n"
2377 "# # on the Primary only:\n"
2378 "# # resize the file system using the file system specific tool, see below\n"
2379 msgstr ""
2380 "# # on all nodes, resize the backing LV:\n"
2381 "# lvextend -L +${additional_gb}g VG/LV\n"
2382 "# # on one node:\n"
2383 "# drbdadm resize ${resource_name}/${volume_number}\n"
2384 "# # on the Primary only:\n"
2385 "# # resize the file system using the file system specific tool, see below\n"
2386
2387 #. type: Plain text
2388 msgid "See also the next sections <<s-growing-online>> and following."
2389 msgstr "次のセクション <<s-growing-online>> も参照ください。"
2390
2391 #. type: Plain text
2392 msgid ""
2393 "Note that different file systems have different capabilities and different "
2394 "sets of management tools. For example XFS can only grow. You point its tool "
2395 "to the active mount point: `xfs_growfs /where/you/have/it/mounted`."
2396 msgstr ""
2397 "ファイルシステムが異なれば、機能や管理ツールのセットも異なることに注意してく"
2398 "ださい。例えば、XFS は拡張しかできません。また、引数にアクティブなマウントポ"
2399 "イントを指定します: `xfs_growfs /where/you/have/it/mounted`"
2400
2401 #. type: Plain text
2402 msgid ""
2403 "While the EXT family can both grow (even online), and also shrink (only "
2404 "offline; you have to unmount it first). To resize an ext3 or ext4, you would "
2405 "point the tool not to the mount point, but to the (mounted) block device: "
2406 "`resize2fs /dev/drbd#`"
2407 msgstr ""
2408 "EXT ファミリは、拡張(オンラインでも)と縮小(オフラインのみ。最初にマウント"
2409 "を解除する必要があります)の両方が可能です。 ext3 または ext4 のサイズを変更"
2410 "するには、引数にマウントポイントではなく、(マウントされた)ブロックデバイス"
2411 "を指定します: `resize2fs /dev/drbd#`"
2412
2413 #. type: Plain text
2414 msgid ""
2415 "Obviously use the correct DRBD (as displayed by `mount` or `df -T`, while "
2416 "mounted), and *not* the backing block device. As long as DRBD is up, that's "
2417 "not supposed to work anyways (`resize2fs: Device or resource busy while "
2418 "trying to open /dev/mapper/VG-LV Couldn't find valid filesystem superblock."
2419 "`). If you tried to do that offline (with DRBD stopped), you may corrupt "
2420 "DRBD meta data if you ran the file system tools directly against the backing "
2421 "LV or partition. So don't."
2422 msgstr ""
2423 "デバイスには DRBD デバイス(マウント中に `mount` または `df -T` で表示され"
2424 "る)を使用し、下位ブロックデバイスは使用しないでください。 DRBD が起動してい"
2425 "る限り、それは機能しないはずです( resize2fs ではオープンしにようとするとデバ"
2426 "イスまたはリソースがビジーで、有効なファイルシステムのスーパーブロックが見つ"
2427 "かりません)。しかし、オフラインで(DRBDを停止して)実行した場合、ファイルシ"
2428 "ステムツールを下位 LV またはパーティションに対して直接実行すると、DRBD メタ"
2429 "データが破壊する可能性があります。よって決して実行しないでください。"
2430
2431 #. type: Plain text
2432 msgid ""
2433 "You do the file system resize only *once* on the Primary, against the active "
2434 "DRBD device. DRBD replicates the changes to the file system structure. "
2435 "That is what you have it for."
2436 msgstr ""
2437 "ファイルシステムのサイズ変更は、アクティブな DRBD デバイスに対して、プライマ"
2438 "リで1回のみ行います。DRBD はファイルシステム構造への変更を複製します。"
2439
2440 #. type: Plain text
2441 msgid ""
2442 "Also, don't use resize2fs on XFS volumes, or XFS tools on EXT, or ... but "
2443 "the right tool for the file system in use."
2444 msgstr ""
2445 "また、XFS ボリュームで resize2fs を使用したり、EXT で XFS ツールを使用したり"
2446 "しないでください。使用中のファイルシステムに適したツールを使用してください。"
2447
2448 #. type: Plain text
2449 msgid ""
2450 "`resize2fs: Bad magic number in super-block while trying to open /dev/drbd7` "
2451 "is probably just trying to tell you that this is *not* an EXT file system, "
2452 "and you should try an other tool instead. Maybe `xfs_growfs`? But as "
2453 "mentioned, that does not take the block device, but the mount point as "
2454 "argument."
2455 msgstr ""
2456 "resize2fs で /dev/drbd7 をオープンしたとき、スーパーブロックの不正なマジック"
2457 "ナンバーは、これが EXT ファイルシステムではないことを伝えているので、代わりに"
2458 "他のツールを試す必要があります。例えば `xfs_growfs` です。ブロックデバイスで"
2459 "はなく、マウントポイントを引数として取ることに注意してください。"
2460
2461 #. type: Plain text
2462 msgid ""
2463 "When shrinking (reducing) DRBD volumes, you need to shrink from top to "
2464 "bottom. So first make sure no one is using the space you want to cut off. "
2465 "Next, shrink the file system (if your file system supports that). Then tell "
2466 "DRBD to stop using that space, which is not so easy with DRBD internal meta "
2467 "data, because they are by design \"at the end\" of the backing device."
2468 msgstr ""
2469 "DRBD ボリュームを縮小する場合は、上から下に縮小する必要があります。したがっ"
2470 "て、最初に、切り取りたいスペースを誰も使用していないことを確認してください。"
2471 "次に、ファイルシステムを縮小します(ファイルシステムがサポートしている場"
2472 "合)。次に、DRBD にそのスペースの使用を停止するように指示します。DRBD 内部メ"
2473 "タデータは下位デバイスの最後にあるので、それほど簡単ではありません。"
2474
2475 #. type: Plain text
2476 msgid ""
2477 "Once you are sure that DRBD won't use the space anymore either, you can cut "
2478 "it off from the backing device, for example using `lvreduce`."
2479 msgstr ""
2480 "DRBD がスペースを使用しないことが確実になったら、たとえば `lvreduce` を使用し"
2481 "て、下位デバイスからスペースを切り離すことができます。"
2482
2483 #. type: Plain text
2484 msgid "See also <<s-shrinking-online>>, <<s-shrinking-offline>>."
2485 msgstr "<<s-shrinking-online>>, <<s-shrinking-offline>> も参照ください。"
2486
2487 #. type: Title ====
2488 #, no-wrap
2489 msgid "Growing on-line"
2490 msgstr "オンライン拡張"
2491
2492 #. type: Plain text
2493 msgid ""
2494 "indexterm:[resource]If the backing block devices can be grown while in "
2495 "operation (online), it is also possible to increase the size of a DRBD "
2496 "device based on these devices during operation. To do so, two criteria must "
2497 "be fulfilled:"
2498 msgstr ""
2499 "indexterm:[resource]動作中(オンライン)に下位ブロックデバイスを拡張できる場合"
2500 "は、これらのデバイスをベースとするDRBDデバイスについても動作中にサイズを拡張"
2501 "することができます。その際に、次の2つの条件を満たす必要があります。"
2502
2503 #. type: Plain text
2504 msgid ""
2505 "The affected resource's backing device must be one managed by a logical "
2506 "volume management subsystem, such as LVM."
2507 msgstr ""
2508 "影響を受けるリソースの下位デバイスが、 LVMやEVMSなどの論理ボリューム管理サブ"
2509 "システムによって管理されている。"
2510
2511 #. type: Plain text
2512 msgid "The resource must currently be in the _Connected_ connection state."
2513 msgstr "現在、リソースのコネクションステータスが `Connected` になっている。"
2514
2515 #. type: Plain text
2516 msgid ""
2517 "Having grown the backing block devices on all nodes, ensure that only one "
2518 "node is in primary state. Then enter on one node:"
2519 msgstr ""
2520 "両方のノードの下位ブロックデバイスを拡張したら、一方のノードだけがプライマリ"
2521 "状態であることを確認してください。プライマリノードで次のように入力します。"
2522
2523 #. type: delimited block -
2524 #, no-wrap
2525 msgid "# drbdadm resize <resource>\n"
2526 msgstr "# drbdadm resize <resource>\n"
2527
2528 #. type: Plain text
2529 msgid ""
2530 "This triggers a synchronization of the new section. The synchronization is "
2531 "done from the primary node to the secondary node."
2532 msgstr ""
2533 "新しいセクションの同期がトリガーされます。同期はプライマリノードからセカンダ"
2534 "リノードへ実行されます。"
2535
2536 #. type: Plain text
2537 msgid ""
2538 "If the space you're adding is clean, you can skip syncing the additional "
2539 "space by using the --assume-clean option."
2540 msgstr ""
2541 "追加する領域がクリーンな場合には、追加領域の同期を--assume-cleanオプションで"
2542 "スキップできます。"
2543
2544 #. type: delimited block -
2545 #, no-wrap
2546 msgid "# drbdadm -- --assume-clean resize <resource>\n"
2547 msgstr "# drbdadm -- --assume-clean resize <resource>\n"
2548
2549 #. type: Title ====
2550 #, no-wrap
2551 msgid "Growing off-line"
2552 msgstr "オフライン拡張する"
2553
2554 #. type: Plain text
2555 msgid ""
2556 "indexterm:[resource]When the backing block devices on both nodes are grown "
2557 "while DRBD is inactive, and the DRBD resource is using <<s-external-meta-"
2558 "data,external meta data>>, then the new size is recognized automatically. No "
2559 "administrative intervention is necessary. The DRBD device will have the new "
2560 "size after the next activation of DRBD on both nodes and a successful "
2561 "establishment of a network connection."
2562 msgstr ""
2563 "indexterm:[resource]<<s-external-meta-data,外部メタデータ>>を使っている場合、"
2564 "DRBD停止中に両ノードの下位ブロックデバイスを拡張すると、新しいサイズが自動的"
2565 "に認識されます。管理者による作業は必要ありません。両方のノードで次にDRBDを起"
2566 "動した際に、DRBDデバイスのサイズが新しいサイズになり、ネットワーク接続が正常"
2567 "に確立します。"
2568
2569 #. type: Plain text
2570 msgid ""
2571 "If however the DRBD resource is configured to use <<s-internal-meta-data,"
2572 "internal meta data>>, then this meta data must be moved to the end of the "
2573 "grown device before the new size becomes available. To do so, complete the "
2574 "following steps:"
2575 msgstr ""
2576 "DRBDリソースで<<s-internal-meta-data,内部メタデータ>>を使用している場合は、リ"
2577 "ソースのサイズを変更する前に、メタデータを拡張されるデバイス領域の後ろの方に"
2578 "移動させる必要があります。これを行うには次の手順を実行します。"
2579
2580 #. type: Plain text
2581 msgid "This is an advanced procedure. Use at your own discretion."
2582 msgstr "これは高度な手順です。慎重に検討した上で実行してください。"
2583
2584 #. type: Plain text
2585 msgid "Unconfigure your DRBD resource:"
2586 msgstr "DRBDリソースを停止します。"
2587
2588 #. type: Plain text
2589 msgid "Save the meta data in a text file prior to resizing:"
2590 msgstr "縮小する前に、メタデータをテキストファイルに保存します。"
2591
2592 #. type: delimited block -
2593 #, no-wrap
2594 msgid "# drbdadm dump-md <resource> > /tmp/metadata\n"
2595 msgstr "# drbdadm dump-md <resource> > /tmp/metadata\n"
2596
2597 #. type: Plain text
2598 msgid ""
2599 "You must do this on both nodes, using a separate dump file for every node. "
2600 "*Do not* dump the meta data on one node, and simply copy the dump file to "
2601 "the peer. *This. will. not. work.*"
2602 msgstr ""
2603 "各ノードごとにそれぞれのダンプファイルを作成する必要があります。この手順は、"
2604 "両方のノードでそれぞれ実行します。一方のノードのメタデータのダンプを対向ノー"
2605 "ドに *コピーしないでください* 。 DRBDは *動作しなくなります* 。"
2606
2607 #. type: Plain text
2608 msgid "Grow the backing block device on both nodes."
2609 msgstr "両方のノードの下位ブロックデバイスを拡大します。"
2610
2611 #. type: Plain text
2612 msgid ""
2613 "Adjust the size information (`la-size-sect`) in the file `/tmp/metadata` "
2614 "accordingly, on both nodes. Remember that `la-size-sect` must be specified "
2615 "in sectors."
2616 msgstr ""
2617 "`/tmp/metadata` ファイルのサイズ情報( `la-size-sect` )を書き換えます。`la-"
2618 "size-sect` は、必ずセクタ単位で指定する必要があります。"
2619
2620 #. type: Plain text
2621 msgid "Re-initialize the metadata area:"
2622 msgstr "メタデータ領域の再初期化をします。"
2623
2624 #. type: delimited block -
2625 #, no-wrap
2626 msgid "# drbdadm create-md <resource>\n"
2627 msgstr "# drbdadm create-md <resource>\n"
2628
2629 #. type: Plain text
2630 msgid "Re-import the corrected meta data, on both nodes:"
2631 msgstr "両ノードで修正したメタデータをインポートします。"
2632
2633 #. type: delimited block -
2634 #, no-wrap
2635 msgid ""
2636 "# drbdmeta_cmd=$(drbdadm -d dump-md <resource>)\n"
2637 "# ${drbdmeta_cmd/dump-md/restore-md} /tmp/metadata\n"
2638 "Valid meta-data in place, overwrite? [need to type 'yes' to confirm]\n"
2639 "yes\n"
2640 "Successfully restored meta data\n"
2641 msgstr ""
2642 "# drbdmeta_cmd=$(drbdadm -d dump-md <resource>)\n"
2643 "# ${drbdmeta_cmd/dump-md/restore-md} /tmp/metadata\n"
2644 "Valid meta-data in place, overwrite? [need to type 'yes' to confirm]\n"
2645 "yes\n"
2646 "Successfully restored meta data\n"
2647
2648 #. type: Plain text
2649 msgid ""
2650 "This example uses `bash` parameter substitution. It may or may not work in "
2651 "other shells. Check your `SHELL` environment variable if you are unsure "
2652 "which shell you are currently using."
2653 msgstr ""
2654 "この例では `bash` パラメータ置換を使用しています。他のシェルの場合、機能する"
2655 "場合もしない場合もあります。現在使用しているシェルが分からない場合は、 "
2656 "`SHELL` 環境変数を確認してください。"
2657
2658 #. type: Plain text
2659 msgid "Re-enable your DRBD resource:"
2660 msgstr "再度DRBDリソースを起動します。"
2661
2662 #. type: Plain text
2663 msgid "On one node, promote the DRBD resource:"
2664 msgstr "一方のノードでDRBDリソースを昇格します。"
2665
2666 #. type: delimited block -
2667 #, no-wrap
2668 msgid "# drbdadm primary <resource>\n"
2669 msgstr "# drbdadm primary <resource>\n"
2670
2671 #. type: Plain text
2672 msgid ""
2673 "Finally, grow the file system so it fills the extended size of the DRBD "
2674 "device."
2675 msgstr ""
2676 "最後に、拡張したDRBDデバイスを活用するために、ファイルシステムを拡張します。"
2677
2678 #. type: Title ====
2679 #, no-wrap
2680 msgid "Shrinking on-line"
2681 msgstr "オンライン縮小"
2682
2683 #. type: Plain text
2684 msgid "Online shrinking is only supported with external metadata."
2685 msgstr ""
2686 "警告 : オンラインでの縮小は外部メタデータ使用の場合のみサポートしています。"
2687
2688 #. type: Plain text
2689 msgid ""
2690 "indexterm:[resource]Before shrinking a DRBD device, you _must_ shrink the "
2691 "layers above DRBD, i.e. usually the file system. Since DRBD cannot ask the "
2692 "file system how much space it actually uses, you have to be careful in order "
2693 "not to cause data loss."
2694 msgstr ""
2695 "indexterm:[resource]DRBDデバイスを縮小する前に、DRBDの上位層(通常はファイルシ"
2696 "ステム)を縮小 _しなければいけません_ 。ファイルシステムが実際に使用している容"
2697 "量を、DRBDが知ることはできないため、データが失われないように注意する必要があ"
2698 "ります。"
2699
2700 #. type: Plain text
2701 msgid ""
2702 "Whether or not the _filesystem_ can be shrunk on-line depends on the "
2703 "filesystem being used. Most filesystems do not support on-line shrinking. "
2704 "XFS does not support shrinking at all."
2705 msgstr ""
2706 "ファイルシステムをオンラインで縮小できるかどうかは、使用しているファイルシス"
2707 "テムによって異なります。ほとんどのファイルシステムはオンラインでの縮小をサ"
2708 "ポートしません。XFSは縮小そのものをサポートしません。"
2709
2710 #. type: Plain text
2711 msgid ""
2712 "To shrink DRBD on-line, issue the following command _after_ you have shrunk "
2713 "the file system residing on top of it:"
2714 msgstr ""
2715 "オンラインでDRBDを縮小するには、その上位に常駐するファイルシステムを縮小した_"
2716 "後に_、次のコマンドを実行します。"
2717
2718 #. type: delimited block -
2719 #, no-wrap
2720 msgid "# drbdadm resize --size=<new-size> <resource>\n"
2721 msgstr "# drbdadm resize --size=<new-size> <resource>\n"
2722
2723 #. type: Plain text
2724 msgid ""
2725 "You may use the usual multiplier suffixes for _<new-size>_ (K, M, G etc.). "
2726 "After you have shrunk DRBD, you may also shrink the containing block device "
2727 "(if it supports shrinking)."
2728 msgstr ""
2729 "_<new-size>_ には通常の乗数サフィックス(K、M、Gなど)を使用できます。DRBDを縮"
2730 "小したら、DRBDに含まれるブロックデバイスも縮小できます(デバイスが縮小をサポー"
2731 "トする場合)。"
2732
2733 #. type: Plain text
2734 msgid ""
2735 "It might be a good idea to issue `drbdadm resize _<resource>_` after "
2736 "resizing the lower level device, so that the DRBD metadata *really* gets "
2737 "written into the expected space at the end of the volume."
2738 msgstr ""
2739 "DRBDのメタデータがボリュームの想定される箇所に *実際に* 書き込まれるように下"
2740 "位デバイスのリサイズ後に `drbdadm resize <resource>` を実行してもよいでしょ"
2741 "う。"
2742
2743 #. type: Title ====
2744 #, no-wrap
2745 msgid "Shrinking off-line"
2746 msgstr "オフライン縮小"
2747
2748 #. type: Plain text
2749 msgid ""
2750 "indexterm:[resource]If you were to shrink a backing block device while DRBD "
2751 "is inactive, DRBD would refuse to attach to this block device during the "
2752 "next attach attempt, since it is now too small (in case external meta data "
2753 "is used), or it would be unable to find its meta data (in case internal meta "
2754 "data is used). To work around these issues, use this procedure (if you "
2755 "cannot use <<s-shrinking-online,on-line shrinking>>):"
2756 msgstr ""
2757 "indexterm:[resource]DRBDが停止しているときに下位ブロックデバイスを縮小する"
2758 "と、次にそのブロックデバイスを接続しようとしてもDRBDが拒否します。これは、ブ"
2759 "ロックデバイスが小さすぎる(外部メタデータを使用する場合)、またはメタデータを"
2760 "見つけられない(内部メタデータを使用する場合)ことが原因です。この問題を回避す"
2761 "るには、次の手順を行います (<<s-shrinking-online,オンライン縮小>>を使用出来な"
2762 "い場合)。"
2763
2764 #. type: Plain text
2765 msgid "Shrink the file system from one node, while DRBD is still configured."
2766 msgstr ""
2767 "DRBDがまだ動作している状態で、一方のノードのファイルシステムを縮小します。"
2768
2769 #. type: Plain text
2770 msgid "Save the meta data in a text file prior to shrinking:"
2771 msgstr "縮小する前に、メタデータをテキストファイルに保存します。"
2772
2773 #. type: Plain text
2774 msgid "Shrink the backing block device on both nodes."
2775 msgstr "両方のノードの下位ブロックデバイスを縮小します。"
2776
2777 #. type: Plain text
2778 #, no-wrap
2779 msgid ""
2780 "*Only if you are using internal metadata* (which at this time have\n"
2781 "probably been lost due to the shrinking process), re-initialize the\n"
2782 "metadata area:\n"
2783 msgstr "*内部メタデータを使用している場合は、メタデータ領域を再初期化します(この時点では、縮小によりおそらく内部メタデータが失われています)。\n"
2784
2785 #. type: Title ===
2786 #, no-wrap
2787 msgid "Disabling backing device flushes"
2788 msgstr "下位デバイスのフラッシュを無効にする"
2789
2790 #. type: Plain text
2791 msgid ""
2792 "You should only disable device flushes when running DRBD on devices with a "
2793 "battery-backed write cache (BBWC). Most storage controllers allow to "
2794 "automatically disable the write cache when the battery is depleted, "
2795 "switching to write-through mode when the battery dies. It is strongly "
2796 "recommended to enable such a feature."
2797 msgstr ""
2798 "バッテリバックアップ書き込みキャッシュ(BBWC)を備えたデバイスでDRBDを実行して"
2799 "いる場合にのみ、デバイスのフラッシュを無効にできます。ほとんどのストレージコ"
2800 "ントローラは、バッテリが消耗すると書き込みキャッシュを自動的に無効にし、バッ"
2801 "テリが完全になくなると即時書き込み(ライトスルー)モードに切り替える機能を備え"
2802 "ています。このような機能を有効にすることを強くお勧めします。"
2803
2804 #. type: Plain text
2805 msgid ""
2806 "Disabling DRBD's flushes when running without BBWC, or on BBWC with a "
2807 "depleted battery, is _likely to cause data loss_ and should not be attempted."
2808 msgstr ""
2809 "BBWC機能を使用していない、またはバッテリが消耗した状態でBBWCを使用していると"
2810 "きに、DRBDのフラッシュを無効にすると、 _データが失われるおそれがあります_ し"
2811 "たがって、これはお勧めできません。"
2812
2813 #. type: Plain text
2814 msgid ""
2815 "DRBD allows you to enable and disable <<s-disk-flush-support,backing device "
2816 "flushes>> separately for the replicated data set and DRBD's own meta data. "
2817 "Both of these options are enabled by default. If you wish to disable either "
2818 "(or both), you would set this in the `disk` section for the DRBD "
2819 "configuration file, `/etc/drbd.conf`."
2820 msgstr ""
2821 "DRBDは<<s-disk-flush-support,下位デバイスのフラッシュ>>を、レプリケートされた"
2822 "データセットとDRBD独自のメタデータについて、個別に有効と無効を切り替える機能"
2823 "を備えています。この2つのオプションはデフォルトで有効になっています。このオプ"
2824 "ションのいずれか(または両方)を無効にしたい場合は、DRBD設定ファイルの `/etc/"
2825 "drbd.conf` の `disk` セクションで設定できます。"
2826
2827 #. type: Plain text
2828 msgid ""
2829 "To disable disk flushes for the replicated data set, include the following "
2830 "line in your configuration:"
2831 msgstr ""
2832 "レプリケートされたデータセットのディスクフラッシュを無効にするには、構成に次"
2833 "の行を記述します。"
2834
2835 #. type: delimited block -
2836 #, no-wrap
2837 msgid ""
2838 "resource <resource>\n"
2839 " disk {\n"
2840 " disk-flushes no;\n"
2841 " ...\n"
2842 " }\n"
2843 " ...\n"
2844 "}\n"
2845 msgstr ""
2846 "resource <resource>\n"
2847 " disk {\n"
2848 " disk-flushes no;\n"
2849 " ...\n"
2850 " }\n"
2851 " ...\n"
2852 "}\n"
2853
2854 #. type: Plain text
2855 msgid ""
2856 "To disable disk flushes on DRBD's meta data, include the following line:"
2857 msgstr ""
2858 "DRBDのメタデータのディスクフラッシュを無効にするには、次の行を記述します。"
2859
2860 #. type: delimited block -
2861 #, no-wrap
2862 msgid ""
2863 "resource <resource>\n"
2864 " disk {\n"
2865 " md-flushes no;\n"
2866 " ...\n"
2867 " }\n"
2868 " ...\n"
2869 "}\n"
2870 msgstr ""
2871 "resource <resource>\n"
2872 " disk {\n"
2873 " md-flushes no;\n"
2874 " ...\n"
2875 " }\n"
2876 " ...\n"
2877 "}\n"
2878
2879 #. type: Plain text
2880 msgid ""
2881 "After you have modified your resource configuration (and synchronized your `/"
2882 "etc/drbd.conf` between nodes, of course), you may enable these settings by "
2883 "issuing this command on both nodes:"
2884 msgstr ""
2885 "リソースの構成を修正し、また、もちろん両ノードの `/etc/drbd.conf` を同期した"
2886 "ら、両ノードで次のコマンドを実行して、これらの設定を有効にします。"
2887
2888 #. type: delimited block -
2889 #, no-wrap
2890 msgid "# drbdadm adjust <resource>\n"
2891 msgstr "# drbdadm adjust <resource>\n"
2892
2893 #. type: Plain text
2894 msgid ""
2895 "In case only one of the serves has a BBWCfootnote:[For example, in the DR "
2896 "site you might be using different hardware, right?], you should move the "
2897 "setting into a host section, like this:"
2898 msgstr ""
2899 "1台のサーバのみがBBWCがある場合footnote:[例えばDRサイトでは異なるハードウェア"
2900 "を使うでしょう]には、ホストセクションに以下のような設定をしてください。"
2901
2902 #. type: delimited block -
2903 #, no-wrap
2904 msgid ""
2905 "resource <resource> {\n"
2906 " disk {\n"
2907 " ... common settings ...\n"
2908 " }\n"
2909 msgstr ""
2910 "resource <resource> {\n"
2911 " disk {\n"
2912 " ... common settings ...\n"
2913 " }\n"
2914
2915 #. type: delimited block -
2916 #, no-wrap
2917 msgid ""
2918 " on host-1 {\n"
2919 " disk {\n"
2920 " md-flushes no;\n"
2921 " }\n"
2922 " ...\n"
2923 " }\n"
2924 " ...\n"
2925 "}\n"
2926 msgstr ""
2927 " on host-1 {\n"
2928 " disk {\n"
2929 " md-flushes no;\n"
2930 " }\n"
2931 " ...\n"
2932 " }\n"
2933 " ...\n"
2934 "}\n"
2935
2936 #. type: Title ===
2937 #, no-wrap
2938 msgid "Configuring split brain behavior"
2939 msgstr "スプリットブレイン時の動作の設定"
2940
2941 #. type: Title ====
2942 #, no-wrap
2943 msgid "Split brain notification"
2944 msgstr "スプリットブレインの通知"
2945
2946 #. type: Plain text
2947 msgid ""
2948 "DRBD invokes the `split-brain` handler, if configured, at any time split "
2949 "brain is _detected_. To configure this handler, add the following item to "
2950 "your resource configuration:"
2951 msgstr ""
2952 "スプリットブレインが _検出される_ と、DRBDはつねに `split-brain` ハンドラを呼"
2953 "び出します(設定されていれば)。このハンドラを設定するには、リソース構成に次の"
2954 "項目を追加します。"
2955
2956 #. type: delimited block -
2957 #, no-wrap
2958 msgid ""
2959 "resource <resource>\n"
2960 " handlers {\n"
2961 " split-brain <handler>;\n"
2962 " ...\n"
2963 " }\n"
2964 " ...\n"
2965 "}\n"
2966 msgstr ""
2967 "resource <resource>\n"
2968 " handlers {\n"
2969 " split-brain <handler>;\n"
2970 " ...\n"
2971 " }\n"
2972 " ...\n"
2973 "}\n"
2974
2975 #. type: Plain text
2976 msgid "_<handler>_ may be any executable present on the system."
2977 msgstr "_<handler>_ はシステムに存在する任意の実行可能ファイルです。"
2978
2979 #. type: Plain text
2980 msgid ""
2981 "The DRBD distribution contains a split brain handler script that installs as "
2982 "`/usr/lib/drbd/notify-split-brain.sh`. It simply sends a notification e-mail "
2983 "message to a specified address. To configure the handler to send a message "
2984 "to `root@localhost` (which is expected to be an email address that forwards "
2985 "the notification to a real system administrator), configure the `split-brain "
2986 "handler` as follows:"
2987 msgstr ""
2988 "DRBDディストリビューションでは `/usr/lib/drbd/notify-split-brain.sh` という名"
2989 "前のスプリットブレイン対策用のハンドラスクリプトを提供しています。これは指定"
2990 "したアドレスに電子メールで通知を送信するだけのシンプルなものです。"
2991 "`root@localhost` (このアドレス宛のメールは実際のシステム管理者に転送されると"
2992 "仮定)にメッセージを送信するようにハンドラを設定するには、 `split-brain "
2993 "handler` を次のように記述します。"
2994
2995 #. type: delimited block -
2996 #, no-wrap
2997 msgid ""
2998 "resource <resource>\n"
2999 " handlers {\n"
3000 " split-brain \"/usr/lib/drbd/notify-split-brain.sh root\";\n"
3001 " ...\n"
3002 " }\n"
3003 " ...\n"
3004 "}\n"
3005 msgstr ""
3006 "resource <resource>\n"
3007 " handlers {\n"
3008 " split-brain \"/usr/lib/drbd/notify-split-brain.sh root\";\n"
3009 " ...\n"
3010 " }\n"
3011 " ...\n"
3012 "}\n"
3013
3014 #. type: Plain text
3015 msgid ""
3016 "After you have made this modification on a running resource (and "
3017 "synchronized the configuration file between nodes), no additional "
3018 "intervention is needed to enable the handler. DRBD will simply invoke the "
3019 "newly-configured handler on the next occurrence of split brain."
3020 msgstr ""
3021 "実行中のリソースで上記の変更を行い(ノード間で設定ファイルを同期すれば)、後は"
3022 "ハンドラを有効にするための他の操作は必要ありません。次にスプリットブレインが"
3023 "発生すると、DRBDが新しく設定したハンドラを呼び出します。"
3024
3025 #. type: Title ====
3026 #, no-wrap
3027 msgid "Automatic split brain recovery policies"
3028 msgstr "スプリットブレインからの自動復旧ポリシー"
3029
3030 #. type: Plain text
3031 msgid ""
3032 "Configuring DRBD to automatically resolve data divergence situations "
3033 "resulting from split-brain (or other) scenarios is configuring for potential "
3034 "*automatic data loss*. Understand the implications, and don't do it if you "
3035 "don't mean to."
3036 msgstr ""
3037 "スプリットブレイン(またはその他)のシナリオの結果、データの相違状況を自動的に"
3038 "解決するDRBDの構成は、潜在的な *自動データ損失* を構成することを意味します。"
3039 "その意味をよく理解し、それを意味しない場合は設定しないでください。"
3040
3041 #. type: Plain text
3042 msgid ""
3043 "You rather want to look into fencing policies, quorum settings, cluster "
3044 "manager integration, and redundant cluster manager communication links to "
3045 "*avoid* data divergence in the first place."
3046 msgstr ""
3047 "むしろ、フェンシングポリシー、クォーラム設定、クラスタマネージャの統合、クラ"
3048 "スタマネージャの冗長化通信リンクなどを調べて、まず最初にデータの相違状況をつ"
3049 "くらないようにすべてきです。"
3050
3051 #. type: Plain text
3052 msgid ""
3053 "In order to be able to enable and configure DRBD's automatic split brain "
3054 "recovery policies, you must understand that DRBD offers several "
3055 "configuration options for this purpose. DRBD applies its split brain "
3056 "recovery procedures based on the number of nodes in the Primary role at the "
3057 "time the split brain is detected. To that end, DRBD examines the following "
3058 "keywords, all found in the resource's `net` configuration section:"
3059 msgstr ""
3060 "スプリットブレインからの自動復旧ポリシーには、状況に応じた複数のオプションが"
3061 "用意されています。DRBDは、スプリットブレインを検出したときのプライマリロール"
3062 "のノードの数にもとづいてスプリットブレイン回復手続きを適用します。そのため"
3063 "に、DRBDはリソース設定ファイルの net セクションの次のキーワードを読み取りま"
3064 "す。"
3065
3066 #. type: Block title
3067 #, no-wrap
3068 msgid "`after-sb-0pri`"
3069 msgstr "`after-sb-0pri`"
3070
3071 #. type: Plain text
3072 msgid ""
3073 "Split brain has just been detected, but at this time the resource is not in "
3074 "the Primary role on any host. For this option, DRBD understands the "
3075 "following keywords:"
3076 msgstr ""
3077 "スプリットブレインが検出されたときに両ノードともセカンダリロールの場合に適用"
3078 "されるポリシーを定義します。次のキーワードを指定できます。"
3079
3080 #. type: Plain text
3081 msgid ""
3082 "`disconnect`: Do not recover automatically, simply invoke the `split-brain` "
3083 "handler script (if configured), drop the connection and continue in "
3084 "disconnected mode."
3085 msgstr ""
3086 "`disconnect`: 自動復旧は実行されません。 `split-brain` ハンドラスクリプト(設"
3087 "定されている場合)を呼び出し、 コネクションを切断して切断モードで続行します。"
3088
3089 #. type: Plain text
3090 msgid ""
3091 "`discard-younger-primary`: Discard and roll back the modifications made on "
3092 "the host which assumed the Primary role last."
3093 msgstr ""
3094 "`discard-younger-primary`: 最後にプライマリロールだったホストに加えられた変更"
3095 "内容を破棄して ロールバックします。"
3096
3097 #. type: Plain text
3098 msgid ""
3099 "`discard-least-changes`: Discard and roll back the modifications on the host "
3100 "where fewer changes occurred."
3101 msgstr ""
3102 "`discard-least-changes`:変更が少なかったほうのホストの変更内容を破棄してロー"
3103 "ルバックします。"
3104
3105 #. type: Plain text
3106 msgid ""
3107 "`discard-zero-changes`: If there is any host on which no changes occurred at "
3108 "all, simply apply all modifications made on the other and continue."
3109 msgstr ""
3110 "`discard-zero-changes`: 変更がなかったホストがある場合は、 他方に加えられたす"
3111 "べての変更内容を適用して 続行します。"
3112
3113 #. type: Block title
3114 #, no-wrap
3115 msgid "`after-sb-1pri`"
3116 msgstr "`after-sb-1pri`"
3117
3118 #. type: Plain text
3119 msgid ""
3120 "Split brain has just been detected, and at this time the resource is in the "
3121 "Primary role on one host. For this option, DRBD understands the following "
3122 "keywords:"
3123 msgstr ""
3124 "スプリットブレインが検出されたときにどちらか1つのノードがプライマリロールであ"
3125 "る場合に適用されるポリシーを定義します。次のキーワードを指定できます。"
3126
3127 #. type: Plain text
3128 msgid ""
3129 "`disconnect`: As with `after-sb-0pri`, simply invoke the `split-brain` "
3130 "handler script (if configured), drop the connection and continue in "
3131 "disconnected mode."
3132 msgstr ""
3133 "`disconnect`: `after-sb-0pri` と同様に `split-brain` ハンドラスクリプト(構成"
3134 "されている場合)を呼び出し、 コネクションを切断して切断モードで続行します。"
3135
3136 #. type: Plain text
3137 msgid ""
3138 "`consensus`: Apply the same recovery policies as specified in `after-"
3139 "sb-0pri`. If a split brain victim can be selected after applying these "
3140 "policies, automatically resolve. Otherwise, behave exactly as if "
3141 "`disconnect` were specified."
3142 msgstr ""
3143 "`consensus`: `after-sb-0pri` で設定したものと同じ復旧ポリシーが適用されま"
3144 "す。 これらのポリシーを適用した後で、 スプリットブレインの犠牲ノードを選択で"
3145 "きる場合は自動的に解決します。それ以外の場合は、 `disconnect` を指定した場合"
3146 "と同様に動作します。"
3147
3148 #. type: Plain text
3149 msgid ""
3150 "`call-pri-lost-after-sb`: Apply the recovery policies as specified in `after-"
3151 "sb-0pri`. If a split brain victim can be selected after applying these "
3152 "policies, invoke the `pri-lost-after-sb` handler on the victim node. This "
3153 "handler must be configured in the `handlers` section and is expected to "
3154 "forcibly remove the node from the cluster."
3155 msgstr ""
3156 "`call-pri-lost-after-sb`: `after-sb-0pri` で指定した復旧ポリシーが適用されま"
3157 "す。 これらのポリシーを適用した後で、 スプリットブレインの犠牲ノードを選択で"
3158 "きる場合は、犠牲ノードで `pri-lost-after-sb` ハンドラを起動します このハンド"
3159 "ラは `handlers` セクションで設定する必要があります。 また、クラスタからノード"
3160 "を強制的に削除します。"
3161
3162 #. type: Plain text
3163 msgid ""
3164 "`discard-secondary`: Whichever host is currently in the Secondary role, make "
3165 "that host the split brain victim."
3166 msgstr ""
3167 "`discard-secondary`: 現在のセカンダリロールのホストを、 スプリットブレインの"
3168 "犠牲ノードにします。"
3169
3170 #. type: Block title
3171 #, no-wrap
3172 msgid "`after-sb-2pri`"
3173 msgstr "`after-sb-2pri`"
3174
3175 #. type: Plain text
3176 msgid ""
3177 "Split brain has just been detected, and at this time the resource is in the "
3178 "Primary role on both hosts. This option accepts the same keywords as `after-"
3179 "sb-1pri` except `discard-secondary` and `consensus`."
3180 msgstr ""
3181 "スプリットブレインが検出されたときに両ノードともプライマリロールである場合に"
3182 "適用されるポリシーを定義します。このオプションは `after-sb-1pri` と同じキー"
3183 "ワードを受け入れます。ただし、 `discard-secondary` と `consensus` は除きま"
3184 "す。"
3185
3186 #. type: Plain text
3187 msgid ""
3188 "DRBD understands additional keywords for these three options, which have "
3189 "been omitted here because they are very rarely used. Refer to the man page "
3190 "of `drbd.conf` for details on split brain recovery keywords not discussed "
3191 "here."
3192 msgstr ""
3193 "上記の3つのオプションで、DRBDは他のキーワードも認識しますが、それらはめったに"
3194 "使用されないためここでは省略します。ここで説明されていないスプリットブレイン"
3195 "の復旧キーワードに関しては `drbd.conf` のマニュアルページを参照ください。"
3196
3197 #. type: Plain text
3198 msgid ""
3199 "For example, a resource which serves as the block device for a GFS or OCFS2 "
3200 "file system in dual-Primary mode may have its recovery policy defined as "
3201 "follows:"
3202 msgstr ""
3203 "たとえば、デュアルプライマリモードでGFSまたはOCFS2ファイルシステムのブロック"
3204 "デバイスとして機能するリソースの場合、次のように復旧ポリシーを定義できます。"
3205
3206 #. type: delimited block -
3207 #, no-wrap
3208 msgid ""
3209 "resource <resource> {\n"
3210 " handlers {\n"
3211 " split-brain \"/usr/lib/drbd/notify-split-brain.sh root\"\n"
3212 " ...\n"
3213 " }\n"
3214 " net {\n"
3215 " after-sb-0pri discard-zero-changes;\n"
3216 " after-sb-1pri discard-secondary;\n"
3217 " after-sb-2pri disconnect;\n"
3218 " ...\n"
3219 " }\n"
3220 " ...\n"
3221 "}\n"
3222 msgstr ""
3223 "resource <resource> {\n"
3224 " handlers {\n"
3225 " split-brain \"/usr/lib/drbd/notify-split-brain.sh root\"\n"
3226 " ...\n"
3227 " }\n"
3228 " net {\n"
3229 " after-sb-0pri discard-zero-changes;\n"
3230 " after-sb-1pri discard-secondary;\n"
3231 " after-sb-2pri disconnect;\n"
3232 " ...\n"
3233 " }\n"
3234 " ...\n"
3235 "}\n"
3236
3237 #. type: Title ===
3238 #, no-wrap
3239 msgid "Creating a stacked three-node setup"
3240 msgstr "スタック3ノード構成の作成"
3241
3242 #. type: Plain text
3243 msgid "A three-node setup involves one DRBD device _stacked_ atop another."
3244 msgstr ""
3245 "3ノード構成では、1つのDRBDデバイスを別のデバイスの上に _スタック_ (積み重ね)"
3246 "します。"
3247
3248 #. type: Plain text
3249 msgid ""
3250 "Stacking is deprecated in DRBD version 9.x, as more nodes can be implemented "
3251 "on a single level. See <<s-drbdconf-conns>> for details."
3252 msgstr ""
3253 "DRBD9.xでは1つの階層で複数ノードを使用できるのでスタッキングは非推奨です。詳"
3254 "細は <<s-drbdconf-conns>>をご参照ください。"
3255
3256 #. type: Title ====
3257 #, no-wrap
3258 msgid "Device stacking considerations"
3259 msgstr "デバイススタックの留意事項"
3260
3261 #. type: Plain text
3262 msgid "The following considerations apply to this type of setup:"
3263 msgstr "次のような事項に注意する必要があります。"
3264
3265 #. type: Plain text
3266 msgid ""
3267 "The stacked device is the active one. Assume you have configured one DRBD "
3268 "device `/dev/drbd0`, and the stacked device atop it is `/dev/drbd10`, then `/"
3269 "dev/drbd10` will be the device that you mount and use."
3270 msgstr ""
3271 "スタックデバイス側が利用可能です。1つのDRBDデバイス `/dev/drbd0` を設定して、"
3272 "その上位にスタックデバイス `/dev/drbd10` があるとします。この場合は、 `/dev/"
3273 "drbd10` がマウントして使用するデバイスになります 。"
3274
3275 #. type: Plain text
3276 msgid ""
3277 "Device meta data will be stored twice, on the underlying DRBD device _and_ "
3278 "the stacked DRBD device. On the stacked device, you must always use <<s-"
3279 "internal-meta-data,internal meta data>>. This means that the effectively "
3280 "available storage area on a stacked device is slightly smaller, compared to "
3281 "an unstacked device."
3282 msgstr ""
3283 "下位のDRBDデバイス _および_ スタックDRBDデバイス(上位DRBDデバイス)の両方にそ"
3284 "れぞれメタデータが存在します 。上位デバイスには、必ず <<s-internal-meta-data,"
3285 "内部メタデータ>>を使用してください。このため、 3ノード構成時の使用可能なディ"
3286 "スク領域は、 2ノード構成に比べてわずかに小さくなります。"
3287
3288 #. type: Plain text
3289 msgid ""
3290 "To get the stacked upper level device running, the underlying device must be "
3291 "in the primary role."
3292 msgstr ""
3293 "スタックした上位デバイスを実行するには、下位のデバイスが プライマリロールに"
3294 "なっている必要があります。"
3295
3296 #. type: Plain text
3297 msgid ""
3298 "To be able to synchronize the backup node, the stacked device on the active "
3299 "node must be up and in the primary role."
3300 msgstr ""
3301 "バックアップノードにデータを同期するには、 アクティブなノードのスタックデバイ"
3302 "スがプライマリモードで動作している必要があります。"
3303
3304 #. type: Title ====
3305 #, no-wrap
3306 msgid "Configuring a stacked resource"
3307 msgstr "スタックリソースの設定"
3308
3309 #. type: Plain text
3310 msgid ""
3311 "In the following example, nodes are named 'alice', 'bob', and 'charlie', "
3312 "with 'alice' and 'bob' forming a two-node cluster, and 'charlie' being the "
3313 "backup node."
3314 msgstr ""
3315 "次の例では `alice` 、 `bob` 、 `charlie` という名前のノードがあり、 `alice` "
3316 "と `bob` が2ノードクラスタを構成し、 `charlie` がバックアップノードになってい"
3317 "ます。"
3318
3319 #. type: delimited block -
3320 #, no-wrap
3321 msgid ""
3322 "resource r0 {\n"
3323 " protocol C;\n"
3324 " device /dev/drbd0;\n"
3325 " disk /dev/sda6;\n"
3326 " meta-disk internal;\n"
3327 msgstr ""
3328 "resource r0 {\n"
3329 " protocol C;\n"
3330 " device /dev/drbd0;\n"
3331 " disk /dev/sda6;\n"
3332 " meta-disk internal;\n"
3333
3334 #. type: delimited block -
3335 #, no-wrap
3336 msgid ""
3337 " on alice {\n"
3338 " address 10.0.0.1:7788;\n"
3339 " }\n"
3340 msgstr ""
3341 " on alice {\n"
3342 " address 10.0.0.1:7788;\n"
3343 " }\n"
3344
3345 #. type: delimited block -
3346 #, no-wrap
3347 msgid ""
3348 " on bob {\n"
3349 " address 10.0.0.2:7788;\n"
3350 " }\n"
3351 "}\n"
3352 msgstr ""
3353 " on bob {\n"
3354 " address 10.0.0.2:7788;\n"
3355 " }\n"
3356 "}\n"
3357
3358 #. type: delimited block -
3359 #, no-wrap
3360 msgid ""
3361 "resource r0-U {\n"
3362 " protocol A;\n"
3363 msgstr ""
3364 "resource r0-U {\n"
3365 " protocol A;\n"
3366
3367 #. type: delimited block -
3368 #, no-wrap
3369 msgid ""
3370 " stacked-on-top-of r0 {\n"
3371 " device /dev/drbd10;\n"
3372 " address 192.168.42.1:7789;\n"
3373 " }\n"
3374 msgstr ""
3375 " stacked-on-top-of r0 {\n"
3376 " device /dev/drbd10;\n"
3377 " address 192.168.42.1:7789;\n"
3378 " }\n"
3379
3380 #. type: delimited block -
3381 #, no-wrap
3382 msgid ""
3383 " on charlie {\n"
3384 " device /dev/drbd10;\n"
3385 " disk /dev/hda6;\n"
3386 " address 192.168.42.2:7789; # Public IP of the backup node\n"
3387 " meta-disk internal;\n"
3388 " }\n"
3389 "}\n"
3390 msgstr ""
3391 " on charlie {\n"
3392 " device /dev/drbd10;\n"
3393 " disk /dev/hda6;\n"
3394 " address 192.168.42.2:7789; # Public IP of the backup node\n"
3395 " meta-disk internal;\n"
3396 " }\n"
3397 "}\n"
3398
3399 #. type: Plain text
3400 msgid ""
3401 "As with any `drbd.conf` configuration file, this must be distributed across "
3402 "all nodes in the cluster -- in this case, three nodes. Notice the following "
3403 "extra keyword not found in an unstacked resource configuration:"
3404 msgstr ""
3405 "他の `drbd.conf` 設定ファイルと同様に、この設定ファイルもクラスタのすべての"
3406 "ノード(この場合は3つ)に配布する必要があります。非スタックリソースの設定にはな"
3407 "い、次のキーワードにご注意ください。"
3408
3409 #. type: Block title
3410 #, no-wrap
3411 msgid "`stacked-on-top-of`"
3412 msgstr "`stacked-on-top-of`"
3413
3414 #. type: Plain text
3415 msgid ""
3416 "This option informs DRBD that the resource which contains it is a stacked "
3417 "resource. It replaces one of the `on` sections normally found in any "
3418 "resource configuration. Do not use `stacked-on-top-of` in an lower-level "
3419 "resource."
3420 msgstr ""
3421 "このオプションによって、DRBDに含まれるリソースがスタックリソースであることを"
3422 "DRBDに知らせます。これは、通常リソース設定内にある `on` セクションのうちの1"
3423 "つを置き換えます。`stacked-on-top-of` は下位レベルのリソースには使用しないで"
3424 "ください。"
3425
3426 #. type: Plain text
3427 msgid ""
3428 "It is not a requirement to use <<fp-protocol-a,Protocol A>> for stacked "
3429 "resources. You may select any of DRBD's replication protocols depending on "
3430 "your application."
3431 msgstr ""
3432 "スタックリソースに<<fp-protocol-a,Protocol A>>を使用することは必須ではありま"
3433 "せん。アプリケーションに応じて任意のDRBDのレプリケーションプロトコルを選択で"
3434 "きます。"
3435
3436 #. type: Block title
3437 #, no-wrap
3438 msgid "Single stacked setup"
3439 msgstr "単一スタックの構成"
3440
3441 #. type: Target for macro image
3442 #, no-wrap
3443 msgid "images/single-stacked.svg"
3444 msgstr "images/single-stacked.svg"
3445
3446 #. type: Title ====
3447 #, no-wrap
3448 msgid "Enabling stacked resources"
3449 msgstr "スタックリソースを有効にする "
3450
3451 #. type: Plain text
3452 msgid ""
3453 "To enable a stacked resource, you first enable its lower-level resource and "
3454 "promote it:"
3455 msgstr ""
3456 "スタックリソースを有効にするには、まず、下位レベルリソースを有効にしてどちら"
3457 "か一方をプライマリに昇格します。"
3458
3459 #. type: delimited block -
3460 #, no-wrap
3461 msgid ""
3462 "drbdadm up r0\n"
3463 "drbdadm primary r0\n"
3464 msgstr ""
3465 "drbdadm up r0\n"
3466 "drbdadm primary r0\n"
3467
3468 #. type: Plain text
3469 msgid ""
3470 "As with unstacked resources, you must create DRBD meta data on the stacked "
3471 "resources. This is done using the following command:"
3472 msgstr ""
3473 "非スタックリソースと同様に、スタックリソースの場合もDRBDメタデータを作成する"
3474 "必要があります。次のコマンドで実行します。次に、スタックリソースを有効にしま"
3475 "す。"
3476
3477 #. type: delimited block -
3478 #, no-wrap
3479 msgid "# drbdadm create-md --stacked r0-U\n"
3480 msgstr "# drbdadm create-md --stacked r0-U\n"
3481
3482 #. type: Plain text
3483 msgid "Then, you may enable the stacked resource:"
3484 msgstr ""
3485 "この後でバックアップノードのリソースを起動し、3ノードレプリケーションを有効に"
3486 "します。"
3487
3488 #. type: delimited block -
3489 #, no-wrap
3490 msgid ""
3491 "# drbdadm up --stacked r0-U\n"
3492 "# drbdadm primary --stacked r0-U\n"
3493 msgstr ""
3494 "# drbdadm up --stacked r0-U\n"
3495 "# drbdadm primary --stacked r0-U\n"
3496
3497 #. type: Plain text
3498 msgid ""
3499 "After this, you may bring up the resource on the backup node, enabling three-"
3500 "node replication:"
3501 msgstr ""
3502 "この後でバックアップノードのリソースを起動し、3ノードレプリケーションを有効に"
3503 "します。"
3504
3505 #. type: delimited block -
3506 #, no-wrap
3507 msgid ""
3508 "# drbdadm create-md r0-U\n"
3509 "# drbdadm up r0-U\n"
3510 msgstr ""
3511 "# drbdadm create-md r0-U\n"
3512 "# drbdadm up r0-U\n"
3513
3514 #. type: Plain text
3515 msgid ""
3516 "In order to automate stacked resource management, you may integrate stacked "
3517 "resources in your cluster manager configuration."
3518 msgstr "クラスタ管理システムを使えばスタックリソースの管理を自動化できます。"
3519
3520 #. type: Plain text
3521 msgid ""
3522 "See <<s-pacemaker-stacked-resources>> for information on doing this in a "
3523 "cluster managed by the Pacemaker cluster management framework."
3524 msgstr ""
3525 "Pacemakerクラスタ管理フレームワークで管理する方法については、<<s-pacemaker-"
3526 "stacked-resources>>を参照してください。"
3527
3528 #. type: Title ===
3529 #, no-wrap
3530 msgid "Permanently diskless nodes"
3531 msgstr "永続的なディスクレスノード"
3532
3533 #. type: Plain text
3534 msgid ""
3535 "A node might be permanently diskless in DRBD. Here is a configuration "
3536 "example showing a resource with 3 diskful nodes (servers) and one "
3537 "permanently diskless node (client)."
3538 msgstr ""
3539 "ノードはしばしDRBDの中で永続的にディスクレスになるときがあります。以下はディ"
3540 "スクをもつ3つのノードと永続的なディスクレスノードの構成例です。"
3541
3542 #. type: delimited block -
3543 #, no-wrap
3544 msgid ""
3545 "resource kvm-mail {\n"
3546 " device /dev/drbd6;\n"
3547 " disk /dev/vg/kvm-mail;\n"
3548 " meta-disk internal;\n"
3549 msgstr ""
3550 "resource kvm-mail {\n"
3551 " device /dev/drbd6;\n"
3552 " disk /dev/vg/kvm-mail;\n"
3553 " meta-disk internal;\n"
3554
3555 #. type: delimited block -
3556 #, no-wrap
3557 msgid ""
3558 " on store1 {\n"
3559 " address 10.1.10.1:7006;\n"
3560 " node-id 0;\n"
3561 " }\n"
3562 " on store2 {\n"
3563 " address 10.1.10.2:7006;\n"
3564 " node-id 1;\n"
3565 " }\n"
3566 " on store3 {\n"
3567 " address 10.1.10.3:7006;\n"
3568 " node-id 2;\n"
3569 " }\n"
3570 msgstr ""
3571 " on store1 {\n"
3572 " address 10.1.10.1:7006;\n"
3573 " node-id 0;\n"
3574 " }\n"
3575 " on store2 {\n"
3576 " address 10.1.10.2:7006;\n"
3577 " node-id 1;\n"
3578 " }\n"
3579 " on store3 {\n"
3580 " address 10.1.10.3:7006;\n"
3581 " node-id 2;\n"
3582 " }\n"
3583
3584 #. type: delimited block -
3585 #, no-wrap
3586 msgid ""
3587 " on for-later-rebalancing {\n"
3588 " address 10.1.10.4:7006;\n"
3589 " node-id 3;\n"
3590 " }\n"
3591 msgstr ""
3592 " on for-later-rebalancing {\n"
3593 " address 10.1.10.4:7006;\n"
3594 " node-id 3;\n"
3595 " }\n"
3596
3597 #. type: delimited block -
3598 #, no-wrap
3599 msgid ""
3600 " # DRBD \"client\"\n"
3601 " floating 10.1.11.6:8006 {\n"
3602 " disk none;\n"
3603 " node-id 4;\n"
3604 " }\n"
3605 msgstr ""
3606 " # DRBD \"client\"\n"
3607 " floating 10.1.11.6:8006 {\n"
3608 " disk none;\n"
3609 " node-id 4;\n"
3610 " }\n"
3611
3612 #. type: delimited block -
3613 #, no-wrap
3614 msgid ""
3615 " # rest omitted for brevity\n"
3616 " ...\n"
3617 "}\n"
3618 msgstr ""
3619 " # rest omitted for brevity\n"
3620 " ...\n"
3621 "}\n"
3622
3623 #. type: Plain text
3624 msgid ""
3625 "For permanently diskless nodes no bitmap slot gets allocated. For such nodes "
3626 "the diskless status is displayed in green color since it is not an error or "
3627 "unexpected state. See <<s-drbd-client-internals>> for internal details."
3628 msgstr ""
3629 "永続的なディスクレスノードはビットマップスロットが割り当てられません。このよ"
3630 "うなノードのステータスは、エラーでも予期せぬ状態でもないので緑で表示されま"
3631 "す。詳細は <<s-drbd-client-internals>> を参照ください。"
3632
3633 #. type: Title ===
3634 #, no-wrap
3635 msgid "Data rebalancing"
3636 msgstr "データ再配置"
3637
3638 #. type: Plain text
3639 msgid ""
3640 "indexterm:[rebalance]Given the (example) policy that data needs to be "
3641 "available on 3 nodes, you need at least 3 servers for your setup."
3642 msgstr ""
3643 "indexterm:[rebalance]以下の例では、すべてのデータ領域は3台に冗長化するポリ"
3644 "シーを想定しています。したがって最小構成で3台のサーバが必要です。"
3645
3646 #. type: Plain text
3647 msgid ""
3648 "Now, as your storage demands grow, you will encounter the need for "
3649 "additional servers. Rather than having to buy 3 more servers at the same "
3650 "time, you can _rebalance_ your data across a single additional node."
3651 msgstr ""
3652 "しかし、データ量が増えてくると、サーバ追加の必要性に迫られます。その際には、"
3653 "また新たに3台のサーバを購入する必要はなく、1つのノードだけを追加をしてデータ"
3654 "を _再配置_ することができます。"
3655
3656 #. type: Block title
3657 #, no-wrap
3658 msgid "DRBD data rebalancing"
3659 msgstr "DRBDデータ再配置"
3660
3661 #. type: Target for macro image
3662 #, no-wrap
3663 msgid "images/rebalance.svg"
3664 msgstr "images/rebalance.svg"
3665
3666 #. type: Plain text
3667 msgid ""
3668 "In the figure above you can see the _before_ and _after_ states: from 3 "
3669 "nodes with three 25TiB volumes each (for a net 75TiB), to 4 nodes, with net "
3670 "100TiB."
3671 msgstr ""
3672 "上の図では、3ノードの各々に25TiBのボリュームがある合計75TiBの状態から、4ノー"
3673 "ドで合計100TiBの状態にしています。"
3674
3675 #. type: Plain text
3676 msgid ""
3677 "To redistribute the data across your cluster you have to choose a _new_ "
3678 "node, and one where you want to remove this DRBD resource. + Please note "
3679 "that removing the resource from a currently _active_ node (i.e. where DRBD "
3680 "is _Primary_) will involve either migrating the service or running this "
3681 "resource on this node as a <<s-drbd-client,DRBD client>>; it's easier to "
3682 "choose a node in _Secondary_ role. (Of course, that might not always be "
3683 "possible.)"
3684 msgstr ""
3685 "データを再配置する時には、 _新しい_ ノードとDRBDリソースを削除したいノードを"
3686 "選択する必要があります。現在 _アクティブ_ なノードからリソースを削除する場合"
3687 "には注意が必要です。 DRBDが `プライマリ` のノードからリソースを削除する場合に"
3688 "はサービスを移行するか、そのノードのリソースを<<s-drbd-client,DRBDクライアン"
3689 "ト>>として稼働させるかにしてください。通常は `セカンダリ` のノードから選ぶほ"
3690 "うが簡単です(それができない場合もあるでしょうが)。"
3691
3692 #. type: Title ====
3693 #, no-wrap
3694 msgid "Prepare a bitmap slot"
3695 msgstr "ビットマップスロットの用意"
3696
3697 #. type: Plain text
3698 msgid ""
3699 "You will need to have a free <<s-quick-sync-bitmap,bitmap slot>> for "
3700 "temporary use, on each of the nodes that have the resource that is to be "
3701 "moved."
3702 msgstr ""
3703 "移動するリソースには一時的に未使用の<<s-quick-sync-bitmap,ビットマップスロッ"
3704 "ト>>用のスペースが必要です。"
3705
3706 #. type: Plain text
3707 msgid ""
3708 "You can allocate one more at <<s-first-time-up,`drbdadm create-md` time>>, "
3709 "or simply put a placeholder in your configuration, so that `drbdadm` sees "
3710 "that it should reserve one more slot:"
3711 msgstr ""
3712 "<<s-first-time-up,`drbdadm create-md` の時>>にもう一つ割り当てます。または、 "
3713 "`drbdadm` がもう1つスロットを取っておくように設定にプレースホルダを設けても"
3714 "よいでしょう。"
3715
3716 #. type: delimited block -
3717 #, no-wrap
3718 msgid ""
3719 "resource r0 {\n"
3720 " ...\n"
3721 " on for-later-rebalancing {\n"
3722 " address 10.254.254.254:65533;\n"
3723 " node-id 3;\n"
3724 " }\n"
3725 "}\n"
3726 msgstr ""
3727 "resource r0 {\n"
3728 " ...\n"
3729 " on for-later-rebalancing {\n"
3730 " address 10.254.254.254:65533;\n"
3731 " node-id 3;\n"
3732 " }\n"
3733 "}\n"
3734
3735 #. type: delimited block =
3736 msgid ""
3737 "If you need to make that slot available during live use, you will have to"
3738 msgstr "このスロットを実際に利用するには以下が必要です。"
3739
3740 #. type: delimited block =
3741 msgid "dump the metadata,"
3742 msgstr "メタデータをダンプする,"
3743
3744 #. type: delimited block =
3745 msgid "enlarge the metadata space,"
3746 msgstr "メタデータ領域を拡大する,"
3747
3748 #. type: delimited block =
3749 msgid "edit the dumpfile,"
3750 msgstr "ダンプファイルを編集する,"
3751
3752 #. type: delimited block =
3753 msgid "load the changed metadata."
3754 msgstr "メタデータをロードする"
3755
3756 #. type: delimited block =
3757 msgid ""
3758 "In a future version `drbdadm` will have a shortcut for you; most probably "
3759 "you'll be able to say `drbdadm resize --peers _N_` and have the kernel "
3760 "rewrite the metadata for you."
3761 msgstr ""
3762 "今後のバージョンの `drbdadm` ではショートカットキーが用意されます。 `drbdadm "
3763 "resize --peers N` が使用できるようになる予定であり、カーネルがメタデータを書"
3764 "き換えられるようになります。"
3765
3766 #. type: Title ====
3767 #, no-wrap
3768 msgid "Preparing and activating the new node"
3769 msgstr "新しいノードの用意と有効化"
3770
3771 #. type: Plain text
3772 msgid ""
3773 "First of all you have to create the underlying storage volume on the new "
3774 "node (using e.g. `lvcreate`). Then the placeholder in the configuration can "
3775 "be filled with the correct host name, address, and storage path. Now copy "
3776 "the resource configuration to all relevant nodes."
3777 msgstr ""
3778 "まずは新しいノードに( `lvcreate` 等で)下位のストレージリュームを作成する必要"
3779 "があります。 次に設定ファイルのプレイスホルダーに現在のホスト名、アドレス、ス"
3780 "トレージのパスを書き込みます。そしてすべての必要なノードにリソース設定をコ"
3781 "ピーします。"
3782
3783 #. type: Plain text
3784 msgid "On the new node initialize the meta-data (once) by doing"
3785 msgstr "新しいノードでメタデータを次のようにして(一度だけ)初期化します"
3786
3787 #. type: delimited block -
3788 #, no-wrap
3789 msgid ""
3790 "# drbdadm create-md <resource>\n"
3791 "v09 Magic number not found\n"
3792 "Writing meta data...\n"
3793 "initialising activity log\n"
3794 "NOT initializing bitmap\n"
3795 "New drbd meta data block successfully created.\n"
3796 msgstr ""
3797 "# drbdadm create-md <resource>\n"
3798 "v09 Magic number not found\n"
3799 "Writing meta data...\n"
3800 "initialising activity log\n"
3801 "NOT initializing bitmap\n"
3802 "New drbd meta data block successfully created.\n"
3803
3804 #. type: Title ====
3805 #, no-wrap
3806 msgid "Starting the initial sync"
3807 msgstr "初期同期の開始"
3808
3809 #. type: Plain text
3810 msgid "Now the new node needs to get the data."
3811 msgstr "新しいノードでデータを受け取ります。"
3812
3813 #. type: Plain text
3814 msgid ""
3815 "This is done by defining the network connection on the existing nodes via"
3816 msgstr ""
3817 "そのために以下のようにして既存のノードでネットワークコネクションを定義しま"
3818 "す。"
3819
3820 #. type: Plain text
3821 msgid "and starting the DRBD device on the new node via"
3822 msgstr "そして新しいノードでDRBDデバイスを開始します。"
3823
3824 #. type: Title ====
3825 #, no-wrap
3826 msgid "Check connectivity"
3827 msgstr "接続確認"
3828
3829 #. type: Plain text
3830 msgid "At this time please do a"
3831 msgstr "この時に、新しいノードで以下のコマンドを実行してください。"
3832
3833 #. type: delimited block -
3834 #, no-wrap
3835 msgid "# drbdadm status <resource>\n"
3836 msgstr "# drbdadm status <resource>\n"
3837
3838 #. type: Plain text
3839 msgid "on the new node, and check that _all_ other nodes are connected."
3840 msgstr "他のノード _すべて_ が接続しているか確認します。"
3841
3842 #. type: Title ====
3843 #, no-wrap
3844 msgid "After the initial sync"
3845 msgstr "初期同期後"
3846
3847 #. type: Plain text
3848 msgid ""
3849 "As soon as the new host is _UpToDate_, one of the other nodes in the "
3850 "configuration can be renamed to `for-later-rebalancing`, and kept for "
3851 "another migration."
3852 msgstr ""
3853 "新しいノードが `UpToDate` になったらすぐに、設定中の他のノードのうち1つが "
3854 "`for-later-rebalancing` に変更できるようになり、次のマイグレーション用にキー"
3855 "プしておけるようになります。 "
3856
3857 #. type: Plain text
3858 msgid ""
3859 "Perhaps you want to comment the section; although that has the risk that "
3860 "doing a `drbdadm create-md` for a new node has too few bitmap slots for the "
3861 "next rebalancing. + It might be easier to use a reserved (unused) IP address "
3862 "and host name."
3863 msgstr ""
3864 "次の再配置用に小さなビットマップスロットしかない新規ノードに `drbdadm create-"
3865 "md` をすることにはリスクがあると思う方もいることでしょう。あらかじめIPアドレ"
3866 "スとホスト名を用意しておくのが簡単な方法でしょう。"
3867
3868 #. type: Plain text
3869 msgid "Copy the changed configuration around again, and use it by running"
3870 msgstr "再度変更した設定をコピーして、以下のコマンドを"
3871
3872 #. type: Plain text
3873 msgid "on all nodes."
3874 msgstr "全ノードで実行します。"
3875
3876 #. type: Title ====
3877 #, no-wrap
3878 msgid "Cleaning up"
3879 msgstr "クリーニング"
3880
3881 #. type: Plain text
3882 msgid ""
3883 "On the one node that had the data up to now, but isn't used anymore for this "
3884 "resource, you can now take the DRBD device down by starting"
3885 msgstr ""
3886 "今までデータのあったノードでは、もうリソースを使用しない場合にはDRBDデバイス"
3887 "を次のようにして停止できます。"
3888
3889 #. type: Plain text
3890 msgid ""
3891 "Now the lower level storage device isn't used anymore, and can either be re-"
3892 "used for other purposes or, if it is a logical volume, its space can be "
3893 "returned to the volume group via `lvremove`."
3894 msgstr ""
3895 "これで下位デバイスを使用しなくなり、他の用途で使用することができるようになり"
3896 "ます。論理ボリュームであれば lvremove でボリュームグループに戻すことができま"
3897 "す。"
3898
3899 #. type: Title ====
3900 #, no-wrap
3901 msgid "Conclusion and further steps"
3902 msgstr "まとめと他のステップ"
3903
3904 #. type: Plain text
3905 msgid ""
3906 "One of the resources has been migrated to the new node. The same could be "
3907 "done for one or more other resources, to free space on two or three nodes in "
3908 "the existing cluster."
3909 msgstr ""
3910 "1つのリソースを新しいノードに移動しました。同様の手順で1つまたはそれ以上の"
3911 "リソースを、クラスタ内の既存の2つまたは3つのノードの空きスペースに行う事も可"
3912 "能です。"
3913
3914 #. type: Plain text
3915 msgid ""
3916 "Then new resources can be configured, as there are enough nodes with free "
3917 "space to achieve 3-way redundancy again."
3918 msgstr ""
3919 "再び3重の冗長化を行うのに必要な空き容量のあるノードが揃えば、新しいリソースを"
3920 "設定することが出来ます。"
3921
3922 #. type: Title ===
3923 #, no-wrap
3924 msgid "Configuring quorum"
3925 msgstr "クォーラム設定"
3926
3927 #. type: Plain text
3928 msgid ""
3929 "In order to avoid split brain or diverging data of replicas one has to "
3930 "configure fencing. All the options for fencing rely on redundant "
3931 "communication in the end. That might be in the form of a management network "
3932 "that connects the nodes to the IPMI network interfaces of the peer machines. "
3933 "In case of the crm-fence-peer script it is necessary that Pacemakers "
3934 "communication stays available when DRBD's network link breaks."
3935 msgstr ""
3936 "スプリットブレインや複製データの相違を防ぐために、フェンシングを構成する必要"
3937 "があります。フェンシングのすべてのオプションは、最後には冗長な通信路に依存し"
3938 "ます。それはノードが対向ノードのIPMIネットワークインタフェースに接続する形か"
3939 "もしれません。crm-fence-peerスクリプトの場合、DRBDのネットワークリンクが切断"
3940 "されたときに、pacemaker の通信が有効であることが必要になります。"
3941
3942 #. type: Plain text
3943 msgid ""
3944 "The quorum mechanism on the other hand takes a completely difference "
3945 "approach. The basic idea is that a cluster partition may only modify the "
3946 "replicated data set if the number of nodes that can communicate is greater "
3947 "than the half of the overall number of nodes. A node of such a partition "
3948 "_has quorum_. On the other hand a node does not have quorum needs to "
3949 "guarantee that the replicated data set it not touched, that it does not "
3950 "create a diverging data set."
3951 msgstr ""
3952 "一方クォーラムは完全に異なるアプローチをとります。基本的な考え方は、通信でき"
3953 "るノードの数がノード総数の半分を超える場合、クラスタパーティションは複製され"
3954 "たデータセットを変更できるということです。そのようなパーティションのノード"
3955 "は、クォーラムを持つといいます。言い換えると、クォーラムを持たないノードは、"
3956 "複製されたデータを変更しないことを保証します。これはデータの相違を作成しない"
3957 "ことを意味します。"
3958
3959 #. type: Plain text
3960 msgid ""
3961 "The quorum implementation in DRBD gets enabled by setting the `quorum` "
3962 "resource option to `majority`, `all` or a numeric value. Where `majority` "
3963 "selects the behavior that was described in the previous paragraph."
3964 msgstr ""
3965 "DRBDのクォーラムの実装は、`quorum` リソースに `majority` , `all` または数値を"
3966 "設定することで有効にできます。 `majority` の動作が、前の文章で説明した動作に"
3967 "なります。"
3968
3969 #. type: Title ====
3970 #, no-wrap
3971 msgid "Guaranteed minimal redundancy"
3972 msgstr "保証された最低限の冗長化"
3973
3974 #. type: Plain text
3975 msgid ""
3976 "By default every node with a disk gets a vote in the quorum election. In "
3977 "other words only diskless nodes do not count. So a partition with two "
3978 "_Inconsistent_ disks gets quorum, while a partition with one _UpToDate_ node "
3979 "will have quorum in a 3 node cluster. By configuring `quorum-minimum-"
3980 "redundancy` this behavior can be changed so that only nodes that are "
3981 "`UpToDate` have a vote in the quorum election. The option takes the same "
3982 "arguments as the `quorum` option."
3983 msgstr ""
3984 "デフォルトでは、ディスクを持つすべてのノードがクォーラム選挙で投票権を持ちま"
3985 "す。言い換えると、ディスクレスノードだけが持ちません。従って、3ノードクラスタ"
3986 "では、 _Inconsistent_ ディスクを持つ2つのノード、 _UpToDate_ を持つ1つノード"
3987 "は、クォーラム投票権を持つことができます。 `quorum-minimum-redundancy` を設定"
3988 "することによって、`UpToDate` ノードだけがクォーラム選挙で投票権を持つように変"
3989 "更することもできます。このオプションは `quorum` オプションと同じ引数をとりま"
3990 "す。"
3991
3992 #. type: Plain text
3993 msgid ""
3994 "With this option you express that you rather want to wait until eventually "
3995 "necessary resync operations finish before any services start. So in a way "
3996 "you prefer that the minimal redundancy of your data is guaranteed over the "
3997 "availability of your service. Financial data and services is an example that "
3998 "comes to mind."
3999 msgstr ""
4000 "このオプションを使用すると、サービスを開始する前に必要な再同期操作が完了する"
4001 "まで待機する、ということも表現できます。 したがって、データの最低限の冗長性が"
4002 "サービスの可用性よりも保証されることを好む方法です。金融データとサービスなど"
4003 "はその一例です。"
4004
4005 #. type: Plain text
4006 msgid ""
4007 "Consider following example for a 5 node cluster. It requires a partitions to "
4008 "have at least 3 nodes, and two of them must be `UpToDate`:"
4009 msgstr ""
4010 "以下に5ノードクラスタの設定例を示します。パーティションは少なくとも3つのノー"
4011 "ドが必要であり、そのうち2つは `UpToDate` である必要があります。"
4012
4013 #. type: delimited block -
4014 #, no-wrap
4015 msgid ""
4016 "resource quorum-demo {\n"
4017 " options {\n"
4018 " quorum majority;\n"
4019 " quorum-minimum-redundancy 2;\n"
4020 " ...\n"
4021 " }\n"
4022 "}\n"
4023 msgstr ""
4024 "resource quorum-demo {\n"
4025 " options {\n"
4026 " quorum majority;\n"
4027 " quorum-minimum-redundancy 2;\n"
4028 " ...\n"
4029 " }\n"
4030 "}\n"
4031
4032 #. type: Title ====
4033 #, no-wrap
4034 msgid "Actions on loss of quorum"
4035 msgstr "クォーラムを失った時の動作"
4036
4037 #. type: Plain text
4038 msgid ""
4039 "When a node that is running the service loses quorum it needs to cease write-"
4040 "operations on the data set immediately. That means that IO immediately "
4041 "starts to complete all IO requests with errors. Usually that means that a "
4042 "graceful shutdown is not possible, since that would require more "
4043 "modifications to the data set. The IO errors propagate from the block level "
4044 "to the file system and from the file system to the user space application(s)."
4045 msgstr ""
4046 "サービスを実行しているノードがクォーラムを失うと、すぐにデータセットの書き込"
4047 "み操作を中止する必要があります。これはIOがすぐにすべてのIO要求をエラーで完了"
4048 "し始めることを意味します。通常、これは、正常なシャットダウンが不可能であるこ"
4049 "とを意味します。これはデータセットをさらに変更する必要があるためです。IOエ"
4050 "ラーはブロックレベルからファイルシステムに、ファイルシステムからユーザース"
4051 "ペースアプリケーションに伝わります。"
4052
4053 #. type: Plain text
4054 msgid ""
4055 "Ideally the application simply terminates in case of IO errors. This allows "
4056 "then Pacemaker to unmount the filesystem and to demote the DRBD resource to "
4057 "secondary role. If that is true you should set the `on-no-quorum` resource "
4058 "option to `io-error`. Here is an example:"
4059 msgstr ""
4060 "理想的には、IOエラーの場合、アプリケーションを単に終了させることです。これは"
4061 "その後、Pacemaker がファイルシステムをアンマウントし、DRBDリソースを降格させ"
4062 "セカンダリロールに移すことを可能にします。その場合は、`on-no-quorum` リソース"
4063 "に `io-error` を設定してください。以下はその設定例です。"
4064
4065 #. type: delimited block -
4066 #, no-wrap
4067 msgid ""
4068 "resource quorum-demo {\n"
4069 " options {\n"
4070 " quorum majority;\n"
4071 " on-no-quorum io-error;\n"
4072 " ...\n"
4073 " }\n"
4074 "}\n"
4075 msgstr ""
4076 "resource quorum-demo {\n"
4077 " options {\n"
4078 " quorum majority;\n"
4079 " on-no-quorum io-error;\n"
4080 " ...\n"
4081 " }\n"
4082 "}\n"
4083
4084 #. type: Plain text
4085 msgid ""
4086 "If you application does not terminate on the first IO error, you can choose "
4087 "to freeze IO instead and to reboot the node. Here is a configuration example:"
4088 msgstr ""
4089 "アプリケーションが最初のIOエラーで終了しない場合は、IOをフリーズさせノードを"
4090 "リブートさせることもできます。以下はその設定例です。"
4091
4092 #. type: delimited block -
4093 #, no-wrap
4094 msgid ""
4095 "resource quorum-demo {\n"
4096 " options {\n"
4097 " quorum majority;\n"
4098 " on-no-quorum suspend-io;\n"
4099 " ...\n"
4100 " }\n"
4101 msgstr ""
4102 "resource quorum-demo {\n"
4103 " options {\n"
4104 " quorum majority;\n"
4105 " on-no-quorum suspend-io;\n"
4106 " ...\n"
4107 " }\n"
4108
4109 #. type: delimited block -
4110 #, no-wrap
4111 msgid ""
4112 " handlers {\n"
4113 " quorum-lost \"echo b > /proc/sysrq-trigger\";\n"
4114 " }\n"
4115 " ...\n"
4116 "}\n"
4117 msgstr ""
4118 " handlers {\n"
4119 " quorum-lost \"echo b > /proc/sysrq-trigger\";\n"
4120 " }\n"
4121 " ...\n"
4122 "}\n"
4123
4124 #. type: Title ====
4125 #, no-wrap
4126 msgid "Using a diskless node as a tiebreaker"
4127 msgstr "タイブレーカーとしてのディスクレスノードを使用"
4128
4129 #. type: Plain text
4130 msgid ""
4131 "A diskless node with connections to all nodes in a cluster can be utilized "
4132 "to break ties in the quorum negotiation process."
4133 msgstr ""
4134 "クラスタ内のすべてのノードに接続されているディスクレスノードを利用して、"
4135 "クォーラムネゴシエーションプロセスのタイブレークを解消できます。"
4136
4137 #. type: Plain text
4138 msgid ""
4139 "Consider the following two-node cluster, where node A is the primary and "
4140 "node B is a secondary:"
4141 msgstr ""
4142 "ノードAがプライマリで、ノードBがセカンダリである、次の2ノードクラスタを考えま"
4143 "す。"
4144
4145 #. type: Target for macro image
4146 #, no-wrap
4147 msgid "images/quorum-tiebreaker-without.svg"
4148 msgstr "images/quorum-tiebreaker-without.svg"
4149
4150 #. type: Plain text
4151 msgid ""
4152 "As soon as the connection between the two nodes is interrupted, they lose "
4153 "quorum and the application on top of the cluster cannot write data anymore."
4154 msgstr ""
4155 "2つのノード間の接続が失われるとすぐに、2つのノードはクォーラムを失い、クラス"
4156 "タ上のアプリケーションはデータを書き込めなくなります。"
4157
4158 #. type: Target for macro image
4159 #, no-wrap
4160 msgid "images/quorum-tiebreaker-without-disconnect.svg"
4161 msgstr "images/quorum-tiebreaker-without-disconnect.svg"
4162
4163 #. type: Plain text
4164 msgid ""
4165 "Now if we add a third node, C, to the cluster and configure it as diskless, "
4166 "we can take advantage of the tiebreaker mechanism."
4167 msgstr ""
4168 "3番目のノードCをクラスタに追加し、それをディスクレスとして構成すると、タイブ"
4169 "レーカーメカニズムを利用できます。"
4170
4171 #. type: Target for macro image
4172 #, no-wrap
4173 msgid "images/quorum-tiebreaker.svg"
4174 msgstr "images/quorum-tiebreaker.svg"
4175
4176 #. type: Plain text
4177 msgid ""
4178 "In this case, when the primary and secondary nodes lose connection, they can "
4179 "still \"see\" the diskless tiebreaker. Because of this, the primary can "
4180 "continue working, while the secondary demotes its disk to Outdated and the "
4181 "service can therefore not be migrated there."
4182 msgstr ""
4183 "この場合、プライマリノードとセカンダリノードが接続を失っても、両ノードはディ"
4184 "スクレスタイブレーカーとの接続をまだ維持しています。このため、プライマリは機"
4185 "能し続けることができますが、セカンダリはそのディスクをOutdatedに降格させるた"
4186 "め、サービスをそこに移行することはできません。"
4187
4188 #. type: Target for macro image
4189 #, no-wrap
4190 msgid "images/quorum-tiebreaker-disconnect.svg"
4191 msgstr "images/quorum-tiebreaker-disconnect.svg"
4192
4193 #. type: Plain text
4194 msgid ""
4195 "There are a few special cases in case two connections fail. Consider the "
4196 "following scenario:"
4197 msgstr "同時に2つの接続が失われる場合は特別なケースであり、次に説明します。"
4198
4199 #. type: Target for macro image
4200 #, no-wrap
4201 msgid "images/quorum-tiebreaker-disconnect-case2.svg"
4202 msgstr "images/quorum-tiebreaker-disconnect-case2.svg"
4203
4204 #. type: Plain text
4205 msgid ""
4206 "In this case, the tiebreaker node forms a partition with the primary node. "
4207 "The primary therefore keeps quorum, while the secondary becomes outdated. "
4208 "Note that the secondary's disk state will be \"UpToDate\", but regardless it "
4209 "cannot be promoted to primary because it lacks quorum."
4210 msgstr ""
4211 "この場合、タイブレーカーノードはプライマリとパーティションを形成します。その"
4212 "ため、プライマリはクォーラムを維持し、セカンダリは古くなります。セカンダリの"
4213 "ディスクの状態は \"UpToDate\" のままですが、クォーラムがないためにプライマリ"
4214 "に昇格できません。"
4215
4216 #. type: Plain text
4217 msgid ""
4218 "Let's consider the possibility of the primary losing connection to the "
4219 "tiebreaker:"
4220 msgstr "プライマリがタイブレーカーとの接続を失う可能性を考えてみます。"
4221
4222 #. type: Target for macro image
4223 #, no-wrap
4224 msgid "images/quorum-tiebreaker-disconnect-case3.svg"
4225 msgstr "images/quorum-tiebreaker-disconnect-case3.svg"
4226
4227 #. type: Plain text
4228 msgid ""
4229 "In this case, the primary becomes unusable and goes into a \"quorum suspended"
4230 "\" state. This effectively results in the application on top of DRBD "
4231 "receiving I/O errors. A cluster manager could then promote node B to primary "
4232 "and keep the service running there instead."
4233 msgstr ""
4234 "この場合、プライマリは使用できなくなり、\"クォーラム中断\" 状態になります。こ"
4235 "れにより、DRBD上のアプリケーションが I/O エラーを受信します。その後、クラスタ"
4236 "マネージャはノードBをプライマリに昇格させ、代わりにそこでサービスを実行し続け"
4237 "ることができます。"
4238
4239 #. type: Plain text
4240 msgid ""
4241 "In case the diskless tiebreaker \"switches sides\", we need to avoid data "
4242 "divergence. Consider this scenario:"
4243 msgstr ""
4244 "ディスクレスタイブレーカーが \"サイドを切り替える\" 場合、データの相違を避け"
4245 "る必要があります。このシナリオを考えます。"
4246
4247 #. type: Target for macro image
4248 #, no-wrap
4249 msgid "images/quorum-tiebreaker-disconnect-case1a.svg"
4250 msgstr "images/quorum-tiebreaker-disconnect-case1a.svg"
4251
4252 #. type: Plain text
4253 msgid ""
4254 "The connection between the primary and secondary has failed, and the "
4255 "application is continuing to run on the primary, when the primary suddenly "
4256 "loses its connection to the diskless node."
4257 msgstr ""
4258 "プライマリとセカンダリ間の接続が失われ、プライマリのディスクレスノードへの接"
4259 "続が突然失われた場合でも、アプリケーションはプライマリ上で実行を継続していま"
4260 "す。"
4261
4262 #. type: Plain text
4263 msgid ""
4264 "In this case, no node can be promoted to primary and the cluster cannot "
4265 "continue to operate."
4266 msgstr ""
4267 "この場合は、どのノードもプライマリに昇格できず、クラスタは動作を継続できませ"
4268 "ん。"
4269
4270 #. type: delimited block =
4271 msgid ""
4272 "Protecting from data divergence always takes priority over ensuring service "
4273 "availability."
4274 msgstr ""
4275 "データの分離を避けることは、サービスの可用性を確保することよりも常に優先され"
4276 "ます。"
4277
4278 #. type: Plain text
4279 msgid "Let's look at another scenario:"
4280 msgstr "他のシナリオを見てみます。"
4281
4282 #. type: Target for macro image
4283 #, no-wrap
4284 msgid "images/quorum-tiebreaker-disconnect-case2a.svg"
4285 msgstr "images/quorum-tiebreaker-disconnect-case2a.svg"
4286
4287 #. type: Plain text
4288 msgid ""
4289 "Here, the application is running on the primary, while the secondary is "
4290 "unavailable. Then, the tiebreaker first loses connection to the primary, and "
4291 "then reconnects to the secondary. It is important to note here that *a node "
4292 "that has lost quorum cannot regain quorum by connecting to a diskless node*. "
4293 "Thus, in this case, no node has quorum and the cluster halts."
4294 msgstr ""
4295 "ここでは、アプリケーションはプライマリで実行されていますが、セカンダリは利用"
4296 "できません。その後、タイブレーカーはプライマリへの接続を失い、次にセカンダリ"
4297 "に再接続します。ここで重要なのは、クォーラムを失ったノードは、ディスクレス"
4298 "ノードに接続してもクォーラムを取り戻すことはできないことです。したがって、こ"
4299 "の場合、どのノードもクォーラムを持たず、クラスタは停止します。"
4300
4301 #. type: Title ====
4302 #, no-wrap
4303 msgid "Last man standing"
4304 msgstr "ラストマン・スタンディング"
4305
4306 #. type: Plain text
4307 msgid ""
4308 "It needs to be mentioned that nodes that leave a cluster gracefully are "
4309 "counted different than failed nodes. In this context _leaving gracefully_ "
4310 "means that the leaving node marked it's data as Outdated, and that it was "
4311 "able to tell the remaining nodes that it's data is Outdated."
4312 msgstr ""
4313 "クラスタから正常に離脱するノードは、障害が発生したノードとは異なるものとして"
4314 "カウントされることに注意する必要があります。正常に離脱した場合、離脱ノードの"
4315 "データは Outdated(無効状態) としてマークされ、残りのノードにデータが無効状態"
4316 "であることを伝えることができます。"
4317
4318 #. type: Plain text
4319 msgid ""
4320 "In a group of nodes where all disks are Outdated no one in that group can "
4321 "promote to Primary footnote:[The exception is a manual promotion with the --"
4322 "force flag. We assume that one that uses the --force knows what he is "
4323 "doing.]."
4324 msgstr ""
4325 "すべてのディスクが無効状態になっているノードのグループでは、そのグループの誰"
4326 "もプライマリに昇格できません footnote:[例外は -force フラグを使用した手動昇格"
4327 "です。 --force を使用する場合、それが何を意味するかを認識していると仮定しま"
4328 "す。]。"
4329
4330 #. type: Plain text
4331 msgid ""
4332 "An implication is that, if a cluster is left by all but one node, it can "
4333 "keep quorum as long as all the others left in a graceful way. If a single "
4334 "node leaves ungraceful, it has to assume that all away nodes form a "
4335 "partition and have access to up-to-date data. If the other partition might "
4336 "(potentially) be larger than my own partition it looses quorum."
4337 msgstr ""
4338 "つまり、1 つのノードを除くすべてのノードがクラスターから離脱した場合、そのす"
4339 "べてのノードが正常に離脱している限り、クォーラムを維持できます。1 つのノード"
4340 "が正常に離脱しなかった場合、残ったすべてのノードでパティションを形成し、"
4341 "UpToDate データにアクセスすると仮定します。他のパーティションが(潜在的に)自"
4342 "分のパーティションよりも大きい場合、クォーラムを失います。"
4343
4344 #. type: Title ===
4345 #, no-wrap
4346 msgid "Removing DRBD"
4347 msgstr "DRBD の削除"
4348
4349 #. type: Plain text
4350 msgid ""
4351 "For the unlikely case that you want to remove DRBD, here are the necessary "
4352 "steps."
4353 msgstr "DRBD を削除する場合は、以下のステップに従います。"
4354
4355 #. type: Plain text
4356 msgid ""
4357 "Stop the services and unmount the filesystems on top of the DRBD volumes. In "
4358 "case you are using a cluster manager, make sure it ceases to control the "
4359 "services fist."
4360 msgstr ""
4361 "サービスを停止し、DRBD ボリュームのファイルシステムをマウント解除します。クラ"
4362 "スタマネージャを使用している場合は、最初にサービスの制御を停止するようにして"
4363 "ください。"
4364
4365 #. type: Plain text
4366 msgid ""
4367 "Stop the DRBD resource(s) by using `drbdadm down <res>` or `drbdadm down all`"
4368 msgstr ""
4369 "`drbdadm down <res>` または `drbdadm down all` で DRBD リソースを停止します。"
4370
4371 #. type: Plain text
4372 msgid ""
4373 "In case the DRBD resource was using internal meta-data you might choose to "
4374 "resize the filesystem to cover all of the backing device's space. This step "
4375 "effectively removes DRBD's meta-data. This is an action that can not be "
4376 "reversed easily. You can do that with `resize2fs <backing_dev>` for ext[234] "
4377 "family of file systems. It supports resizing of unmounted filesystem and "
4378 "under certain conditions also online grow. XFS can be grown online only with "
4379 "the `xfs_growfs` command."
4380 msgstr ""
4381 "DRBD リソースが内部メタデータを使用していた場合は、ファイルシステムのサイズを"
4382 "変更して、下位デバイスのすべてのスペースをカバーすることができます。この手順"
4383 "により、DRBD のメタデータが効果的に削除されます。これは簡単に元に戻せないアク"
4384 "ションです。ファイルシステムが ext[234] ファミリの場合 `resize2fs "
4385 "<backing_dev>` でそれを行うことができます。マウントされていないファイルシステ"
4386 "ムのサイズ変更と特定の条件下ではオンラインでも対応可能です。 XFS は "
4387 "`xfs_growfs` コマンドを使用してのみオンラインで拡張できます。"
4388
4389 #. type: Plain text
4390 msgid "Mount the backing device(s) directly, start the services on top of them"
4391 msgstr "下位デバイスを直接マウントし、それらの上でサービスを開始します。"
4392
4393 #. type: Plain text
4394 msgid ""
4395 "Unload the drbd kernel driver modules with `rmmod drbd_transport_tcp` and "
4396 "`rmmod drbd`."
4397 msgstr ""
4398 "`rmmod drbd_transport_tcp` と `rmmod drbd` で DRBD カーネルモジュールをアン"
4399 "ロードします。"
4400
4401 #. type: Plain text
4402 msgid "Uninstall the drbd software packages."
4403 msgstr "DRBD ソフトウェアパッケージをアンインストールします。"