Debian Codegraph @

UG9/ja/pacemaker.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: 2021-05-24 08:25+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 #. FIXME
19 #. type: Title ==
20 #, no-wrap
21 msgid "Integrating DRBD with Pacemaker clusters"
22 msgstr "DRBDとPacemakerクラスタ"
23
24 #. type: Plain text
25 msgid ""
26 "indexterm:[Pacemaker]Using DRBD in conjunction with the Pacemaker cluster "
27 "stack is arguably DRBD's most frequently found use case. Pacemaker is also "
28 "one of the applications that make DRBD extremely powerful in a wide variety "
29 "of usage scenarios."
30 msgstr ""
31 "indexterm:[Pacemaker]PacemakerクラスタスタックとDRBDの組み合わせは、もっとも"
32 "多いDRBDの使いみちです。そしてまた、Pacemakerはさまざまな使用シナリオでDRBDを"
33 "非常に強力なものにするアプリケーションの1つです。"
34
35 #. type: Plain text
36 msgid "DRBD can be used in Pacemaker clusters in different ways:"
37 msgstr "DRBD は Pacemaker クラスタでさまざまな方法で使用できます。"
38
39 #. type: Plain text
40 msgid "DRBD running as a background-service, used like a SAN; or"
41 msgstr "DRBDをSANのようにバックグラウンドのサービスとして使用する、または"
42
43 #. type: Plain text
44 msgid "DRBD completely managed by Pacemaker via the DRBD OCF resource agent"
45 msgstr ""
46 "DRBD は DRBD OCF リソースエージェントを介して Pacemaker によって完全に管理さ"
47 "れます。"
48
49 #. type: Plain text
50 msgid ""
51 "Both have a few advantages and disadvantages, these will be discussed below."
52 msgstr "それぞれの長所と短所は後で考察します。"
53
54 #. type: Plain text
55 msgid ""
56 "It's recommended to have either fencing configured or quorum enabled. (But "
57 "not both. External fencing handler results may interact in conflicting ways "
58 "with DRBD internal quorum.) If your cluster has communication issues (e.g. "
59 "network switch loses power) and gets split, the parts might start the "
60 "services (failover) and cause a *Split-Brain* when the communication "
61 "resumes again."
62 msgstr ""
63 "フェンシングを構成するか、またはクォーラムを有効にすることをお勧めします(た"
64 "だし、両方ではありません。外部フェンシングハンドラーの結果は、DRBD 内部クォー"
65 "ラムと競合し相互作用する可能性があります)。クラスタ間の接続が途切れてノード"
66 "が互いを見失うと、両ノードでサービスが開始し(フェイルオーバー)、通信が復帰し"
67 "たタイミングで *スプリットブレイン* が発生する事になります。"
68
69 #. type: Title ===
70 #, no-wrap
71 msgid "Pacemaker primer"
72 msgstr "Pacemakerの基礎"
73
74 #. type: Plain text
75 msgid ""
76 "Pacemaker is a sophisticated, feature-rich, and widely deployed cluster "
77 "resource manager for the Linux platform. It comes with a rich set of "
78 "documentation. In order to understand this chapter, reading the following "
79 "documents is highly recommended:"
80 msgstr ""
81 "PacemakerはLinuxプラットフォーム向けの高度で機能豊富なクラスタリソースマネー"
82 "ジャで、さまざまな用途で使われています。マニュアルも豊富に用意されています。"
83 "この章を理解するために、以下のドキュメントを読むことを強くお勧めします。"
84
85 #. type: Plain text
86 msgid ""
87 "http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf[Clusters From "
88 "Scratch], a step-by-step guide to configuring high availability clusters;"
89 msgstr ""
90 "http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf[Clusters From "
91 "Scratch]:高可用性クラスタ構築ステップバイステップガイド"
92
93 #. type: Plain text
94 msgid ""
95 "http://crmsh.github.io/documentation/index.html[CRM CLI (command line "
96 "interface) tool], a manual for the CRM shell, a simple and intuitive command "
97 "line interface bundled with Pacemaker;"
98 msgstr ""
99 "http://crmsh.github.io/documentation/index.html[CRM CLI (command line "
100 "interface) tool]:CRMのシェルやシンプルかつ直感的なコマンドラインインタフェー"
101 "スのマニュアル"
102
103 #. type: Plain text
104 msgid ""
105 "http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/"
106 "[Pacemaker Configuration Explained], a reference document explaining the "
107 "concept and design behind Pacemaker."
108 msgstr ""
109 "http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/"
110 "[Pacemaker Configuration Explained]:Pacemakerの背景にあるコンセプトや設計を説"
111 "明している参考ドキュメント"
112
113 #. type: Title ===
114 #, no-wrap
115 msgid "Using DRBD as a background service in a pacemaker cluster"
116 msgstr "DRBDをPacemakerクラスタで管理する"
117
118 #. type: Plain text
119 msgid ""
120 "In this section you will see that using autonomous DRBD storage can look "
121 "like local storage; so integrating in a Pacemaker cluster is done by "
122 "pointing your mount points at DRBD."
123 msgstr ""
124 "自律的なDRBDストレージはローカルストレージのように扱えます。Pacemakerクラスタ"
125 "への組み込みは、DRBDのマウントポイントを指定することで行えます。"
126
127 #. type: Plain text
128 msgid ""
129 "First of all, we will use the `auto-promote` feature of DRBD, so that DRBD "
130 "automatically sets itself _Primary_ when needed. This will probably apply to "
131 "all of your resources, so setting that a default in the `common` section "
132 "makes sense:"
133 msgstr ""
134 "初めに、DRBDの `自動プロモーション` 機能を使用しますので、DRBDは必要な時に自"
135 "分自身を `プライマリ` に設定します。この動作はすべてのリソースで同じなので "
136 "`common` セクションで設定しておくとよいでしょう。"
137
138 #. type: delimited block -
139 #, no-wrap
140 msgid ""
141 "common {\n"
142 " options {\n"
143 " auto-promote yes;\n"
144 " ...\n"
145 " }\n"
146 "}\n"
147 msgstr ""
148 "common {\n"
149 " options {\n"
150 " auto-promote yes;\n"
151 " ...\n"
152 " }\n"
153 "}\n"
154
155 #. type: Plain text
156 msgid "Now you just need to use your storage, e.g. via a filesystem:"
157 msgstr "後はファイルシステム経由で使ってストレージにアクセスするだけです。"
158
159 #. type: Block title
160 #, no-wrap
161 msgid "Pacemaker configuration for DRBD-backed MySQL service, using `auto-promote`"
162 msgstr "`自動プロモーション` を使ったDRBDを下位デバイスにするMySQLサービスのPacemaker設定"
163
164 #. type: delimited block -
165 #, no-wrap
166 msgid ""
167 "crm configure\n"
168 "crm(live)configure# primitive fs_mysql ocf:heartbeat:Filesystem \\\n"
169 " params device=\"/dev/drbd/by-res/mysql/0\" \\\n"
170 " directory=\"/var/lib/mysql\" fstype=\"ext3\"\n"
171 "crm(live)configure# primitive ip_mysql ocf:heartbeat:IPaddr2 \\\n"
172 " params ip=\"10.9.42.1\" nic=\"eth0\"\n"
173 "crm(live)configure# primitive mysqld lsb:mysqld\n"
174 "crm(live)configure# group mysql fs_mysql ip_mysql mysqld\n"
175 "crm(live)configure# commit\n"
176 "crm(live)configure# exit\n"
177 "bye\n"
178 msgstr ""
179 "crm configure\n"
180 "crm(live)configure# primitive fs_mysql ocf:heartbeat:Filesystem \\\n"
181 " params device=\"/dev/drbd/by-res/mysql/0\" \\\n"
182 " directory=\"/var/lib/mysql\" fstype=\"ext3\"\n"
183 "crm(live)configure# primitive ip_mysql ocf:heartbeat:IPaddr2 \\\n"
184 " params ip=\"10.9.42.1\" nic=\"eth0\"\n"
185 "crm(live)configure# primitive mysqld lsb:mysqld\n"
186 "crm(live)configure# group mysql fs_mysql ip_mysql mysqld\n"
187 "crm(live)configure# commit\n"
188 "crm(live)configure# exit\n"
189 "bye\n"
190
191 #. type: Plain text
192 msgid ""
193 "Essentially all that is needed is a mountpoint (`/var/lib/mysql` in this "
194 "example) where the DRBD resource gets mounted."
195 msgstr ""
196 "基本的には、必要なのはDRBDリソースがマウントされるマウントポイント(この例で"
197 "は `/var/lib/mysql` )です。"
198
199 #. type: Plain text
200 msgid ""
201 "As long as Pacemaker has control, it will only allow a single instance of "
202 "that mount across your cluster."
203 msgstr "Pacemaker管理下ではクラスタ内で1インスタンスのみがマウント出来ます。"
204
205 #. type: Plain text
206 msgid ""
207 "See also <<s-pacemaker-drbd-attr>> for additional information on ordering "
208 "constraints for system startup and more."
209 msgstr ""
210 "システム起動などの順序の制約に関する追加情報は <<s-pacemaker-drbd-attr>> も参"
211 "照ください。"
212
213 #. type: Title ===
214 #, no-wrap
215 msgid "Adding a DRBD-backed service to the cluster configuration, including a master-slave resource"
216 msgstr "DRBDを下位デバイスにするマスターとスレーブのあるサービスのクラスタ設定"
217
218 #. type: Plain text
219 msgid ""
220 "This section explains how to enable a DRBD-backed service in a Pacemaker "
221 "cluster."
222 msgstr ""
223 "このセクションではPacemakerクラスタでDRBDを下位デバイスにするサービスを使用す"
224 "る方法を説明します。"
225
226 #. type: Plain text
227 msgid ""
228 "If you are employing the DRBD OCF resource agent, it is recommended that you "
229 "defer DRBD startup, shutdown, promotion, and demotion _exclusively_ to the "
230 "OCF resource agent. That means that you should disable the DRBD init script:"
231 msgstr ""
232 "DRBDのOCFリソースエージェントを採用している場合には、DRBDの起動、停止、昇格、"
233 "降格はOCFリソースエージェント _のみ_ で行う事を推奨します。DRBDの自動起動は無"
234 "効にしてください。"
235
236 #. type: delimited block -
237 #, no-wrap
238 msgid "chkconfig drbd off\n"
239 msgstr "chkconfig drbd off\n"
240
241 #. type: Plain text
242 msgid ""
243 "The `ocf:linbit:drbd` OCF resource agent provides Master/Slave capability, "
244 "allowing Pacemaker to start and monitor the DRBD resource on multiple nodes "
245 "and promoting and demoting as needed. You must, however, understand that the "
246 "DRBD RA disconnects and detaches all DRBD resources it manages on Pacemaker "
247 "shutdown, and also upon enabling standby mode for a node."
248 msgstr ""
249 "OCFリソースエージェントの `ocf:linbit:drbd` はマスター/スレーブ管理が可能であ"
250 "り、Pacemakerから複数ノードでのDRBDリソースの起動やモニター、必要な場合には降"
251 "格を行うことができます。ただし、 `drbd` リソースエージェントはPacemakerの"
252 "シャットダウン時、またはノードをスタンバイモードにする時には、管理する全DRBD"
253 "リソースを切断してデタッチを行う事を理解しておく必要があります。"
254
255 #. type: Plain text
256 msgid ""
257 "The OCF resource agent which ships with DRBD belongs to the `linbit` "
258 "provider, and hence installs as `/usr/lib/ocf/resource.d/linbit/drbd`. There "
259 "is a legacy resource agent that ships as part of the OCF resource agents "
260 "package, which uses the `heartbeat` provider and installs into `/usr/lib/ocf/"
261 "resource.d/heartbeat/drbd`. The legacy OCF RA is deprecated and should no "
262 "longer be used."
263 msgstr ""
264 "`linbit` のDRBD付属のOCFリソースエージェントは `/usr/lib/ocf/resource.d/"
265 "linbit/drbd` にインストールされます。`heartbeat` のOCFリソースパッケージに付"
266 "属するレガシーなリソースエージェントは `/usr/lib/ocf/resource.d/heartbeat/"
267 "drbd` にインストールされます。レガシーなOCFリソースエージェントは非推奨なので"
268 "使用しないでください。"
269
270 #. type: Plain text
271 msgid ""
272 "In order to enable a DRBD-backed configuration for a MySQL database in a "
273 "Pacemaker CRM cluster with the `drbd` OCF resource agent, you must create "
274 "both the necessary resources, and Pacemaker constraints to ensure your "
275 "service only starts on a previously promoted DRBD resource. You may do so "
276 "using the `crm` shell, as outlined in the following example:"
277 msgstr ""
278 "`drbd` のOCFリソースエージェントを使用したPacemakerのCRMクラスタで、MySQLデー"
279 "タベースにDRBDの下位デバイス設定を有効にするためには、両方の必要なリソース"
280 "エージェントを作成して、 先行してDRBDリソースが昇格したノードでだけサービスが"
281 "起動するようにPacemakerの制約を設定しなければなりません。以下に示すように、"
282 "`crm` シェルで設定することができます。"
283
284 #. type: Block title
285 #, no-wrap
286 msgid "Pacemaker configuration for DRBD-backed MySQL service, using a `master-slave` resource"
287 msgstr "`マスター/スレーブ` リソースを使ったDRBDを下位デバイスにするMySQLサービスのPacemaker設定"
288
289 #. type: delimited block -
290 #, no-wrap
291 msgid ""
292 "crm configure\n"
293 "crm(live)configure# primitive drbd_mysql ocf:linbit:drbd \\\n"
294 " params drbd_resource=\"mysql\" \\\n"
295 " op monitor interval=\"29s\" role=\"Master\" \\\n"
296 " op monitor interval=\"31s\" role=\"Slave\"\n"
297 "crm(live)configure# ms ms_drbd_mysql drbd_mysql \\\n"
298 " meta master-max=\"1\" master-node-max=\"1\" \\\n"
299 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
300 " notify=\"true\"\n"
301 "crm(live)configure# primitive fs_mysql ocf:heartbeat:Filesystem \\\n"
302 " params device=\"/dev/drbd/by-res/mysql/0\" \\\n"
303 " directory=\"/var/lib/mysql\" fstype=\"ext3\"\n"
304 "crm(live)configure# primitive ip_mysql ocf:heartbeat:IPaddr2 \\\n"
305 " params ip=\"10.9.42.1\" nic=\"eth0\"\n"
306 "crm(live)configure# primitive mysqld lsb:mysqld\n"
307 "crm(live)configure# group mysql fs_mysql ip_mysql mysqld\n"
308 "crm(live)configure# colocation mysql_on_drbd \\\n"
309 " inf: mysql ms_drbd_mysql:Master\n"
310 "crm(live)configure# order mysql_after_drbd \\\n"
311 " inf: ms_drbd_mysql:promote mysql:start\n"
312 "crm(live)configure# commit\n"
313 "crm(live)configure# exit\n"
314 "bye\n"
315 msgstr ""
316 "crm configure\n"
317 "crm(live)configure# primitive drbd_mysql ocf:linbit:drbd \\\n"
318 " params drbd_resource=\"mysql\" \\\n"
319 " op monitor interval=\"29s\" role=\"Master\" \\\n"
320 " op monitor interval=\"31s\" role=\"Slave\"\n"
321 "crm(live)configure# ms ms_drbd_mysql drbd_mysql \\\n"
322 " meta master-max=\"1\" master-node-max=\"1\" \\\n"
323 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
324 " notify=\"true\"\n"
325 "crm(live)configure# primitive fs_mysql ocf:heartbeat:Filesystem \\\n"
326 " params device=\"/dev/drbd/by-res/mysql/0\" \\\n"
327 " directory=\"/var/lib/mysql\" fstype=\"ext3\"\n"
328 "crm(live)configure# primitive ip_mysql ocf:heartbeat:IPaddr2 \\\n"
329 " params ip=\"10.9.42.1\" nic=\"eth0\"\n"
330 "crm(live)configure# primitive mysqld lsb:mysqld\n"
331 "crm(live)configure# group mysql fs_mysql ip_mysql mysqld\n"
332 "crm(live)configure# colocation mysql_on_drbd \\\n"
333 " inf: mysql ms_drbd_mysql:Master\n"
334 "crm(live)configure# order mysql_after_drbd \\\n"
335 " inf: ms_drbd_mysql:promote mysql:start\n"
336 "crm(live)configure# commit\n"
337 "crm(live)configure# exit\n"
338 "bye\n"
339
340 #. type: Plain text
341 msgid ""
342 "After this, your configuration should be enabled. Pacemaker now selects a "
343 "node on which it promotes the DRBD resource, and then starts the DRBD-backed "
344 "resource group on that same node."
345 msgstr ""
346 "これで設定が有効になります。そしてPacemakerがDRBDリソースを昇格するノードを選"
347 "び、そのノードでDRBDを下位デバイスにするリソースを起動します。"
348
349 #. type: Plain text
350 msgid ""
351 "See also <<s-pacemaker-drbd-attr>> for additional information on location "
352 "contraints for placing the Master role."
353 msgstr ""
354 "Master role を配置するための location 制約に関する追加情報は <<s-pacemaker-"
355 "drbd-attr>> も参照ください。"
356
357 #. type: Title ===
358 #, no-wrap
359 msgid "Using resource-level fencing in Pacemaker clusters"
360 msgstr "Pacemakerクラスタでリソースレベルのフェンシングを使用する"
361
362 #. type: Plain text
363 msgid ""
364 "This section outlines the steps necessary to prevent Pacemaker from "
365 "promoting a DRBD Master/Slave resource when its DRBD replication link has "
366 "been interrupted. This keeps Pacemaker from starting a service with outdated "
367 "data and causing an unwanted \"time warp\" in the process."
368 msgstr ""
369 "ここでは、DRBDのレプリケーションリンクが遮断された場合に、Pacemakerが `drbd` "
370 "マスター/スレーブリソースを昇格させないようにするために必要な手順の概要を説明"
371 "します。これにより、Pacemakerが古いデータでサービスを開始し、プロセスでの不要"
372 "な「タイムワープ」の原因になることが回避できます。"
373
374 #. type: Plain text
375 msgid ""
376 "In order to enable any resource-level fencing for DRBD, you must add the "
377 "following lines to your resource configuration:"
378 msgstr ""
379 "DRBD用のリソースレベルのフェンシングを有効にするには、リソース設定で次の行を"
380 "追加する必要があります。"
381
382 #. type: delimited block -
383 #, no-wrap
384 msgid ""
385 "resource <resource> {\n"
386 " net {\n"
387 " fencing resource-only;\n"
388 " ...\n"
389 " }\n"
390 "}\n"
391 msgstr ""
392 "resource <resource> {\n"
393 " net {\n"
394 " fencing resource-only;\n"
395 " ...\n"
396 " }\n"
397 "}\n"
398
399 #. type: Plain text
400 msgid ""
401 "You will also have to make changes to the `handlers` section depending on "
402 "the cluster infrastructure being used."
403 msgstr ""
404 "同時に、使用するクラスタインフラストラクチャによっては `handlers` セクション"
405 "も変更しなければなりません。"
406
407 #. type: Plain text
408 msgid ""
409 "Corosync-based Pacemaker clusters can use the functionality explained in <<s-"
410 "pacemaker-fencing-cib>>."
411 msgstr ""
412 "Corosync を使用したクラスタは <<s-pacemaker-fencing-cib>>で説明されている機能"
413 "を使うことができます。"
414
415 #. type: Plain text
416 msgid ""
417 "It is absolutely vital to configure at least two independent cluster "
418 "communications channels for this functionality to work correctly. Corosync "
419 "clusters should list at least two redundant rings in `corosync.conf`, "
420 "respectively several paths for knet."
421 msgstr ""
422 "最低でも2つの独立したクラスタ通信チャネルを設定しなければ、この機能は正しく動"
423 "作しません。Corosync クラスタでは最低 2 つの冗長リング、それぞれ knet のいく"
424 "つかのパスを `corosync.conf` に記載しなければなりません。"
425
426 #. type: Title ====
427 #, no-wrap
428 msgid "Resource-level fencing using the Cluster Information Base (CIB)"
429 msgstr "CIB (Cluster Information Base)を使ったリソースレベルフェンシング"
430
431 #. type: Plain text
432 msgid ""
433 "In order to enable resource-level fencing for Pacemaker, you will have to "
434 "set two options in `drbd.conf`:"
435 msgstr ""
436 "Pacemaker用のリソースレベルフェンシングを有効にするには、 `drbd.conf` の2つの"
437 "オプション設定をする必要があります。"
438
439 #. type: delimited block -
440 #, no-wrap
441 msgid ""
442 "resource <resource> {\n"
443 " net {\n"
444 " fencing resource-only;\n"
445 " ...\n"
446 " }\n"
447 " handlers {\n"
448 " fence-peer \"/usr/lib/drbd/crm-fence-peer.9.sh\";\n"
449 " unfence-peer \"/usr/lib/drbd/crm-unfence-peer.9.sh\";\n"
450 " # Note: we used to abuse the after-resync-target handler to do the\n"
451 " # unfence, but since 2016 have a dedicated unfence-peer handler.\n"
452 " # Using the after-resync-target handler is wrong in some corner cases.\n"
453 " ...\n"
454 " }\n"
455 " ...\n"
456 "}\n"
457 msgstr ""
458 "resource <resource> {\n"
459 " net {\n"
460 " fencing resource-only;\n"
461 " ...\n"
462 " }\n"
463 " handlers {\n"
464 " fence-peer \"/usr/lib/drbd/crm-fence-peer.9.sh\";\n"
465 " unfence-peer \"/usr/lib/drbd/crm-unfence-peer.9.sh\";\n"
466 " # Note: we used to abuse the after-resync-target handler to do the\n"
467 " # unfence, but since 2016 have a dedicated unfence-peer handler.\n"
468 " # Using the after-resync-target handler is wrong in some corner cases.\n"
469 " ...\n"
470 " }\n"
471 " ...\n"
472 "}\n"
473
474 #. type: Plain text
475 msgid ""
476 "Thus, if the DRBD replication link becomes disconnected, the `crm-fence-"
477 "peer.9.sh` script contacts the cluster manager, determines the Pacemaker "
478 "Master/Slave resource associated with this DRBD resource, and ensures that "
479 "the Master/Slave resource no longer gets promoted on any node other than the "
480 "currently active one. Conversely, when the connection is re-established and "
481 "DRBD completes its synchronization process, then that constraint is removed "
482 "and the cluster manager is free to promote the resource on any node again."
483 msgstr ""
484 "DRBDレプリケーションリンクが切断された場合には `crm-fence-peer.sh` スクリプト"
485 "がクラスタ管理システムに連絡し、このDRBDリソースに関連付けられたPacemakerのマ"
486 "スター/スレーブリソースが決定され、現在アクティブなノード以外のすべてのノード"
487 "でマスター/スレーブリソースが昇格されることがないようにします。逆に、接続が再"
488 "確立してDRBDが同期プロセスが完了すると、この制約は解除され、クラスタ管理シス"
489 "テムは再び任意のノードのリソースを自由に昇格させることができます。"
490
491 #. type: Title ===
492 #, no-wrap
493 msgid "Using stacked DRBD resources in Pacemaker clusters"
494 msgstr "PacemakerクラスタでスタックDRBDリソースを使用する"
495
496 #. type: Plain text
497 msgid ""
498 "Stacking is deprecated in DRBD version 9.x, as more nodes can be implemented "
499 "on a single level. See <<s-drbdconf-conns>> for details."
500 msgstr ""
501 "DRBD9.xでは1つの階層で複数ノードを使用できるのでスタッキングは非推奨です。詳"
502 "細は <<s-drbdconf-conns>>をご参照ください。"
503
504 #. type: Plain text
505 msgid ""
506 "Stacked resources allow DRBD to be used for multi-level redundancy in "
507 "multiple-node clusters, or to establish off-site disaster recovery "
508 "capability. This section describes how to configure DRBD and Pacemaker in "
509 "such configurations."
510 msgstr ""
511 "スタックリソースを用いるとマルチノードクラスタの多重冗長性やオフサイトのディ"
512 "ザスタリカバリ機能を実現するためにDRBDを利用できます。本セクションではそのよ"
513 "うな構成におけるDRBDおよびPacemakerの設定方法について説明します。"
514
515 #. type: Title ====
516 #, no-wrap
517 msgid "Adding off-site disaster recovery to Pacemaker clusters"
518 msgstr "オフサイトディザスタリカバリ機能をPacemakerクラスタに追加する"
519
520 #. type: Plain text
521 msgid ""
522 "In this configuration scenario, we would deal with a two-node high "
523 "availability cluster in one site, plus a separate node which would "
524 "presumably be housed off-site. The third node acts as a disaster recovery "
525 "node and is a standalone server. Consider the following illustration to "
526 "describe the concept."
527 msgstr ""
528 "この構成シナリオでは、1つのサイトの2ノードの高可用性クラスタと、多くは別のサ"
529 "イトに設置する独立した1つのノードについて説明します。第3のノードは、ディザス"
530 "タリカバリノードとして機能するスタンドアロンサーバです。次の図で概念を説明し"
531 "ます。"
532
533 #. type: Block title
534 #, no-wrap
535 msgid "DRBD resource stacking in Pacemaker clusters"
536 msgstr "PacemakerクラスタのDRBDリソースのスタック"
537
538 #. type: Target for macro image
539 #, no-wrap
540 msgid "images/drbd-resource-stacking-pacemaker-3nodes.svg"
541 msgstr "images/drbd-resource-stacking-pacemaker-3nodes.svg"
542
543 #. type: Plain text
544 msgid ""
545 "In this example, 'alice' and 'bob' form a two-node Pacemaker cluster, "
546 "whereas 'charlie' is an off-site node not managed by Pacemaker."
547 msgstr ""
548 "この例では `alice` と `bob` が2ノードのPacemakerクラスタを構成し、 `charlie` "
549 "はPacemakerで管理されないオフサイトのノードです。"
550
551 #. type: Plain text
552 msgid ""
553 "To create such a configuration, you would first configure and initialize "
554 "DRBD resources as described in <<s-three-nodes>>. Then, configure Pacemaker "
555 "with the following CRM configuration:"
556 msgstr ""
557 "このような構成を作成するには、<<s-three-nodes>>の説明に従って、まずDRBDリソー"
558 "スを設定と初期化を行います。そして、次のCRM構成でPacemakerを設定します。"
559
560 #. type: delimited block -
561 #, no-wrap
562 msgid ""
563 "primitive p_drbd_r0 ocf:linbit:drbd \\\n"
564 "\tparams drbd_resource=\"r0\"\n"
565 msgstr ""
566 "primitive p_drbd_r0 ocf:linbit:drbd \\\n"
567 "\tparams drbd_resource=\"r0\"\n"
568
569 #. type: delimited block -
570 #, no-wrap
571 msgid ""
572 "primitive p_drbd_r0-U ocf:linbit:drbd \\\n"
573 "\tparams drbd_resource=\"r0-U\"\n"
574 msgstr ""
575 "primitive p_drbd_r0-U ocf:linbit:drbd \\\n"
576 "\tparams drbd_resource=\"r0-U\"\n"
577
578 #. type: delimited block -
579 #, no-wrap
580 msgid ""
581 "primitive p_ip_stacked ocf:heartbeat:IPaddr2 \\\n"
582 "\tparams ip=\"192.168.42.1\" nic=\"eth0\"\n"
583 msgstr ""
584 "primitive p_ip_stacked ocf:heartbeat:IPaddr2 \\\n"
585 "\tparams ip=\"192.168.42.1\" nic=\"eth0\"\n"
586
587 #. type: delimited block -
588 #, no-wrap
589 msgid ""
590 "ms ms_drbd_r0 p_drbd_r0 \\\n"
591 "\tmeta master-max=\"1\" master-node-max=\"1\" \\\n"
592 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
593 " notify=\"true\" globally-unique=\"false\"\n"
594 msgstr ""
595 "ms ms_drbd_r0 p_drbd_r0 \\\n"
596 "\tmeta master-max=\"1\" master-node-max=\"1\" \\\n"
597 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
598 " notify=\"true\" globally-unique=\"false\"\n"
599
600 #. type: delimited block -
601 #, no-wrap
602 msgid ""
603 "ms ms_drbd_r0-U p_drbd_r0-U \\\n"
604 "\tmeta master-max=\"1\" clone-max=\"1\" \\\n"
605 " clone-node-max=\"1\" master-node-max=\"1\" \\\n"
606 " notify=\"true\" globally-unique=\"false\"\n"
607 msgstr ""
608 "ms ms_drbd_r0-U p_drbd_r0-U \\\n"
609 "\tmeta master-max=\"1\" clone-max=\"1\" \\\n"
610 " clone-node-max=\"1\" master-node-max=\"1\" \\\n"
611 " notify=\"true\" globally-unique=\"false\"\n"
612
613 #. type: delimited block -
614 #, no-wrap
615 msgid ""
616 "colocation c_drbd_r0-U_on_drbd_r0 \\\n"
617 " inf: ms_drbd_r0-U ms_drbd_r0:Master\n"
618 msgstr ""
619 "colocation c_drbd_r0-U_on_drbd_r0 \\\n"
620 " inf: ms_drbd_r0-U ms_drbd_r0:Master\n"
621
622 #. type: delimited block -
623 #, no-wrap
624 msgid ""
625 "colocation c_drbd_r0-U_on_ip \\\n"
626 " inf: ms_drbd_r0-U p_ip_stacked\n"
627 msgstr ""
628 "colocation c_drbd_r0-U_on_ip \\\n"
629 " inf: ms_drbd_r0-U p_ip_stacked\n"
630
631 #. type: delimited block -
632 #, no-wrap
633 msgid ""
634 "colocation c_ip_on_r0_master \\\n"
635 " inf: p_ip_stacked ms_drbd_r0:Master\n"
636 msgstr ""
637 "colocation c_ip_on_r0_master \\\n"
638 " inf: p_ip_stacked ms_drbd_r0:Master\n"
639
640 #. type: delimited block -
641 #, no-wrap
642 msgid ""
643 "order o_ip_before_r0-U \\\n"
644 " inf: p_ip_stacked ms_drbd_r0-U:start\n"
645 msgstr ""
646 "order o_ip_before_r0-U \\\n"
647 " inf: p_ip_stacked ms_drbd_r0-U:start\n"
648
649 #. type: delimited block -
650 #, no-wrap
651 msgid ""
652 "order o_drbd_r0_before_r0-U \\\n"
653 " inf: ms_drbd_r0:promote ms_drbd_r0-U:start\n"
654 msgstr ""
655 "order o_drbd_r0_before_r0-U \\\n"
656 " inf: ms_drbd_r0:promote ms_drbd_r0-U:start\n"
657
658 #. type: Plain text
659 msgid ""
660 "Assuming you created this configuration in a temporary file named `/tmp/crm."
661 "txt`, you may import it into the live cluster configuration with the "
662 "following command:"
663 msgstr ""
664 "この構成を `/tmp/crm.txt` という一時ファイルに保存し、次のコマンドで現在のク"
665 "ラスタにインポートします。"
666
667 #. type: delimited block -
668 #, no-wrap
669 msgid "crm configure < /tmp/crm.txt\n"
670 msgstr "crm configure < /tmp/crm.txt\n"
671
672 #. type: Plain text
673 msgid ""
674 "This configuration will ensure that the following actions occur in the "
675 "correct order on the 'alice'/'bob' cluster:"
676 msgstr ""
677 "この設定により、次の操作が正しい順序で `alice` と `bob` クラスタで行われま"
678 "す。"
679
680 #. type: Plain text
681 msgid ""
682 "Pacemaker starts the DRBD resource `r0` on both cluster nodes, and promotes "
683 "one node to the Master (DRBD Primary) role."
684 msgstr ""
685 "PacemakerはDRBDリソース `r0` を両クラスタノードで開始し、1つのノードをマス"
686 "ター(DRBD Primary)ロールに昇格させます。"
687
688 #. type: Plain text
689 msgid ""
690 "Pacemaker then starts the IP address 192.168.42.1, which the stacked "
691 "resource is to use for replication to the third node. It does so on the node "
692 "it has previously promoted to the Master role for `r0` DRBD resource."
693 msgstr ""
694 "PacemakerはIPアドレス192.168.42.1の、第3ノードへのレプリケーションに使用する"
695 "スタックリソースを開始します。これは、 `r0` DRBDリソースのマスターロールに昇"
696 "格したノードで行われます。"
697
698 #. type: Plain text
699 msgid ""
700 "On the node which now has the Primary role for `r0` and also the replication "
701 "IP address for `r0-U`, Pacemaker now starts the `r0-U` DRBD resource, which "
702 "connects and replicates to the off-site node."
703 msgstr ""
704 "`r0` がプライマリになっていて、かつ、r0-U のレプリケーション用IPアドレスを持"
705 "つノードで、Pacemakerはオフサイトノードに接続およびレプリケートを行う `r0-U` "
706 "DRBDリソースを開始します。"
707
708 #. type: Plain text
709 msgid ""
710 "Pacemaker then promotes the `r0-U` resource to the Primary role too, so it "
711 "can be used by an application."
712 msgstr ""
713 "最後に、Pacemakerが `r0-U` リソースもプライマリロールに昇格させるため、ディザ"
714 "スタリカバリノードとのレプリケーションが始まります。"
715
716 #. type: Plain text
717 msgid ""
718 "Thus, this Pacemaker configuration ensures that there is not only full data "
719 "redundancy between cluster nodes, but also to the third, off-site node."
720 msgstr ""
721 "このように、このPacemaker構成では、クラスタノード間だけではなく第3のオフサイ"
722 "トノードでも完全なデータ冗長性が確保されます。"
723
724 #. type: Plain text
725 msgid ""
726 "This type of setup is usually deployed together with <<s-drbd-proxy,DRBD "
727 "Proxy>>."
728 msgstr ""
729 "このタイプの設定には通常、<<s-drbd-proxy,DRBD Proxy>>と合わせて使用するのが一"
730 "般的です。"
731
732 #. type: Title ====
733 #, no-wrap
734 msgid "Using stacked resources to achieve 4-way redundancy in Pacemaker clusters"
735 msgstr "スタックリソースを使って、Pacemakerクラスタの4ノード冗長化を実現する"
736
737 #. type: Plain text
738 msgid ""
739 "In this configuration, a total of three DRBD resources (two unstacked, one "
740 "stacked) are used to achieve 4-way storage redundancy. This means that of a "
741 "4-node cluster, up to three nodes can fail while still providing service "
742 "availability."
743 msgstr ""
744 "この構成では、全部で3つのDRBDリソース(2つの非スタック、1つのスタック)を使っ"
745 "て、4ノードのストレージ冗長化を実現します。4ノードクラスタの目的と意義は、3"
746 "ノードまで障害が発生しても、可用なサービスを提供し続けることが可能であること"
747 "です。"
748
749 #. type: Plain text
750 msgid "Consider the following illustration to explain the concept."
751 msgstr "次の例で概念を説明します。"
752
753 #. type: Target for macro image
754 #, no-wrap
755 msgid "images/drbd-resource-stacking-pacemaker-4nodes.svg"
756 msgstr "images/drbd-resource-stacking-pacemaker-4nodes.svg"
757
758 #. type: Plain text
759 msgid ""
760 "In this example, 'alice', 'bob', 'charlie', and 'daisy' form two two-node "
761 "Pacemaker clusters. 'alice' and 'bob' form the cluster named `left` and "
762 "replicate data using a DRBD resource between them, while 'charlie' and "
763 "'daisy' do the same with a separate DRBD resource, in a cluster named "
764 "`right`. A third, stacked DRBD resource connects the two clusters."
765 msgstr ""
766 "この例では、 `alice` と `bob` ならびに `charlie` と `daisy` が2セットの2ノー"
767 "ドPacemakerクラスタを構成しています。`alice` と `bob` は `left` という名前の"
768 "クラスタを構成し、互いにDRBDリソースを使ってデータをレプリケートします。一方 "
769 "`charlie` と `daisy` も同様に、 `right` という名前の別のDRBDリソースでレプリ"
770 "ケートします。3番目に、DRBDリソースをスタックし、2つのクラスタを接続します。"
771
772 #. type: Plain text
773 msgid ""
774 "Due to limitations in the Pacemaker cluster manager as of Pacemaker version "
775 "1.0.5, it is not possible to create this setup in a single four-node cluster "
776 "without disabling CIB validation, which is an advanced process not "
777 "recommended for general-purpose use. It is anticipated that this is being "
778 "addressed in future Pacemaker releases."
779 msgstr ""
780 "Pacemakerバージョン1.0.5のPacemakerクラスタの制限により、CIBバリデーションを"
781 "有効にしたままで4ノードクラスタをつくることはできません。CIBバリデーションは"
782 "汎用的に使うのには向かない特殊な高度な処理です。これは、今後のPacemakerのリ"
783 "リースで解決されることが予想されます。"
784
785 #. type: Plain text
786 msgid ""
787 "To create such a configuration, you would first configure and initialize "
788 "DRBD resources as described in <<s-three-nodes>> (except that the remote "
789 "half of the DRBD configuration is also stacked, not just the local cluster). "
790 "Then, configure Pacemaker with the following CRM configuration, starting "
791 "with the cluster `left`:"
792 msgstr ""
793 "このような構成を作成するには、<<s-three-nodes>>の説明に従って、まずDRBDリソー"
794 "スを設定して初期化します(ただし、ローカルがクラスタになるだけでなく、リモート"
795 "側にもクラスタになる点が異なります)。そして、次のCRM構成でPacemakerを設定"
796 "し、 `left` クラスタを開始します。"
797
798 #. type: delimited block -
799 #, no-wrap
800 msgid ""
801 "primitive p_drbd_left ocf:linbit:drbd \\\n"
802 "\tparams drbd_resource=\"left\"\n"
803 msgstr ""
804 "primitive p_drbd_left ocf:linbit:drbd \\\n"
805 "\tparams drbd_resource=\"left\"\n"
806
807 #. type: delimited block -
808 #, no-wrap
809 msgid ""
810 "primitive p_drbd_stacked ocf:linbit:drbd \\\n"
811 "\tparams drbd_resource=\"stacked\"\n"
812 msgstr ""
813 "primitive p_drbd_stacked ocf:linbit:drbd \\\n"
814 "\tparams drbd_resource=\"stacked\"\n"
815
816 #. type: delimited block -
817 #, no-wrap
818 msgid ""
819 "primitive p_ip_stacked_left ocf:heartbeat:IPaddr2 \\\n"
820 "\tparams ip=\"10.9.9.100\" nic=\"eth0\"\n"
821 msgstr ""
822 "primitive p_ip_stacked_left ocf:heartbeat:IPaddr2 \\\n"
823 "\tparams ip=\"10.9.9.100\" nic=\"eth0\"\n"
824
825 #. type: delimited block -
826 #, no-wrap
827 msgid ""
828 "ms ms_drbd_left p_drbd_left \\\n"
829 "\tmeta master-max=\"1\" master-node-max=\"1\" \\\n"
830 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
831 " notify=\"true\"\n"
832 msgstr ""
833 "ms ms_drbd_left p_drbd_left \\\n"
834 "\tmeta master-max=\"1\" master-node-max=\"1\" \\\n"
835 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
836 " notify=\"true\"\n"
837
838 #. type: delimited block -
839 #, no-wrap
840 msgid ""
841 "ms ms_drbd_stacked p_drbd_stacked \\\n"
842 "\tmeta master-max=\"1\" clone-max=\"1\" \\\n"
843 " clone-node-max=\"1\" master-node-max=\"1\" \\\n"
844 " notify=\"true\" target-role=\"Master\"\n"
845 msgstr ""
846 "ms ms_drbd_stacked p_drbd_stacked \\\n"
847 "\tmeta master-max=\"1\" clone-max=\"1\" \\\n"
848 " clone-node-max=\"1\" master-node-max=\"1\" \\\n"
849 " notify=\"true\" target-role=\"Master\"\n"
850
851 #. type: delimited block -
852 #, no-wrap
853 msgid ""
854 "colocation c_ip_on_left_master \\\n"
855 " inf: p_ip_stacked_left ms_drbd_left:Master\n"
856 msgstr ""
857 "colocation c_ip_on_left_master \\\n"
858 " inf: p_ip_stacked_left ms_drbd_left:Master\n"
859
860 #. type: delimited block -
861 #, no-wrap
862 msgid ""
863 "colocation c_drbd_stacked_on_ip_left \\\n"
864 " inf: ms_drbd_stacked p_ip_stacked_left\n"
865 msgstr ""
866 "colocation c_drbd_stacked_on_ip_left \\\n"
867 " inf: ms_drbd_stacked p_ip_stacked_left\n"
868
869 #. type: delimited block -
870 #, no-wrap
871 msgid ""
872 "order o_ip_before_stacked_left \\\n"
873 " inf: p_ip_stacked_left ms_drbd_stacked:start\n"
874 msgstr ""
875 "order o_ip_before_stacked_left \\\n"
876 " inf: p_ip_stacked_left ms_drbd_stacked:start\n"
877
878 #. type: delimited block -
879 #, no-wrap
880 msgid ""
881 "order o_drbd_left_before_stacked_left \\\n"
882 " inf: ms_drbd_left:promote ms_drbd_stacked:start\n"
883 msgstr ""
884 "order o_drbd_left_before_stacked_left \\\n"
885 " inf: ms_drbd_left:promote ms_drbd_stacked:start\n"
886
887 #. type: Plain text
888 msgid ""
889 "After adding this configuration to the CIB, Pacemaker will execute the "
890 "following actions:"
891 msgstr "CIBに上記の設定を投入すると、Pacemakerは以下のアクションを実行します。"
892
893 #. type: Plain text
894 msgid ""
895 "Bring up the DRBD resource `left` replicating between 'alice' and 'bob' "
896 "promoting the resource to the Master role on one of these nodes."
897 msgstr ""
898 "`alice` と `bob` をレプリケートするリソース `left` を起動し、いずれかのノード"
899 "をマスターに昇格します。"
900
901 #. type: Plain text
902 msgid ""
903 "Bring up the IP address 10.9.9.100 (on either 'alice' or 'bob', depending on "
904 "which of these holds the Master role for the resource `left`)."
905 msgstr ""
906 "IPアドレス10.9.9.100 ( `alice` または `bob` 、いずれかのリソース `left` のマ"
907 "スターロールを担っている方)を起動します。"
908
909 #. type: Plain text
910 msgid ""
911 "Bring up the DRBD resource `stacked` on the same node that holds the just-"
912 "configured IP address."
913 msgstr ""
914 "IPアドレスを設定したのと同じノード上で、DRBDリソース `stacked` が起動します。"
915
916 #. type: Plain text
917 msgid "Promote the stacked DRBD resource to the Primary role."
918 msgstr ""
919 "target-role=\"Master\"が指定されているため、スタックリソースがプライマリにな"
920 "ります。"
921
922 #. type: Plain text
923 msgid ""
924 "Now, proceed on the cluster `right` by creating the following configuration:"
925 msgstr "さて、以下の設定を作り、クラスタ `right` に進みましょう。"
926
927 #. type: delimited block -
928 #, no-wrap
929 msgid ""
930 "primitive p_drbd_right ocf:linbit:drbd \\\n"
931 "\tparams drbd_resource=\"right\"\n"
932 msgstr ""
933 "primitive p_drbd_right ocf:linbit:drbd \\\n"
934 "\tparams drbd_resource=\"right\"\n"
935
936 #. type: delimited block -
937 #, no-wrap
938 msgid ""
939 "primitive p_ip_stacked_right ocf:heartbeat:IPaddr2 \\\n"
940 "\tparams ip=\"10.9.10.101\" nic=\"eth0\"\n"
941 msgstr ""
942 "primitive p_ip_stacked_right ocf:heartbeat:IPaddr2 \\\n"
943 "\tparams ip=\"10.9.10.101\" nic=\"eth0\"\n"
944
945 #. type: delimited block -
946 #, no-wrap
947 msgid ""
948 "ms ms_drbd_right p_drbd_right \\\n"
949 "\tmeta master-max=\"1\" master-node-max=\"1\" \\\n"
950 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
951 " notify=\"true\"\n"
952 msgstr ""
953 "ms ms_drbd_right p_drbd_right \\\n"
954 "\tmeta master-max=\"1\" master-node-max=\"1\" \\\n"
955 " clone-max=\"2\" clone-node-max=\"1\" \\\n"
956 " notify=\"true\"\n"
957
958 #. type: delimited block -
959 #, no-wrap
960 msgid ""
961 "ms ms_drbd_stacked p_drbd_stacked \\\n"
962 "\tmeta master-max=\"1\" clone-max=\"1\" \\\n"
963 " clone-node-max=\"1\" master-node-max=\"1\" \\\n"
964 " notify=\"true\" target-role=\"Slave\"\n"
965 msgstr ""
966 "ms ms_drbd_stacked p_drbd_stacked \\\n"
967 "\tmeta master-max=\"1\" clone-max=\"1\" \\\n"
968 " clone-node-max=\"1\" master-node-max=\"1\" \\\n"
969 " notify=\"true\" target-role=\"Slave\"\n"
970
971 #. type: delimited block -
972 #, no-wrap
973 msgid ""
974 "colocation c_drbd_stacked_on_ip_right \\\n"
975 " inf: ms_drbd_stacked p_ip_stacked_right\n"
976 msgstr ""
977 "colocation c_drbd_stacked_on_ip_right \\\n"
978 " inf: ms_drbd_stacked p_ip_stacked_right\n"
979
980 #. type: delimited block -
981 #, no-wrap
982 msgid ""
983 "colocation c_ip_on_right_master \\\n"
984 " inf: p_ip_stacked_right ms_drbd_right:Master\n"
985 msgstr ""
986 "colocation c_ip_on_right_master \\\n"
987 " inf: p_ip_stacked_right ms_drbd_right:Master\n"
988
989 #. type: delimited block -
990 #, no-wrap
991 msgid ""
992 "order o_ip_before_stacked_right \\\n"
993 " inf: p_ip_stacked_right ms_drbd_stacked:start\n"
994 msgstr ""
995 "order o_ip_before_stacked_right \\\n"
996 " inf: p_ip_stacked_right ms_drbd_stacked:start\n"
997
998 #. type: delimited block -
999 #, no-wrap
1000 msgid ""
1001 "order o_drbd_right_before_stacked_right \\\n"
1002 " inf: ms_drbd_right:promote ms_drbd_stacked:start\n"
1003 msgstr ""
1004 "order o_drbd_right_before_stacked_right \\\n"
1005 " inf: ms_drbd_right:promote ms_drbd_stacked:start\n"
1006
1007 #. type: Plain text
1008 msgid ""
1009 "Bring up the DRBD resource `right` replicating between 'charlie' and "
1010 "'daisy', promoting the resource to the Master role on one of these nodes."
1011 msgstr ""
1012 "`charlie` と `daisy` 間をレプリケートするDRBDリソース `right` を起動し、これ"
1013 "らのノードのいずれかをマスターにします。"
1014
1015 #. type: Plain text
1016 msgid ""
1017 "Bring up the IP address 10.9.10.101 (on either 'charlie' or 'daisy', "
1018 "depending on which of these holds the Master role for the resource `right`)."
1019 msgstr ""
1020 "IPアドレス10.9.10.101を開始します( `charlie` または `daisy` のいずれかのリ"
1021 "ソース `right` のマスターロールを担っている方)を起動します)。"
1022
1023 #. type: Plain text
1024 msgid ""
1025 "Leave the stacked DRBD resource in the Secondary role (due to `target-role="
1026 "\"Slave\"`)."
1027 msgstr ""
1028 "`target-role=\"Slave\"` が指定されているため、スタックリソースはセカンダリの"
1029 "ままになります。"
1030
1031 #. type: Title ===
1032 #, no-wrap
1033 msgid "Configuring DRBD to replicate between two SAN-backed Pacemaker clusters"
1034 msgstr "2セットのSANベースPacemakerクラスタ間をDRBDでレプリケート"
1035
1036 #. type: Plain text
1037 msgid ""
1038 "indexterm:[IP address, floating peers]This is a somewhat advanced setup "
1039 "usually employed in split-site configurations. It involves two separate "
1040 "Pacemaker clusters, where each cluster has access to a separate Storage Area "
1041 "Network (SAN). DRBD is then used to replicate data stored on that SAN, "
1042 "across an IP link between sites."
1043 msgstr ""
1044 "これは、拠点が離れた構成に用いるやや高度な設定です。2つのクラスタが関与します"
1045 "が、それぞれのクラスタは別々のSANストレージにアクセスします。サイト間のIPネッ"
1046 "トワークを使って2つのSANストレージのデータを同期させるためにDRBDを使います。"
1047
1048 #. type: Plain text
1049 msgid "Consider the following illustration to describe the concept."
1050 msgstr "次の図で概念を説明します。"
1051
1052 #. type: Block title
1053 #, no-wrap
1054 msgid "Using DRBD to replicate between SAN-based clusters"
1055 msgstr "SANベースのクラスタ間のレプリケートにDRBDを用いる"
1056
1057 #. type: Target for macro image
1058 #, no-wrap
1059 msgid "images/drbd-pacemaker-floating-peers.svg"
1060 msgstr "images/drbd-pacemaker-floating-peers.svg"
1061
1062 #. type: Plain text
1063 msgid ""
1064 "Which of the individual nodes in each site currently acts as the DRBD peer "
1065 "is not explicitly defined -- the DRBD peers <<s-floating-peers,are said to "
1066 "_float_>>; that is, DRBD binds to virtual IP addresses not tied to a "
1067 "specific physical machine."
1068 msgstr ""
1069 "このような構成の場合、DRBDの通信にかかわるホストをあらかじめ明示的に指定して"
1070 "おくことは不可能です。つまり、動的接続構成の場合、DRBDは特定の物理マシンでは"
1071 "なく<<s-floating-peers,_仮想IPアドレス_>>で通信先を決めます。"
1072
1073 #. type: Plain text
1074 msgid ""
1075 "This type of setup is usually deployed together with <<s-drbd-proxy,DRBD "
1076 "Proxy>> and/or <<s-truck-based-replication,truck based replication>>."
1077 msgstr ""
1078 "このタイプの設定は通常、<<s-drbd-proxy,DRBD Proxy>>や、または<<s-truck-based-"
1079 "replication,トラック輸送のレプリケーション>>と組み合わせます。"
1080
1081 #. type: Plain text
1082 msgid ""
1083 "Since this type of setup deals with shared storage, configuring and testing "
1084 "STONITH is absolutely vital for it to work properly."
1085 msgstr ""
1086 "このタイプの設定は共有ストレージを扱うので、STONITHを構築してテストすること"
1087 "が、正常動作の確認のためには必要不可欠です。ただし、STONITHは本書の範囲を超え"
1088 "るので、以下の設定例は省略しています。"
1089
1090 #. type: Title ====
1091 #, no-wrap
1092 msgid "DRBD resource configuration"
1093 msgstr "DRBDリソース構成"
1094
1095 #. type: Plain text
1096 msgid ""
1097 "To enable your DRBD resource to float, configure it in `drbd.conf` in the "
1098 "following fashion:"
1099 msgstr ""
1100 "動的接続するDRBDリソースを有効にするには、次のように `drbd.conf` を設定しま"
1101 "す。"
1102
1103 #. type: delimited block -
1104 #, no-wrap
1105 msgid ""
1106 "resource <resource> {\n"
1107 " ...\n"
1108 " device /dev/drbd0;\n"
1109 " disk /dev/sda1;\n"
1110 " meta-disk internal;\n"
1111 " floating 10.9.9.100:7788;\n"
1112 " floating 10.9.10.101:7788;\n"
1113 "}\n"
1114 msgstr ""
1115 "resource <resource> {\n"
1116 " ...\n"
1117 " device /dev/drbd0;\n"
1118 " disk /dev/sda1;\n"
1119 " meta-disk internal;\n"
1120 " floating 10.9.9.100:7788;\n"
1121 " floating 10.9.10.101:7788;\n"
1122 "}\n"
1123
1124 #. type: Plain text
1125 msgid ""
1126 "The `floating` keyword replaces the `on <host>` sections normally found in "
1127 "the resource configuration. In this mode, DRBD identifies peers by IP "
1128 "address and TCP port, rather than by host name. It is important to note that "
1129 "the addresses specified must be virtual cluster IP addresses, rather than "
1130 "physical node IP addresses, for floating to function properly. As shown in "
1131 "the example, in split-site configurations the two floating addresses can be "
1132 "expected to belong to two separate IP networks -- it is thus vital for "
1133 "routers and firewalls to properly allow DRBD replication traffic between the "
1134 "nodes."
1135 msgstr ""
1136 "`floating` キーワードは、通常リソース設定の `on <host>` セクションの代わりに"
1137 "指定します。このモードでは、DRBDはホスト名ではなく、IPアドレスやTCPポートで相"
1138 "互接続を認識します。動的接続を適切に運用するには、物理IPアドレスではなく仮想"
1139 "IPアドレスを指定してください(これはとても重要です)。上の例のように、離れた地"
1140 "点ではそれぞれ別々のIPネットワークに属するのが一般的です。したがって、動的接"
1141 "続を正しく運用するにはDRBDの設定だけではなく、ルータやファイアウォールの適切"
1142 "な設定も重要です。"
1143
1144 #. type: Title ====
1145 #, no-wrap
1146 msgid "Pacemaker resource configuration"
1147 msgstr "Pacemakerリソース構成"
1148
1149 #. type: Plain text
1150 msgid ""
1151 "A DRBD floating peers setup, in terms of Pacemaker configuration, involves "
1152 "the following items (in each of the two Pacemaker clusters involved):"
1153 msgstr ""
1154 "DRBD動的接続の設定には、少なくともPacemaker設定が必要です(2つの各Pacemakerク"
1155 "ラスタに係わる)。"
1156
1157 #. type: Plain text
1158 msgid "A virtual cluster IP address."
1159 msgstr "仮想クラスタIPアドレス"
1160
1161 #. type: Plain text
1162 msgid "A master/slave DRBD resource (using the DRBD OCF resource agent)."
1163 msgstr "マスター/スレーブDRBDリソース(DRBD OCFリソースエージェントを使用)"
1164
1165 #. type: Plain text
1166 msgid ""
1167 "Pacemaker constraints ensuring that resources are started on the correct "
1168 "nodes, and in the correct order."
1169 msgstr "リソースを適切なノードで正しい順序に起動するための各種制約"
1170
1171 #. type: Plain text
1172 msgid ""
1173 "To configure a resource named `mysql` in a floating peers configuration in a "
1174 "2-node cluster, using the replication address `10.9.9.100`, configure "
1175 "Pacemaker with the following `crm` commands:"
1176 msgstr ""
1177 "レプリケーション用アドレスに `10.9.9.100` を使う動的接続構成と、 `mysql` とい"
1178 "うリソースを構築するには、次のように `crm` コマンドでPacemakerを設定します。"
1179
1180 #. type: delimited block -
1181 #, no-wrap
1182 msgid ""
1183 "crm configure\n"
1184 "crm(live)configure# primitive p_ip_float_left ocf:heartbeat:IPaddr2 \\\n"
1185 " params ip=10.9.9.100\n"
1186 "crm(live)configure# primitive p_drbd_mysql ocf:linbit:drbd \\\n"
1187 " params drbd_resource=mysql\n"
1188 "crm(live)configure# ms ms_drbd_mysql drbd_mysql \\\n"
1189 " meta master-max=\"1\" master-node-max=\"1\" \\\n"
1190 " clone-max=\"1\" clone-node-max=\"1\" \\\n"
1191 " notify=\"true\" target-role=\"Master\"\n"
1192 "crm(live)configure# order drbd_after_left \\\n"
1193 " inf: p_ip_float_left ms_drbd_mysql\n"
1194 "crm(live)configure# colocation drbd_on_left \\\n"
1195 " inf: ms_drbd_mysql p_ip_float_left\n"
1196 "crm(live)configure# commit\n"
1197 "bye\n"
1198 msgstr ""
1199 "crm configure\n"
1200 "crm(live)configure# primitive p_ip_float_left ocf:heartbeat:IPaddr2 \\\n"
1201 " params ip=10.9.9.100\n"
1202 "crm(live)configure# primitive p_drbd_mysql ocf:linbit:drbd \\\n"
1203 " params drbd_resource=mysql\n"
1204 "crm(live)configure# ms ms_drbd_mysql drbd_mysql \\\n"
1205 " meta master-max=\"1\" master-node-max=\"1\" \\\n"
1206 " clone-max=\"1\" clone-node-max=\"1\" \\\n"
1207 " notify=\"true\" target-role=\"Master\"\n"
1208 "crm(live)configure# order drbd_after_left \\\n"
1209 " inf: p_ip_float_left ms_drbd_mysql\n"
1210 "crm(live)configure# colocation drbd_on_left \\\n"
1211 " inf: ms_drbd_mysql p_ip_float_left\n"
1212 "crm(live)configure# commit\n"
1213 "bye\n"
1214
1215 #. type: Plain text
1216 msgid "Bring up the IP address 10.9.9.100 (on either 'alice' or 'bob')."
1217 msgstr "IPアドレス10.9.9.100を起動する( `alice` または `bob` のいずれか)"
1218
1219 #. type: Plain text
1220 msgid "Bring up the DRBD resource according to the IP address configured."
1221 msgstr "IPアドレスの設定にもとづいてDRBDリソースを起動します。"
1222
1223 #. type: Plain text
1224 msgid "Promote the DRBD resource to the Primary role."
1225 msgstr "DRBDリソースをプライマリにします。"
1226
1227 #. type: Plain text
1228 msgid ""
1229 "Then, in order to create the matching configuration in the other cluster, "
1230 "configure _that_ Pacemaker instance with the following commands:"
1231 msgstr ""
1232 "次に、もう一方のクラスタで、これとマッチングする設定を作成します。 `その` "
1233 "Pacemakerのインスタンスを次のコマンドで設定します。"
1234
1235 #. type: delimited block -
1236 #, no-wrap
1237 msgid ""
1238 "crm configure\n"
1239 "crm(live)configure# primitive p_ip_float_right ocf:heartbeat:IPaddr2 \\\n"
1240 " params ip=10.9.10.101\n"
1241 "crm(live)configure# primitive drbd_mysql ocf:linbit:drbd \\\n"
1242 " params drbd_resource=mysql\n"
1243 "crm(live)configure# ms ms_drbd_mysql drbd_mysql \\\n"
1244 " meta master-max=\"1\" master-node-max=\"1\" \\\n"
1245 " clone-max=\"1\" clone-node-max=\"1\" \\\n"
1246 " notify=\"true\" target-role=\"Slave\"\n"
1247 "crm(live)configure# order drbd_after_right \\\n"
1248 " inf: p_ip_float_right ms_drbd_mysql\n"
1249 "crm(live)configure# colocation drbd_on_right\n"
1250 " inf: ms_drbd_mysql p_ip_float_right\n"
1251 "crm(live)configure# commit\n"
1252 "bye\n"
1253 msgstr ""
1254 "crm configure\n"
1255 "crm(live)configure# primitive p_ip_float_right ocf:heartbeat:IPaddr2 \\\n"
1256 " params ip=10.9.10.101\n"
1257 "crm(live)configure# primitive drbd_mysql ocf:linbit:drbd \\\n"
1258 " params drbd_resource=mysql\n"
1259 "crm(live)configure# ms ms_drbd_mysql drbd_mysql \\\n"
1260 " meta master-max=\"1\" master-node-max=\"1\" \\\n"
1261 " clone-max=\"1\" clone-node-max=\"1\" \\\n"
1262 " notify=\"true\" target-role=\"Slave\"\n"
1263 "crm(live)configure# order drbd_after_right \\\n"
1264 " inf: p_ip_float_right ms_drbd_mysql\n"
1265 "crm(live)configure# colocation drbd_on_right\n"
1266 " inf: ms_drbd_mysql p_ip_float_right\n"
1267 "crm(live)configure# commit\n"
1268 "bye\n"
1269
1270 #. type: Plain text
1271 msgid "Bring up the IP address 10.9.10.101 (on either 'charlie' or 'daisy')."
1272 msgstr "IPアドレス10.9.10.101を起動する(charlie または daisy のいずれか)。"
1273
1274 #. type: Plain text
1275 msgid ""
1276 "Leave the DRBD resource in the Secondary role (due to `target-role=\"Slave"
1277 "\"`)."
1278 msgstr ""
1279 "target-role=\"Slave\" が指定されているため、DRBDリソースは、セカンダリのまま"
1280 "になります。"
1281
1282 #. type: Title ====
1283 #, no-wrap
1284 msgid "Site fail-over"
1285 msgstr "サイトのフェイルオーバ"
1286
1287 #. type: Plain text
1288 msgid ""
1289 "In split-site configurations, it may be necessary to transfer services from "
1290 "one site to another. This may be a consequence of a scheduled transition, or "
1291 "of a disastrous event. In case the transition is a normal, anticipated "
1292 "event, the recommended course of action is this:"
1293 msgstr ""
1294 "拠点が離れた構成では、サービス自体をある拠点から他の拠点に切り替える必要が生"
1295 "じるかもしれません。これは、計画された移行か、または悲惨な出来事の結果でしょ"
1296 "う。計画にもとづく移行の場合、一般的な手順は次のようになります。"
1297
1298 #. type: Plain text
1299 msgid ""
1300 "Connect to the cluster on the site about to relinquish resources, and change "
1301 "the affected DRBD resource's `target-role` attribute from `Master` to "
1302 "`Slave`. This will shut down any resources depending on the Primary role of "
1303 "the DRBD resource, demote it, and continue to run, ready to receive updates "
1304 "from a new Primary."
1305 msgstr ""
1306 "サービス移行元のクラスタに接続し、影響を受けるDRBDリソースの `target-role` 属"
1307 "性を `マスター` から `スレーブ` に変更します。DRBDがプライマリであることに依"
1308 "存したリソースは自動的に停止し、その後DRBDはセカンダリに降格します。"
1309
1310 #. type: Plain text
1311 msgid ""
1312 "Connect to the cluster on the site about to take over resources, and change "
1313 "the affected DRBD resource's `target-role` attribute from `Slave` to "
1314 "`Master`. This will promote the DRBD resources, start any other Pacemaker "
1315 "resources depending on the Primary role of the DRBD resource, and replicate "
1316 "updates to the remote site."
1317 msgstr ""
1318 "サービス移行先のクラスタに接続し、DRBDリソースの `target-role` 属性を "
1319 "`Slave` から `Master` に変更します。DRBDリソースは昇格し、DRBDリソースのプラ"
1320 "イマリ側に依存した他のPacemakerリソースを起動します。 そしてリモート拠点への"
1321 "同期が更新されます。"
1322
1323 #. type: Plain text
1324 msgid "To fail back, simply reverse the procedure."
1325 msgstr "フェイルバックをするには、手順を逆にするだけです。"
1326
1327 #. type: Plain text
1328 msgid ""
1329 "In the event that of a catastrophic outage on the active site, it can be "
1330 "expected that the site is off line and no longer replicated to the backup "
1331 "site. In such an event:"
1332 msgstr ""
1333 "アクティブな拠点で壊滅的な災害が起きると、その拠点はオフラインになり、以降そ"
1334 "の拠点からバックアップ側にレプリケートできなくなる可能性があります。このよう"
1335 "な場合には"
1336
1337 #. type: Plain text
1338 msgid ""
1339 "Connect to the cluster on the still-functioning site resources, and change "
1340 "the affected DRBD resource's `target-role` attribute from `Slave` to "
1341 "`Master`. This will promote the DRBD resources, and start any other "
1342 "Pacemaker resources depending on the Primary role of the DRBD resource."
1343 msgstr ""
1344 "リモートサイトが機能しているならそのクラスタに接続し、DRBDリソースの `target-"
1345 "role` 属性を `スレーブ` から `マスター` に変更します。DRBDリソースは昇格し、"
1346 "DRBDリソースがプライマリになることに依存する他のPacemakerリソースも起動しま"
1347 "す。"
1348
1349 #. type: Plain text
1350 msgid ""
1351 "When the original site is restored or rebuilt, you may connect the DRBD "
1352 "resources again, and subsequently fail back using the reverse procedure."
1353 msgstr ""
1354 "元の拠点が回復または再構成されると、DRBDリソースに再度接続できるようになりま"
1355 "す。その後、逆の手順でフェイルバックします。"
1356
1357 #. type: Title ===
1358 #, no-wrap
1359 msgid "Importing DRBD's promotion scores into the CIB"
1360 msgstr "DRBD のプロモーションスコアを CIB にインポートする"
1361
1362 #. type: Plain text
1363 msgid ""
1364 "Everything described in this section depends on the `drbd-attr` OCF resource "
1365 "agent. It is available since drbd-utils version 9.15.0. On Debian/Ubuntu "
1366 "systems this is part of the `drbd-utils` package. On RPM based Linux "
1367 "distributions you need to install the `drbd-pacemaker` package."
1368 msgstr ""
1369 "このセクションで説明するものはすべて `drbd-attr` OCF リソースエージェントに依"
1370 "存します。drbd-utils バージョン 9.15.0 以降で使用できます。Debian/Ubuntu シス"
1371 "テムでは、これは `drbd-utils` パッケージの一部です。 RPM ベースの Linux ディ"
1372 "ストリビューションでは `drbd-pacemaker` パッケージをインストールする必要があ"
1373 "ります。"
1374
1375 #. type: Plain text
1376 msgid ""
1377 "Every DRBD resource exposes a _promotion score_ on each node where it is "
1378 "configured. It is a numeric value that might be 0 or positive. The value "
1379 "reflects how desirable it is to promote the resource to master on this "
1380 "particular node. A node that has an _UpToDate_ disk and two _UpToDate_ "
1381 "replicas has a higher score than a node with an _UpToDate_ disk and just one "
1382 "_UpToDate_ replica."
1383 msgstr ""
1384 "すべての DRBD リソースは、それが構成されている各ノードでプロモーションスコア"
1385 "を公開します。これは 0 または正の数値です。この値は、このノードでリソースをマ"
1386 "スターに昇格させることがどれほど望ましいかを示します。 _UpToDate_ ディスクと "
1387 "2 つの _UpToDate_ レプリカを持つノードは _UpToDate_ ディスクと 1 つの "
1388 "_UpToDate_ レプリカを持つノードよりもスコアが高くなります。"
1389
1390 #. type: Plain text
1391 msgid ""
1392 "During startup, the _promotion score_ is 0. E.g., before the DRBD device "
1393 "has its backing device attached, or, if quorum is enabled, before quorum is "
1394 "gained. A value of 0 indicates that a promotion request will fail, and is "
1395 "mapped to a pacemaker score that indicates _must not run here_."
1396 msgstr ""
1397 "たとえば DRBD デバイスに下位デバイスが接続される前、または、クォーラムが有効"
1398 "になっている場合は、クォーラムが取得される前はプロモーションスコアは 0 です。"
1399 "値 0 は、プロモーションリクエストが失敗することを意味し、ここで実行してはなら"
1400 "ないことを pacemaker に指示します。"
1401
1402 #. type: Plain text
1403 msgid ""
1404 "The `drbd-attr` OCF resource agent imports these promotion scores into node "
1405 "attributes of a Pacemaker cluster. It needs to be configured like this:"
1406 msgstr ""
1407 "`drbd-attr` OCF リソースエージェントは、これらのプロモーションスコアを "
1408 "Pacemaker クラスターのノード属性にインポートします。次のようにして構成しま"
1409 "す。"
1410
1411 #. type: delimited block -
1412 #, no-wrap
1413 msgid ""
1414 "primitive drbd-attr ocf:linbit:drbd-attr\n"
1415 "clone drbd-attr-clone drbd-attr\n"
1416 msgstr ""
1417 "primitive drbd-attr ocf:linbit:drbd-attr\n"
1418 "clone drbd-attr-clone drbd-attr\n"
1419
1420 #. type: Plain text
1421 msgid ""
1422 "These are _transient_ attributes (have a _lifetime_ of _reboot_ in pacemaker "
1423 "speak). That means, after a _reboot_ of the node, or local restart of "
1424 "pacemaker, those attributes will not exist until an instance of `drbd-attr` "
1425 "is started on that node."
1426 msgstr ""
1427 "これらは一時的な属性です(再起動時に定義される)。つまり、ノードの再起動後、"
1428 "または pacemaker のローカル再起動後、これらの属性はそのノードで `drbd-attr` "
1429 "のインスタンスが開始されるまで存在しません。"
1430
1431 #. type: Plain text
1432 msgid "You can inspect the generated attributes with `crm_mon -A -1`."
1433 msgstr "生成された属性は `crm_mon -A-1` で確認できます。"
1434
1435 #. type: Plain text
1436 msgid ""
1437 "These attributed can be used in constraints for services that depend on the "
1438 "DRBD devices, or, when managing DRBD with the `ocf:linbit:drbd` resource "
1439 "agent, for the _Master_ role of that DRBD instance."
1440 msgstr ""
1441 "これらの属性は、DRBD デバイスに依存するサービスの制約で使用できます。また "
1442 "`ocf:linbit:drbd` リソースエージェントで DRBD を管理する場合は、その DRBD イ"
1443 "ンスタンスの _Master_ ロールでも使用できます。"
1444
1445 #. type: Plain text
1446 msgid ""
1447 "Here is an example location constraint for the example resource from <<s-"
1448 "pacemaker-drbd-background>>"
1449 msgstr ""
1450 "以下は、<<s-pacemaker-drbd-background>> のサンプルリソースのロケーション制約"
1451 "の例です。"
1452
1453 #. type: delimited block -
1454 #, no-wrap
1455 msgid ""
1456 "location lo_fs_mysql fs_mysql \\\n"
1457 " rule -inf: not_defined drbd-promotion-score-mysql \\\n"
1458 " rule drbd-promotion-score-mysql: defined drbd-promotion-score-mysql\n"
1459 msgstr ""
1460 "location lo_fs_mysql fs_mysql \\\n"
1461 " rule -inf: not_defined drbd-promotion-score-mysql \\\n"
1462 " rule drbd-promotion-score-mysql: defined drbd-promotion-score-mysql\n"
1463
1464 #. type: Plain text
1465 msgid ""
1466 "This means, that as long as the attribute is not defined, the fs_mysql file "
1467 "system cannot be mounted here. When the attribute is defined, its value "
1468 "becomes the score of the location constraint."
1469 msgstr ""
1470 "これは、属性が定義されていない限り、fs_mysql ファイルシステムをここにマウント"
1471 "できないことを意味します。属性が定義されると、その値がロケーション制約のスコ"
1472 "アになります。"
1473
1474 #. type: Plain text
1475 msgid ""
1476 "This can also be used to cause Pacemaker to migrate a service away when DRBD "
1477 "loses a local backing device. Because a failed backing block device causes "
1478 "the promotion score to drop, other nodes with working backing devices will "
1479 "expose higher promotion scores."
1480 msgstr ""
1481 "これは、DRBD がローカルの下位デバイスを失ったときに Pacemaker にサービスを移"
1482 "行させるためにも使用できます。下位ブロックデバイスに障害が発生するとプロモー"
1483 "ションスコアが低下するため、下位デバイスが機能している他のノードはより高いプ"
1484 "ロモーションスコアになります。"
1485
1486 #. type: Plain text
1487 msgid ""
1488 "The attributes are updated live, independent of the resource-agent's monitor "
1489 "operation, with a dampening delay of 5 seconds by default."
1490 msgstr ""
1491 "属性は、リソースエージェントの監視操作とは関係なく、随時更新されます。デフォ"
1492 "ルトでは、5秒の減衰遅延があります。"
1493
1494 #. type: Plain text
1495 msgid ""
1496 "The resource agent has these optional parameters, see also its man page "
1497 "`ocf_linbit_drbd-attr(7)`:"
1498 msgstr ""
1499 "リソースエージェントには、以下のオプションのパラメータもあります。詳細は "
1500 "`ocf_linbit_drbd-attr(7)` を参照ください。"
1501
1502 #. type: Plain text
1503 msgid "`dampening_delay`"
1504 msgstr "`dampening_delay`"
1505
1506 #. type: Plain text
1507 msgid "`attr_name_prefix`"
1508 msgstr "`attr_name_prefix`"
1509
1510 #. type: Plain text
1511 msgid "`record_event_details`"
1512 msgstr "`record_event_details`"