| 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-09-24 15:36+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 "DRBD Internals" |
| 21 |
msgstr "DRBDの内部" |
| 22 |
|
| 23 |
#. type: Plain text |
| 24 |
msgid "" |
| 25 |
"This chapter gives _some_ background information about some of DRBD's " |
| 26 |
"internal algorithms and structures. It is intended for interested users " |
| 27 |
"wishing to gain a certain degree of background knowledge about DRBD. It does " |
| 28 |
"not dive into DRBD's inner workings deep enough to be a reference for DRBD " |
| 29 |
"developers. For that purpose, please refer to the papers listed in <<s-" |
| 30 |
"publications>>, and of course to the comments in the DRBD source code." |
| 31 |
msgstr "" |
| 32 |
"この章ではDRBDの内部アルゴリズムと内部構造について、 _いくつか_ の背景情報を" |
| 33 |
"取り上げます。 これは、DRBDの背景について関心のあるユーザーが対象です。DRBD開" |
| 34 |
"発者が参考にできるほど深い内容には踏み込んでいません。開発者の方は<<s-" |
| 35 |
"publications>>に記載の文章やDRBDのソースコードを参照してください。" |
| 36 |
|
| 37 |
#. type: Title === |
| 38 |
#, no-wrap |
| 39 |
msgid "DRBD meta data" |
| 40 |
msgstr "DRBDメタデータ" |
| 41 |
|
| 42 |
#. type: Plain text |
| 43 |
msgid "" |
| 44 |
"indexterm:[meta data]DRBD stores various pieces of information about the " |
| 45 |
"data it keeps in a dedicated area. This metadata includes:" |
| 46 |
msgstr "" |
| 47 |
"indexterm:[meta data]DRBDはレプリケートするデータに関するさまざまな情報を専用" |
| 48 |
"の領域に格納しています。メタデータには次のようなものがあります。" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
msgid "the size of the DRBD device," |
| 52 |
msgstr "DRBDデバイスのサイズ" |
| 53 |
|
| 54 |
#. type: Plain text |
| 55 |
msgid "the Generation Identifier (GI, described in detail in <<s-gi>>)," |
| 56 |
msgstr "世代識別子(GI、詳細は<<s-gi>>を参照)" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
msgid "the Activity Log (AL, described in detail in <<s-activity-log>>)." |
| 60 |
msgstr "アクティビティログ(AL、詳細は<<s-activity-log>>)を参照" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
msgid "the quick-sync bitmap (described in detail in <<s-quick-sync-bitmap>>)," |
| 64 |
msgstr "クイック同期ビットマップ(詳細は<<s-quick-sync-bitmap>>を参照)" |
| 65 |
|
| 66 |
#. type: Plain text |
| 67 |
msgid "" |
| 68 |
"This metadata may be stored _internally_ or _externally_. Which method is " |
| 69 |
"used is configurable on a per-resource basis." |
| 70 |
msgstr "" |
| 71 |
"このメタデータは _内部_ または _外部_ に格納されます。格納する場所はリソース" |
| 72 |
"ごとに設定できます。" |
| 73 |
|
| 74 |
#. type: Title ==== |
| 75 |
#, no-wrap |
| 76 |
msgid "Internal meta data" |
| 77 |
msgstr "内部メタデータ" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
msgid "" |
| 81 |
"indexterm:[meta data]Configuring a resource to use internal meta data means " |
| 82 |
"that DRBD stores its meta data on the same physical lower-level device as " |
| 83 |
"the actual production data. It does so by setting aside an area at the _end_ " |
| 84 |
"of the device for the specific purpose of storing metadata." |
| 85 |
msgstr "" |
| 86 |
"indexterm:[meta data]内部メタデータを使用するようにリソースを設定すると、DRBD" |
| 87 |
"はメタデータを実際の本稼働データと同じ下位レベルの物理デバイスに格納します。" |
| 88 |
"デバイスの _末尾_ の領域がメタデータを格納するための領域として確保されます。" |
| 89 |
|
| 90 |
#. type: Block title |
| 91 |
#, no-wrap |
| 92 |
msgid "Advantage" |
| 93 |
msgstr "メリット" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
msgid "" |
| 97 |
"Since the meta data are inextricably linked with the actual data, no special " |
| 98 |
"action is required from the administrator in case of a hard disk failure. " |
| 99 |
"The meta data are lost together with the actual data and are also restored " |
| 100 |
"together." |
| 101 |
msgstr "" |
| 102 |
"メタデータは実際のデータと密接にリンクされているため、ハードディスクに障害が" |
| 103 |
"発生しても、管理者は特に何かする必要はありません。メタデータは実際のデータと" |
| 104 |
"ともに失われ、ともに復元されます。" |
| 105 |
|
| 106 |
#. type: Block title |
| 107 |
#, no-wrap |
| 108 |
msgid "Disadvantage" |
| 109 |
msgstr "デメリット" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
msgid "" |
| 113 |
"In case of the lower-level device being a single physical hard disk (as " |
| 114 |
"opposed to a RAID set), internal meta data may negatively affect write " |
| 115 |
"throughput. The performance of write requests by the application may trigger " |
| 116 |
"an update of the meta data in DRBD. If the meta data are stored on the same " |
| 117 |
"magnetic disk of a hard disk, the write operation may result in two " |
| 118 |
"additional movements of the write/read head of the hard disk." |
| 119 |
msgstr "" |
| 120 |
"RAIDセットではなく、下位レベルデバイスが唯一の物理ハードディスクの場合は、内" |
| 121 |
"部メタデータが原因で書き込みスループットが低下することがあります。アプリケー" |
| 122 |
"ションによる書き込み要求の実行により、DRBDのメタデータの更新が引き起こされる" |
| 123 |
"場合があります。メタデータがハードディスクの同じ磁気ディスクに格納されている" |
| 124 |
"場合は、書き込み処理によって、ハードディスクの書き込み/読み取りヘッドが2回余" |
| 125 |
"分に動作することになります。" |
| 126 |
|
| 127 |
#. type: delimited block = |
| 128 |
msgid "" |
| 129 |
"If you are planning to use internal meta data in conjunction with an " |
| 130 |
"existing lower-level device that already has data which you wish to " |
| 131 |
"preserve, you _must_ account for the space required by DRBD's meta data." |
| 132 |
msgstr "" |
| 133 |
"すでにデータが書き込まれているディスク領域を下位デバイスに指定してDRBDでレプ" |
| 134 |
"リケートする場合で、内部メタデータを使うには、DRBDのメタデータに必要な領域を " |
| 135 |
"_必ず_ 確保してください。" |
| 136 |
|
| 137 |
#. type: delimited block = |
| 138 |
msgid "" |
| 139 |
"Otherwise, upon DRBD resource creation, the newly created metadata would " |
| 140 |
"overwrite data at the end of the lower-level device, potentially destroying " |
| 141 |
"existing files in the process." |
| 142 |
msgstr "" |
| 143 |
"そうでない場合、DRBDリソースの作成時に、新しく作成されるメタデータによって下" |
| 144 |
"位レベルデバイスの末尾のデータが上書きされ、既存のファイルが破損します。" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
msgid "To avoid that, you must do one of the following things:" |
| 148 |
msgstr "以下のいずれかの方法でこれを避けることができます。" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
msgid "" |
| 152 |
"Enlarge your lower-level device. This is possible with any logical volume " |
| 153 |
"management facility (such as indexterm:[LVM]LVM) as long as you have free " |
| 154 |
"space available in the corresponding volume group. It may also be supported " |
| 155 |
"by hardware storage solutions." |
| 156 |
msgstr "" |
| 157 |
"下位レベルデバイスを拡張します。これには、LVMなどの論理 ボリューム管理機能を" |
| 158 |
"使用します。 ただし、対応するボリュームグループに有効な空き領域が必要です。 " |
| 159 |
"ハードウェアストレージソリューションを使用することもできます。" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
msgid "" |
| 163 |
"Shrink your existing file system on your lower-level device. This may or may " |
| 164 |
"not be supported by your file system." |
| 165 |
msgstr "" |
| 166 |
"下位レベルデバイスの既存のファイルシステムを縮小します。ファイルシステムに" |
| 167 |
"よっては 実行できない場合があります。" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
msgid "" |
| 171 |
"If neither of the two are possible, use <<s-external-meta-data,external meta " |
| 172 |
"data>> instead." |
| 173 |
msgstr "" |
| 174 |
"上記2つが不可能な場合は、 代わりに<<s-external-meta-data,外部メタデータ>>を使" |
| 175 |
"用します。" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
msgid "" |
| 179 |
"To estimate the amount by which you must enlarge your lower-level device or " |
| 180 |
"shrink your file system, see <<s-meta-data-size>>." |
| 181 |
msgstr "" |
| 182 |
"下位レベルデバイスをどの程度拡張するか、またはファイルシステムをどの程度縮小" |
| 183 |
"するかについては、<<s-meta-data-size>>を参照してください。" |
| 184 |
|
| 185 |
#. type: Title ==== |
| 186 |
#, no-wrap |
| 187 |
msgid "External meta data" |
| 188 |
msgstr "外部メタデータ" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
msgid "" |
| 192 |
"indexterm:[meta data]External meta data is simply stored on a separate, " |
| 193 |
"dedicated block device distinct from that which holds your production data." |
| 194 |
msgstr "" |
| 195 |
"indexterm:[meta data]外部メタデータは、本稼働データを格納するものとは異なる個" |
| 196 |
"別の専用ブロックデバイスに格納します。" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
msgid "" |
| 200 |
"For some write operations, using external meta data produces a somewhat " |
| 201 |
"improved latency behavior." |
| 202 |
msgstr "" |
| 203 |
"一部の書き込み処理では、外部メタデータを使用することにより、待ち時間をいくら" |
| 204 |
"か短縮できます。" |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
msgid "" |
| 208 |
"Meta data are not inextricably linked with the actual production data. This " |
| 209 |
"means that manual intervention is required in the case of a hardware failure " |
| 210 |
"destroying just the production data (but not DRBD meta data), to effect a " |
| 211 |
"full data sync from the surviving node onto the subsequently replaced disk." |
| 212 |
msgstr "" |
| 213 |
"メタデータが実際の本稼働データに密接にリンクされません。つまり、ハードウェア" |
| 214 |
"障害により本稼働データだけが破損したか、DRBDメタデータは破損しなかった場合、" |
| 215 |
"手動による介入が必要です。生き残ったノードから切り替えるディスクに、手動で" |
| 216 |
"データの完全同期を行う必要があります。" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
msgid "" |
| 220 |
"Use of external meta data is also the only viable option if _all_ of the " |
| 221 |
"following apply:" |
| 222 |
msgstr "" |
| 223 |
"次の項目の _すべて_ に該当する場合には、外部メタデータ使用する以外の選択肢は" |
| 224 |
"ありません。" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
msgid "" |
| 228 |
"You are using DRBD to duplicate an existing device that already contains " |
| 229 |
"data you wish to preserve, _and_" |
| 230 |
msgstr "DRBDでレプリケートしたい領域に すでにデータが格納されており、" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
msgid "that existing device does not support enlargement, _and_" |
| 234 |
msgstr "この既存デバイスを拡張することができず、" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
msgid "the existing file system on the device does not support shrinking." |
| 238 |
msgstr "デバイスの既存のファイルシステムが縮小をサポートしていない。" |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
msgid "" |
| 242 |
"To estimate the required size of the block device dedicated to hold your " |
| 243 |
"device meta data, see <<s-meta-data-size>>." |
| 244 |
msgstr "" |
| 245 |
"デバイスのメタデータを格納する専用ブロックデバイスが必要とするサイズにについ" |
| 246 |
"ては、<<s-meta-data-size>>を参照してください。" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
msgid "External meta data requires a minimum of a 1MB device size." |
| 250 |
msgstr "外部メータデータは少なくとも1MBのデバイスサイズを必要とします。" |
| 251 |
|
| 252 |
#. type: Title ==== |
| 253 |
#, no-wrap |
| 254 |
msgid "Estimating meta data size" |
| 255 |
msgstr "メタデータサイズの見積り" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
msgid "" |
| 259 |
"indexterm:[meta data]You may calculate the exact space requirements for " |
| 260 |
"DRBD's meta data using the following formula:" |
| 261 |
msgstr "" |
| 262 |
"indexterm:[meta data]次の式を使用して、DRBDのメタデータに必要な領域を正確に計" |
| 263 |
"算できます。" |
| 264 |
|
| 265 |
#. type: Block title |
| 266 |
#, no-wrap |
| 267 |
msgid "Calculating DRBD meta data size (exactly)" |
| 268 |
msgstr "DRBDメタデータサイズの計算(正確)" |
| 269 |
|
| 270 |
#. type: Target for macro image |
| 271 |
#, no-wrap |
| 272 |
msgid "images/metadata-size-exact.svg" |
| 273 |
msgstr "images/metadata-size-exact.svg" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#, no-wrap |
| 277 |
msgid "*_C~s~_* is the data device size in sectors, and *_N_* is the number of peers.\n" |
| 278 |
msgstr "*_C~s~_* はセクタ単位のデータデバイスサイズです。 *_N_* は対向ノードの数です。\n" |
| 279 |
|
| 280 |
#. If |
| 281 |
#. you are using the <<al-stripe,al-stripes>> setting, additional space of size |
| 282 |
#. _al-stripes_ times _al-strip-size_ is required. |
| 283 |
#. type: Plain text |
| 284 |
msgid "" |
| 285 |
"You may retrieve the device size (in bytes) by issuing `blockdev --getsize64 " |
| 286 |
"<device>`; to convert to MB, divide by 1048576 (= 2^20^ or 1024^2^)." |
| 287 |
msgstr "" |
| 288 |
"デバイスサイズは(バイト単位で) `blockdev --getsize64 <device>` を実行して取得" |
| 289 |
"できます。MBに変換するときは1048576で割ってください(= 2^20^または1024^2^)" |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
msgid "" |
| 293 |
"In practice, you may use a reasonably good approximation, given below. Note " |
| 294 |
"that in this formula, the unit is megabytes, not sectors:" |
| 295 |
msgstr "" |
| 296 |
"実際には、次の計算で得られる大まかな見積りで十分です。この式では、単位はセク" |
| 297 |
"タではなくメガバイトである点に注意してください。" |
| 298 |
|
| 299 |
#. type: Block title |
| 300 |
#, no-wrap |
| 301 |
msgid "Estimating DRBD meta data size (approximately)" |
| 302 |
msgstr "DRBDメタデータサイズの見積り(概算)" |
| 303 |
|
| 304 |
#. type: Target for macro image |
| 305 |
#, no-wrap |
| 306 |
msgid "images/metadata-size-approx.svg" |
| 307 |
msgstr "images/metadata-size-approx.svg" |
| 308 |
|
| 309 |
#. type: Title === |
| 310 |
#, no-wrap |
| 311 |
msgid "Generation Identifiers" |
| 312 |
msgstr "世代識別子" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
msgid "" |
| 316 |
"indexterm:[generation identifiers]DRBD uses _generation identifiers_ (GIs) " |
| 317 |
"to identify \"generations\" of replicated data." |
| 318 |
msgstr "" |
| 319 |
"indexterm:[generation identifiers]DRBDでは 世代識別子 (GI)を使用してレプリ" |
| 320 |
"ケートされたデータの「世代」を識別します。" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
msgid "This is DRBD's internal mechanism used for" |
| 324 |
msgstr "これはDRBDの内部メカニズムで、次のような目的で使用されます。" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
msgid "" |
| 328 |
"determining whether the two nodes are in fact members of the same cluster " |
| 329 |
"(as opposed to two nodes that were connected accidentally)," |
| 330 |
msgstr "" |
| 331 |
"2つのノードが実際に同じクラスタのメンバか確認する (2つのノードが誤って接続さ" |
| 332 |
"れたものではないこと確認する)。" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
msgid "" |
| 336 |
"determining the direction of background re-synchronization (if necessary)," |
| 337 |
msgstr "バックグラウンド同期の方向を確認する (必要な場合)。" |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
msgid "" |
| 341 |
"determining whether full re-synchronization is necessary or whether partial " |
| 342 |
"re-synchronization is sufficient," |
| 343 |
msgstr "完全な再同期が必要か、 部分的な再同期で十分か判断する。" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
msgid "indexterm:[split brain]identifying split brain." |
| 347 |
msgstr "indexterm:[split brain]スプリットブレインを検出する。" |
| 348 |
|
| 349 |
#. type: Title ==== |
| 350 |
#, no-wrap |
| 351 |
msgid "Data generations" |
| 352 |
msgstr "データ世代" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
msgid "" |
| 356 |
"DRBD marks the start of a new _data generation_ at each of the following " |
| 357 |
"occurrences:" |
| 358 |
msgstr "" |
| 359 |
"DRBDは次のような場合に、新しい _データ世代_ の開始としてマークを付けます。" |
| 360 |
|
| 361 |
#. FIXME PRe |
| 362 |
#. type: Plain text |
| 363 |
msgid "The initial device full sync," |
| 364 |
msgstr "デバイスの初期フル同期。" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
msgid "a disconnected resource switching to the primary role," |
| 368 |
msgstr "切断したリソースがプライマリロールに切り替わる。" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
msgid "a resource in the primary role disconnecting." |
| 372 |
msgstr "プライマリロールのリソースが切断する。" |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
msgid "" |
| 376 |
"Thus, we can summarize that whenever a resource is in the _Connected_ " |
| 377 |
"connection state, and both nodes' disk state is _UpToDate_, the current data " |
| 378 |
"generation on both nodes is the same. The inverse is also true. Note that " |
| 379 |
"the current implementation uses the lowest bit to encode the role of the " |
| 380 |
"node (Primary/Secondary). Therefore, the lowest bit might be different on " |
| 381 |
"distinct nodes even if they are considered to have the same data generation." |
| 382 |
msgstr "" |
| 383 |
"つまり、リソースのコネクションステータスが Connected になり、両方のノードの" |
| 384 |
"ディスク状態が _UpToDate_ になると、両方のノードの現在のデータ世代が同一にな" |
| 385 |
"ります。逆も同様です。 現在はノードのロール(プライマリ/セカンダリ)を表すため" |
| 386 |
"に最下位ビットを使用しています。そのため、同じデータ世代であってもあるノード" |
| 387 |
"では最下位ビットが異なることがあります。" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
msgid "" |
| 391 |
"Every new data generation is identified by an 8-byte, universally unique " |
| 392 |
"identifier (UUID)." |
| 393 |
msgstr "データ世代は8バイトで定義される、全体でユニークな識別子(UUID)です。" |
| 394 |
|
| 395 |
#. type: Title ==== |
| 396 |
#, no-wrap |
| 397 |
msgid "The generation identifier tuple" |
| 398 |
msgstr "世代識別子タプル" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
msgid "" |
| 402 |
"DRBD keeps some pieces of information about current and historical data " |
| 403 |
"generations in the local resource meta data:" |
| 404 |
msgstr "" |
| 405 |
"DRBDでは、現在と履歴のデータ世代についての情報がローカルリソースメタデータに" |
| 406 |
"格納されます。" |
| 407 |
|
| 408 |
#. type: Block title |
| 409 |
#, no-wrap |
| 410 |
msgid "Current UUID" |
| 411 |
msgstr "カレントUUID" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
msgid "" |
| 415 |
"This is the generation identifier for the current data generation, as seen " |
| 416 |
"from the local node's perspective. When a resource is _Connected_ and fully " |
| 417 |
"synchronized, the current UUID is identical between nodes." |
| 418 |
msgstr "" |
| 419 |
"これは、ローカルノードからみた最新のデータ世代の世代識別子です。リソースが " |
| 420 |
"Connected になり完全に同期されると、両ノードのカレントUUIDが同一になります。" |
| 421 |
|
| 422 |
#. type: Block title |
| 423 |
#, no-wrap |
| 424 |
msgid "Bitmap UUIDs" |
| 425 |
msgstr "ビットマップUUID" |
| 426 |
|
| 427 |
#. type: Plain text |
| 428 |
msgid "" |
| 429 |
"This is the UUID of the generation against which this on-disk bitmap is " |
| 430 |
"tracking changes (per remote host). Like the on-disk sync bitmap itself, " |
| 431 |
"this identifier is only relevant while the remote host is disconnected." |
| 432 |
msgstr "" |
| 433 |
"リモードホストごとに変更を追跡しているオンディスクのビットマップの世代のUUID" |
| 434 |
"です。オンディスク同期ビットマップ自体と同様に、リモートホストと切断されてい" |
| 435 |
"場合のみ意味を持ちます。" |
| 436 |
|
| 437 |
#. If the resource is _Connected_, this UUID is always empty (zero). FIXME |
| 438 |
#. type: Block title |
| 439 |
#, no-wrap |
| 440 |
msgid "Historical UUIDs" |
| 441 |
msgstr "履歴UUID" |
| 442 |
|
| 443 |
#. type: Plain text |
| 444 |
msgid "" |
| 445 |
"These are the identifiers of data generations preceding the current one, " |
| 446 |
"sized to have one slot per (possible) remote host." |
| 447 |
msgstr "" |
| 448 |
"現在のものより以前のデータ世代の識別子で、リモートホストごとに1スロットです。" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
msgid "" |
| 452 |
"Collectively, these items are referred to as the _generation identifier " |
| 453 |
"tuple_, or \"__GI tuple__\" for short." |
| 454 |
msgstr "" |
| 455 |
"これらをまとめて _世代識別子タプル_ 、または略して「 _GIタプル_ 」と呼びま" |
| 456 |
"す。" |
| 457 |
|
| 458 |
#. type: Title ==== |
| 459 |
#, no-wrap |
| 460 |
msgid "How generation identifiers change" |
| 461 |
msgstr "世代識別子の変化" |
| 462 |
|
| 463 |
#. type: Title ===== |
| 464 |
#, no-wrap |
| 465 |
msgid "Start of a new data generation" |
| 466 |
msgstr "新規データ世代の開始" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
msgid "" |
| 470 |
"When a node in _Primary_ role loses connection to its peer (either by " |
| 471 |
"network failure or manual intervention), DRBD modifies its local generation " |
| 472 |
"identifiers in the following manner:" |
| 473 |
msgstr "" |
| 474 |
"それがネットワーク障害であれ、意図的なものであれ、 `プライマリ` のノードが対" |
| 475 |
"向ノードへのコネクションを失うと、DRBDは次のようにしてローカルの世代識別子を" |
| 476 |
"変更します。" |
| 477 |
|
| 478 |
#. type: Block title |
| 479 |
#, no-wrap |
| 480 |
msgid "GI tuple changes at start of a new data generation" |
| 481 |
msgstr "新規データ世代の開始時に変化するGIタプル" |
| 482 |
|
| 483 |
#. type: Target for macro image |
| 484 |
#, no-wrap |
| 485 |
msgid "images/gi-changes-newgen.svg" |
| 486 |
msgstr "images/gi-changes-newgen.svg" |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
msgid "" |
| 490 |
"The primary creates a new UUID for the new data generation. This becomes the " |
| 491 |
"_new_ current UUID for the primary node." |
| 492 |
msgstr "" |
| 493 |
"プライマリが新しいデータ世代用の新規UUIDを作ります。これがプライマリノードの " |
| 494 |
"_新しい_ カレントUUIDになります。" |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
msgid "" |
| 498 |
"The _previous_ current UUID now refers to the generation the bitmap is " |
| 499 |
"tracking changes against, so it becomes the new bitmap UUID for the primary " |
| 500 |
"node." |
| 501 |
msgstr "" |
| 502 |
"_以前の_ カレントUUIDはビットマップが変更を追跡している世代を参照します。した" |
| 503 |
"がって、これがプライマリノードの新しいビットマップUUIDになります。" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
msgid "On the secondary node(s), the GI tuple remains unchanged." |
| 507 |
msgstr "セカンダリノードではGIタプルは変化しません。" |
| 508 |
|
| 509 |
#. type: Title ===== |
| 510 |
#, no-wrap |
| 511 |
msgid "Completion of re-synchronization" |
| 512 |
msgstr "再同期の完了" |
| 513 |
|
| 514 |
#. type: Plain text |
| 515 |
msgid "" |
| 516 |
"When re-synchronization concludes, the synchronization target adopts the " |
| 517 |
"entire GI tuple from the synchronization source." |
| 518 |
msgstr "再同期が完了すると、同期対象は同期元のGIタプルをすべて適用します。" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
msgid "" |
| 522 |
"The synchronization source keeps the same set, and doesn't generate new " |
| 523 |
"UUIDs." |
| 524 |
msgstr "同期元は元のUUIDを維持し、新しいUUIDは作成しません。" |
| 525 |
|
| 526 |
#. type: Title ==== |
| 527 |
#, no-wrap |
| 528 |
msgid "How DRBD uses generation identifiers" |
| 529 |
msgstr "世代識別子とDRBDの状態" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
msgid "" |
| 533 |
"When a connection between nodes is established, the two nodes exchange their " |
| 534 |
"currently available generation identifiers, and proceed accordingly. A " |
| 535 |
"number of possible outcomes exist:" |
| 536 |
msgstr "" |
| 537 |
"ノード間の接続が確立すると、2つのノードは現在入手可能な世代識別子を交換し、そ" |
| 538 |
"れに従って処理を続行します。結果は次のようにいくつか考えられます。" |
| 539 |
|
| 540 |
#. type: Block title |
| 541 |
#, no-wrap |
| 542 |
msgid "Current UUIDs empty on both nodes" |
| 543 |
msgstr "両ノードのカレントUUIDが空の場合" |
| 544 |
|
| 545 |
#. type: Plain text |
| 546 |
msgid "" |
| 547 |
"The local node detects that both its current UUID and the peer's current " |
| 548 |
"UUID are empty. This is the normal occurrence for a freshly configured " |
| 549 |
"resource that has not had the initial full sync initiated. No " |
| 550 |
"synchronization takes place; it has to be started manually." |
| 551 |
msgstr "" |
| 552 |
"ローカルノードと対向ノードの両方でカレントUUIDが空の状態です。新規に構成さ" |
| 553 |
"れ、初回フル同期が完了していない場合は、通常この状態です。同期が開始していな" |
| 554 |
"いため、手動で開始する必要があります。" |
| 555 |
|
| 556 |
#. type: Block title |
| 557 |
#, no-wrap |
| 558 |
msgid "Current UUIDs empty on one node" |
| 559 |
msgstr "1つのノードのカレントUUIDが空の場合" |
| 560 |
|
| 561 |
#. type: Plain text |
| 562 |
msgid "" |
| 563 |
"The local node detects that the peer's current UUID is empty, and its own is " |
| 564 |
"not. This is the normal case for a freshly configured resource on which the " |
| 565 |
"initial full sync has just been initiated, the local node having been " |
| 566 |
"selected as the initial synchronization source. DRBD now sets all bits in " |
| 567 |
"the on-disk sync bitmap (meaning it considers the entire device out-of-" |
| 568 |
"sync), and starts synchronizing as a synchronization source. In the opposite " |
| 569 |
"case (local current UUID empty, peer's non-empty), DRBD performs the same " |
| 570 |
"steps, except that the local node becomes the synchronization target." |
| 571 |
msgstr "" |
| 572 |
"対向ノードのカレントUUIDが空で、自身は空でない場合です。これは、ローカルノー" |
| 573 |
"ドを同期元とした初期フル同期が進行中であることを表します。ローカルノードの" |
| 574 |
"DRBDはディスク上の同期ビットマップのすべてのビットを1にして、ディスク全体が非" |
| 575 |
"同期だと マークします。その後ローカルノードを同期元とした同期が始まります。逆" |
| 576 |
"の場合(ローカルのカレントUUIDが空で、対向ノードが空でない場合)は、DRBDは同様" |
| 577 |
"のステップをとります。ただし、ローカルノードが同期先になります。" |
| 578 |
|
| 579 |
#. type: Block title |
| 580 |
#, no-wrap |
| 581 |
msgid "Equal current UUIDs" |
| 582 |
msgstr "カレントUUIDが等しい場合" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
msgid "" |
| 586 |
"The local node detects that its current UUID and the peer's current UUID are " |
| 587 |
"non-empty and equal. This is the normal occurrence for a resource that went " |
| 588 |
"into disconnected mode at a time when it was in the secondary role, and was " |
| 589 |
"not promoted on either node while disconnected. No synchronization takes " |
| 590 |
"place, as none is necessary." |
| 591 |
msgstr "" |
| 592 |
"ローカルのカレントUUIDと対向ノードのカレントUUIDが空でなく、同じ値を持ってい" |
| 593 |
"る状態です。両ノードがともにセカンダリで、通信切断中にどのノードもプライマリ" |
| 594 |
"にならなかったことを表します。この状態では同期は必要ありません。" |
| 595 |
|
| 596 |
#. type: Block title |
| 597 |
#, no-wrap |
| 598 |
msgid "Bitmap UUID matches peer's current UUID" |
| 599 |
msgstr "ビットマップUUIDが対向ノードのカレントUUIDと一致する場合" |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
msgid "" |
| 603 |
"The local node detects that its bitmap UUID matches the peer's current UUID, " |
| 604 |
"and that the peer's bitmap UUID is empty. This is the normal and expected " |
| 605 |
"occurrence after a secondary node failure, with the local node being in the " |
| 606 |
"primary role. It means that the peer never became primary in the meantime " |
| 607 |
"and worked on the basis of the same data generation all along. DRBD now " |
| 608 |
"initiates a normal, background re-synchronization, with the local node " |
| 609 |
"becoming the synchronization source. If, conversely, the local node detects " |
| 610 |
"that _its_ bitmap UUID is empty, and that the _peer's_ bitmap matches the " |
| 611 |
"local node's current UUID, then that is the normal and expected occurrence " |
| 612 |
"after a failure of the local node. Again, DRBD now initiates a normal, " |
| 613 |
"background re-synchronization, with the local node becoming the " |
| 614 |
"synchronization target." |
| 615 |
msgstr "" |
| 616 |
"ローカルノードのビットマップUUIDが対向ノードのカレントUUIDと一致し、対向ノー" |
| 617 |
"ドのビットマップUUIDが空の状態です。これは、ローカルノードがプライマリで動作" |
| 618 |
"している間にセカンダリノードが停止して再起動したときに生じる正常な状態です。" |
| 619 |
"これは、リモートノードは決してプライマリにならず、ずっと同じデータ世代にもと" |
| 620 |
"づいて動作していたことを意味します。この場合、ローカルノードを同期元とする通" |
| 621 |
"常のバックグラウンド再同期が開始します。逆に、ローカルノード _自身の_ ビット" |
| 622 |
"マップUUIDが空で、 _対向ノードの_ ビットマップがローカルノードのカレントUUID" |
| 623 |
"と一致する状態の場合は、これはローカルノードの再起動に伴う正常な状態です。そ" |
| 624 |
"して、ローカルノードを同期先とする通常のバックグラウンド再同期が開始します。" |
| 625 |
|
| 626 |
#. type: Block title |
| 627 |
#, no-wrap |
| 628 |
msgid "Current UUID matches peer's historical UUID" |
| 629 |
msgstr "カレントUUIDが対向ノードの履歴UUIDと一致する場合" |
| 630 |
|
| 631 |
#. type: Plain text |
| 632 |
msgid "" |
| 633 |
"The local node detects that its current UUID matches one of the peer's " |
| 634 |
"historical UUIDs. This implies that while the two data sets share a common " |
| 635 |
"ancestor, and the peer node has the up-to-date data, the information kept in " |
| 636 |
"the peer node's bitmap is outdated and not usable. Thus, a normal " |
| 637 |
"synchronization would be insufficient. DRBD now marks the entire device as " |
| 638 |
"out-of-sync and initiates a full background re-synchronization, with the " |
| 639 |
"local node becoming the synchronization target. In the opposite case (one of " |
| 640 |
"the local node's historical UUID matches the peer's current UUID), DRBD " |
| 641 |
"performs the same steps, except that the local node becomes the " |
| 642 |
"synchronization source." |
| 643 |
msgstr "" |
| 644 |
"ローカルノードのカレントUUIDが対向ノードの履歴UUIDのうちの1つと一致する状態で" |
| 645 |
"す。これは過去のある時点では同じデータを持っていたが、現在は対向ノードが最新" |
| 646 |
"のデータを持ち、しかし対向ノードのビットマップUUIDが古くなって使用できない状" |
| 647 |
"態です。通常の部分同期では不十分なため、ローカルノードを同期元とするフル同期" |
| 648 |
"が開始します。DRBDはデバイス全体を非同期状態とし、ローカルノードを同期先とす" |
| 649 |
"るバックグラウンドでのフル再同期を始めます。逆の場合(ローカルノードの履歴UUID" |
| 650 |
"のうち1つが対向ノードのカレントUUIDと一致する)、DRBDは同様のステップを行いま" |
| 651 |
"すが、ローカルノードが同期元となります。" |
| 652 |
|
| 653 |
#. ERROR: FIXME |
| 654 |
#. type: Block title |
| 655 |
#, no-wrap |
| 656 |
msgid "Bitmap UUIDs match, current UUIDs do not" |
| 657 |
msgstr "ビットマップUUIDが一致し、カレントUUIDが一致しない場合" |
| 658 |
|
| 659 |
#. type: Plain text |
| 660 |
msgid "" |
| 661 |
"indexterm:[split brain]The local node detects that its current UUID differs " |
| 662 |
"from the peer's current UUID, and that the bitmap UUIDs match. This is split " |
| 663 |
"brain, but one where the data generations have the same parent. This means " |
| 664 |
"that DRBD invokes split brain auto-recovery strategies, if configured. " |
| 665 |
"Otherwise, DRBD disconnects and waits for manual split brain resolution." |
| 666 |
msgstr "" |
| 667 |
"indexterm:[スプリットブレイン]ローカルノードのカレントUUIDが対向ノードのカレ" |
| 668 |
"ントUUIDと異なるが、ビットマップUUIDは一致する状態はスプリットブレインです。" |
| 669 |
"ただし、データ世代は同じ親を持っています。この場合、設定されていればDRBDがス" |
| 670 |
"プリットブレイン自動回復ストラテジが実行されます。設定されていない場合、DRBD" |
| 671 |
"はノード間の通信を切断し、手動でスプリットブレインが解決されるまで待機しま" |
| 672 |
"す。" |
| 673 |
|
| 674 |
#. type: Block title |
| 675 |
#, no-wrap |
| 676 |
msgid "Neither current nor bitmap UUIDs match" |
| 677 |
msgstr "カレントUUIDもビットマップUUIDも一致しない場合" |
| 678 |
|
| 679 |
#. type: Plain text |
| 680 |
msgid "" |
| 681 |
"The local node detects that its current UUID differs from the peer's current " |
| 682 |
"UUID, and that the bitmap UUIDs _do not_ match. This is split brain with " |
| 683 |
"unrelated ancestor generations, thus auto-recovery strategies, even if " |
| 684 |
"configured, are moot. DRBD disconnects and waits for manual split brain " |
| 685 |
"resolution." |
| 686 |
msgstr "" |
| 687 |
"ローカルノードのカレントUUIDが対向ノードのカレントUUIDと異なり、ビットマップ" |
| 688 |
"UUIDも _一致しない_ 状態です。これもスプリットブレインで、しかも過去に同一の" |
| 689 |
"データ状態であったという保証もありません。したがって、自動回復ストラテジが構" |
| 690 |
"成されていても役に立ちません。DRBDはノード間通信を切断し、手動でスプリットブ" |
| 691 |
"レインが解決されるまで待機します。" |
| 692 |
|
| 693 |
#. type: Block title |
| 694 |
#, no-wrap |
| 695 |
msgid "No UUIDs match" |
| 696 |
msgstr "いずれのUUIDも一致しない場合" |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
msgid "" |
| 700 |
"Finally, in case DRBD fails to detect even a single matching element in the " |
| 701 |
"two nodes' GI tuples, it logs a warning about unrelated data and " |
| 702 |
"disconnects. This is DRBD's safeguard against accidental connection of two " |
| 703 |
"cluster nodes that have never heard of each other before." |
| 704 |
msgstr "" |
| 705 |
"最後は、DRBDが2つのノードのGIタプルの中に一致するものを1つも検出できない場合" |
| 706 |
"です。この場合DRBDは、\"Unrelate data\"という警告をログに書き込んでコネクショ" |
| 707 |
"ンを切断します。これは、相互にまったく関連のない2つのクラスタノードが誤って接" |
| 708 |
"続された場合に備えるDRBDの機能です。" |
| 709 |
|
| 710 |
#. type: Title === |
| 711 |
#, no-wrap |
| 712 |
msgid "The Activity Log" |
| 713 |
msgstr "アクティビティログ" |
| 714 |
|
| 715 |
#. type: Title ==== |
| 716 |
#, no-wrap |
| 717 |
msgid "Purpose" |
| 718 |
msgstr "目的" |
| 719 |
|
| 720 |
#. type: Plain text |
| 721 |
msgid "" |
| 722 |
"indexterm:[Activity Log]During a write operation DRBD forwards the write " |
| 723 |
"operation to the local backing block device, but also sends the data block " |
| 724 |
"over the network. These two actions occur, for all practical purposes, " |
| 725 |
"simultaneously. Random timing behavior may cause a situation where the write " |
| 726 |
"operation has been completed, but the transmission via the network has not " |
| 727 |
"yet taken place, or vice versa." |
| 728 |
msgstr "" |
| 729 |
"indexterm:[アクティビティログ]書き込み操作中に、DRBDは書き込み操作をローカル" |
| 730 |
"の下位ブロックデバイスに転送するだけでなく、ネットワークを介して送信します。" |
| 731 |
"実用的な目的で、この2つの操作は同時に実行されます。タイミングがランダムな場合" |
| 732 |
"は、書込み操作が完了しても、ネットワークを介した転送がまだ始まっていないと" |
| 733 |
"いった状況が発生する可能性があります。その逆の場合もあります。" |
| 734 |
|
| 735 |
#. type: Plain text |
| 736 |
msgid "" |
| 737 |
"If, at this moment, the active node fails and fail-over is being initiated, " |
| 738 |
"then this data block is out of sync between nodes -- it has been written on " |
| 739 |
"the failed node prior to the crash, but replication has not yet completed. " |
| 740 |
"Thus, when the node eventually recovers, this block must be removed from the " |
| 741 |
"data set during subsequent synchronization. Otherwise, the crashed node " |
| 742 |
"would be \"one write ahead\" of the surviving node, which would violate the " |
| 743 |
"\"all or nothing\" principle of replicated storage. This is an issue that is " |
| 744 |
"not limited to DRBD, in fact, this issue exists in practically all " |
| 745 |
"replicated storage configurations. Many other storage solutions (just as " |
| 746 |
"DRBD itself, prior to version 0.7) thus require that after a failure of the " |
| 747 |
"active node the data must be fully synchronized after its recovery." |
| 748 |
msgstr "" |
| 749 |
"この状況で、アクティブなノードに障害が発生してフェイルオーバが始まると、この" |
| 750 |
"データブロックのノード間の同期は失われます。障害が発生したノードにはクラッ" |
| 751 |
"シュ前にデータブロックが書き込まれていますが、レプリケーションはまだ完了して" |
| 752 |
"いません。そのため、ノードが回復しても、このブロックは回復後の同期のデータ" |
| 753 |
"セット中から取り除かれる必要があります。さもなくば、クラッシュしたノードは生" |
| 754 |
"き残ったノードに対して「先書き」状態となり、レプリケーションストレージの" |
| 755 |
"「オール・オア・ナッシング」の原則に違反してしまいます。これはDRBDだけでな" |
| 756 |
"く、実際、すべてのレプリケーションストレージの構成で問題になります。バージョ" |
| 757 |
"ン0.6以前のDRBDを含む他の多くのストレージソリューションでは、アクティブなノー" |
| 758 |
"ドに障害が発生した場合、回復後にそのノードを改めてフル同期する必要がありま" |
| 759 |
"す。" |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
msgid "" |
| 763 |
"DRBD's approach, since version 0.7, is a different one. The _activity log_ " |
| 764 |
"(AL), stored in the meta data area, keeps track of those blocks that have " |
| 765 |
"\"recently\" been written to. Colloquially, these areas are referred to as " |
| 766 |
"_hot extents_." |
| 767 |
msgstr "" |
| 768 |
"バージョン0.7以降のDRBDは、これとは異なるアプローチを採用しています。_アク" |
| 769 |
"ティビティログ_(AL)は、メタデータ領域にに格納され、「最近」書き込まれたブロッ" |
| 770 |
"クを追跡します。この領域は _ホットエクステント_ と呼ばれます。" |
| 771 |
|
| 772 |
#. type: Plain text |
| 773 |
msgid "" |
| 774 |
"If a temporarily failed node that was in active mode at the time of failure " |
| 775 |
"is synchronized, only those hot extents highlighted in the AL need to be " |
| 776 |
"synchronized (plus any blocks marked in the bitmap on the now-active peer), " |
| 777 |
"rather than the full device. This drastically reduces synchronization time " |
| 778 |
"after an active node crash." |
| 779 |
msgstr "" |
| 780 |
"アクティブモードだったノードに一時的な障害が発生し、同期が行われる場合は、デ" |
| 781 |
"バイス全体ではなくALでハイライトされたホットエクステントだけが同期されます。" |
| 782 |
"(それに加えて現在アクティブな対向ノードのビットマップのマークされたブロック" |
| 783 |
"も)これによって、アクティブなノードがクラッシュしたときの同期時間を大幅に短縮" |
| 784 |
"できます。" |
| 785 |
|
| 786 |
#. type: Title ==== |
| 787 |
#, no-wrap |
| 788 |
msgid "Active extents" |
| 789 |
msgstr "アクティブエクステント" |
| 790 |
|
| 791 |
#. type: Plain text |
| 792 |
msgid "" |
| 793 |
"indexterm:[Activity Log]The activity log has a configurable parameter, the " |
| 794 |
"number of active extents. Every active extent adds 4MiB to the amount of " |
| 795 |
"data being retransmitted after a Primary crash. This parameter must be " |
| 796 |
"understood as a compromise between the following opposites:" |
| 797 |
msgstr "" |
| 798 |
"indexterm:[アクティビティログ]アクティビティログの設定可能なパラメータに、ア" |
| 799 |
"クティブエクステントの数があります。アクティブエクステントは4MiB単位でプライ" |
| 800 |
"マリのクラッシュ後に再送されるデータ量に追加されます。このパラメータは、次の" |
| 801 |
"対立する2つの状況の折衷案としてご理解ください。" |
| 802 |
|
| 803 |
#. type: Block title |
| 804 |
#, no-wrap |
| 805 |
msgid "Many active extents" |
| 806 |
msgstr "アクティブエクステントが多い場合" |
| 807 |
|
| 808 |
#. type: Plain text |
| 809 |
msgid "" |
| 810 |
"Keeping a large activity log improves write throughput. Every time a new " |
| 811 |
"extent is activated, an old extent is reset to inactive. This transition " |
| 812 |
"requires a write operation to the meta data area. If the number of active " |
| 813 |
"extents is high, old active extents are swapped out fairly rarely, reducing " |
| 814 |
"meta data write operations and thereby improving performance." |
| 815 |
msgstr "" |
| 816 |
"大量のアクティビティログを記録すれば書き込みスループットが向上します。新しい" |
| 817 |
"エクステントがアクティブになるたびに、古いエクステントが非アクティブにリセッ" |
| 818 |
"トされます。この移行には、メタデータ領域への書き込み操作が必要です。アクティ" |
| 819 |
"ブエクステントの数が多い場合は、古いアクティブエクステントはめったにスワップ" |
| 820 |
"アウトされないため、メタデータの書き込み操作が減少し、その結果パフォーマンス" |
| 821 |
"が向上します。" |
| 822 |
|
| 823 |
#. type: Block title |
| 824 |
#, no-wrap |
| 825 |
msgid "Few active extents" |
| 826 |
msgstr "アクティブエクステントが少ない場合" |
| 827 |
|
| 828 |
#. type: Plain text |
| 829 |
msgid "" |
| 830 |
"Keeping a small activity log reduces synchronization time after active node " |
| 831 |
"failure and subsequent recovery." |
| 832 |
msgstr "" |
| 833 |
"アクティビティログが小さい場合は、アクティブなノードが障害から回復した後の同" |
| 834 |
"期時間が短くなります。" |
| 835 |
|
| 836 |
#. type: Title ==== |
| 837 |
#, no-wrap |
| 838 |
msgid "Selecting a suitable Activity Log size" |
| 839 |
msgstr "アクティビティログの適切なサイズの選択" |
| 840 |
|
| 841 |
#. type: Plain text |
| 842 |
msgid "" |
| 843 |
"indexterm:[Activity Log]Consideration of the number of extents should be " |
| 844 |
"based on the desired synchronization time at a given synchronization rate. " |
| 845 |
"The number of active extents can be calculated as follows:" |
| 846 |
msgstr "" |
| 847 |
"エクステントの数は所定の同期速度における適切な同期時間にもとづいて定義しま" |
| 848 |
"す。アクティブエクステントの数は次のようにして算出できます。" |
| 849 |
|
| 850 |
#. type: Block title |
| 851 |
#, no-wrap |
| 852 |
msgid "Active extents calculation based on sync rate and target sync time" |
| 853 |
msgstr "同期速度とターゲットの同期時間にもとづくアクティブエクステントの計算" |
| 854 |
|
| 855 |
#. type: Target for macro image |
| 856 |
#, no-wrap |
| 857 |
msgid "images/al-extents.svg" |
| 858 |
msgstr "images/al-extents.svg" |
| 859 |
|
| 860 |
#. type: Plain text |
| 861 |
msgid "" |
| 862 |
"_R_ is the synchronization rate, given in MiB/s. _t~sync~_ is the target " |
| 863 |
"synchronization time, in seconds. _E_ is the resulting number of active " |
| 864 |
"extents." |
| 865 |
msgstr "" |
| 866 |
"_R_ はMiB/秒単位の同期速度、_t~sync~_ 秒単位のターゲットの同期時間です。_E_ " |
| 867 |
"は求めるアクティブエクステントの数です。" |
| 868 |
|
| 869 |
#. type: Plain text |
| 870 |
msgid "" |
| 871 |
"To provide an example, suppose the cluster has an I/O subsystem with a " |
| 872 |
"throughput rate of 200 MiByte/s that was configured to a synchronization " |
| 873 |
"rate (_R_) of 60 MiByte/s, and we want to keep the target synchronization " |
| 874 |
"time (_t~sync~_) at 4 minutes or 240 seconds:" |
| 875 |
msgstr "" |
| 876 |
"スループット速度が200MiByte/秒のI/Oサブシステムがあり、同期速度(_R_)が" |
| 877 |
"60MiByte/sに設定されているとします。ターゲットの同期時間( _t~sync~_ ) は4分ま" |
| 878 |
"たは240秒を維持する必要があります。" |
| 879 |
|
| 880 |
#. type: Block title |
| 881 |
#, no-wrap |
| 882 |
msgid "Active extents calculation based on sync rate and target sync time (example)" |
| 883 |
msgstr "同期速度とターゲット同期時間にもとづくアクティブエクステントの計算(例)" |
| 884 |
|
| 885 |
#. type: Target for macro image |
| 886 |
#, no-wrap |
| 887 |
msgid "images/al-extents-example.svg" |
| 888 |
msgstr "images/al-extents-example.svg" |
| 889 |
|
| 890 |
#. type: Plain text |
| 891 |
msgid "" |
| 892 |
"On a final note, DRBD 9 needs to keep an AL even on the Secondary nodes, as " |
| 893 |
"their data might be used to synchronize other Secondary nodes." |
| 894 |
msgstr "" |
| 895 |
"また、最後に付け加えると、DRBD9ではデータを他のセカンダリノードへ同期させるの" |
| 896 |
"で、セカンダリノードでもALを維持する必要があります。" |
| 897 |
|
| 898 |
#. type: Title === |
| 899 |
#, no-wrap |
| 900 |
msgid "The quick-sync bitmap" |
| 901 |
msgstr "クイック同期ビットマップ" |
| 902 |
|
| 903 |
#. type: Plain text |
| 904 |
msgid "" |
| 905 |
"indexterm:[quick-sync bitmap]indexterm:[bitmap (DRBD-specific concept)]The " |
| 906 |
"quick-sync bitmap is the internal data structure which DRBD uses, on a per-" |
| 907 |
"resource per-peer basis, to keep track of blocks being in sync (identical on " |
| 908 |
"both nodes) or out-of sync. It is only relevant when a resource is in " |
| 909 |
"disconnected mode." |
| 910 |
msgstr "" |
| 911 |
"indexterm:[くいっくどうきびっとまっぷ@クイック同期ビットマップ]indexterm:" |
| 912 |
"[ビットマップ]クイック同期ビットマップはDRBDが各対向ノードがリソースごとに使" |
| 913 |
"用する内部データ構造で、同期ブロック(両方のノードで同一)または非同期ブロック" |
| 914 |
"を追跡します。ビットマップはノード間通信が切断しているときのみ使われます。" |
| 915 |
|
| 916 |
#. type: Plain text |
| 917 |
msgid "" |
| 918 |
"In the quick-sync bitmap, one bit represents a 4-KiB chunk of on-disk data. " |
| 919 |
"If the bit is cleared, it means that the corresponding block is still in " |
| 920 |
"sync with the peer node. That implies that the block has not been written to " |
| 921 |
"since the time of disconnection. Conversely, if the bit is set, it means " |
| 922 |
"that the block has been modified and needs to be re-synchronized whenever " |
| 923 |
"the connection becomes available again." |
| 924 |
msgstr "" |
| 925 |
"クイック同期ビットマップでは、1ビットが4KiBチャンクのオンディスクデータを表し" |
| 926 |
"ます。ビットがクリアされていれば、対応するブロックが対向ノードと同期していま" |
| 927 |
"す。つまり、切断以降、ブロックに書き込まれていないということです。逆に、ビッ" |
| 928 |
"トがセットされていればブロックが変更されているため、接続が再確立したらすぐに" |
| 929 |
"再同期を行う必要があります。" |
| 930 |
|
| 931 |
#. type: Plain text |
| 932 |
msgid "" |
| 933 |
"As DRBD detects write I/O on a disconnected device, and hence starts setting " |
| 934 |
"bits in the quick-sync bitmap, it does so in RAM -- thus avoiding expensive " |
| 935 |
"synchronous metadata I/O operations. Only when the corresponding blocks turn " |
| 936 |
"cold (that is, expire from the <<s-activity-log,Activity Log>>), DRBD makes " |
| 937 |
"the appropriate modifications in an on-disk representation of the quick-sync " |
| 938 |
"bitmap. Likewise, if the resource happens to be manually shut down on the " |
| 939 |
"remaining node while disconnected, DRBD flushes the _complete_ quick-sync " |
| 940 |
"bitmap out to persistent storage." |
| 941 |
msgstr "" |
| 942 |
"スタンドアロンノードでディスクにデータが書き込まれると、クイック同期ビット" |
| 943 |
"マップへの書き込みも始まります。ディスクへの同期的なI/Oは負荷が大きいため、実" |
| 944 |
"際にはメモリ上のビットマップのビットがセットされます。<<s-activity-log,アク" |
| 945 |
"ティビティログ>>が期限切れになってブロックがコールドになると、メモリ上のビッ" |
| 946 |
"トマップがディスクに書き込まれます。同様に、生き残ったスタンドアロンのノード" |
| 947 |
"でリソースが手動でシャットダウンされると、DRBDは _すべての_ ビットマップを" |
| 948 |
"ディスクにフラッシュします。" |
| 949 |
|
| 950 |
#. type: Plain text |
| 951 |
msgid "" |
| 952 |
"When the peer node recovers or the connection is re-established, DRBD " |
| 953 |
"combines the bitmap information from both nodes to determine the _total data " |
| 954 |
"set_ that it must re-synchronize. Simultaneously, DRBD <<s-gi-use,examines " |
| 955 |
"the generation identifiers>> to determine the _direction_ of synchronization." |
| 956 |
msgstr "" |
| 957 |
"リモートノードが回復するか接続が再確立すると、DRBDは両方のノードのビットマッ" |
| 958 |
"プ情報を照合して、再同期が必要な _すべてのデータ領域_ を決定します。同時に" |
| 959 |
"DRBDは<<s-gi-use,世代識別子>>を調べ、同期の _方向_ を決定します。" |
| 960 |
|
| 961 |
#. type: Plain text |
| 962 |
msgid "" |
| 963 |
"The node acting as the synchronization source then transmits the agreed-upon " |
| 964 |
"blocks to the peer node, clearing sync bits in the bitmap as the " |
| 965 |
"synchronization target acknowledges the modifications. If the re-" |
| 966 |
"synchronization is now interrupted (by another network outage, for example) " |
| 967 |
"and subsequently resumed it will continue where it left off" |
| 968 |
msgstr "" |
| 969 |
"同期元ノードが同期対象ブロックを対向ノードに送信し、同期先が変更を確認する" |
| 970 |
"と、ビットマップの同期ビットがクリアされます。その後再開すると、中断した箇所" |
| 971 |
"から同期を続行します。" |
| 972 |
|
| 973 |
#. type: Plain text |
| 974 |
msgid "" |
| 975 |
"with any additional blocks modified in the meantime being added to the re-" |
| 976 |
"synchronization data set, of course." |
| 977 |
msgstr "" |
| 978 |
"中断中にブロックが変更された場合、もちろんそのブロックが再同期データセットに" |
| 979 |
"追加されます。" |
| 980 |
|
| 981 |
#. type: Plain text |
| 982 |
msgid "" |
| 983 |
"Re-synchronization may be also be paused and resumed manually with the " |
| 984 |
"indexterm:[drbdadm, pause-sync]`drbdadm pause-sync` and indexterm:[drbdadm, " |
| 985 |
"resume-sync]`drbdadm resume-sync` commands. You should, however, not do so " |
| 986 |
"light-heartedly -- interrupting re-synchronization leaves your secondary " |
| 987 |
"node's disk _Inconsistent_ longer than necessary." |
| 988 |
msgstr "" |
| 989 |
"`drbdadm pause-sync` と `drbdadm resume-sync` コマンドを使用して、再同期を手" |
| 990 |
"動で一時停止したり再開することもできます。ただしこれは慎重に行ってください。" |
| 991 |
"再同期を中断すると、セカンダリノードのディスクが必要以上に長く " |
| 992 |
"`Inconsistent` 状態になります。" |
| 993 |
|
| 994 |
#. type: Title === |
| 995 |
#, no-wrap |
| 996 |
msgid "The Peer-Fencing interface" |
| 997 |
msgstr "peer fencingインタフェース" |
| 998 |
|
| 999 |
#. type: Plain text |
| 1000 |
msgid "" |
| 1001 |
"DRBD has an interface defined for fencingfootnote:[For a discussion about " |
| 1002 |
"Fencing and STONITH, please see the corresponding Pacemaker page http://" |
| 1003 |
"clusterlabs.org/doc/crm_fencing.html.] the peer node in case of the " |
| 1004 |
"replication link being interrupted. The `fence-peer` should mark the disk(s) " |
| 1005 |
"on the peer node as _Outdated_, or shut down the peer node. It has to " |
| 1006 |
"fulfill these tasks under the assumption that the replication network is " |
| 1007 |
"down." |
| 1008 |
msgstr "" |
| 1009 |
"DRBDにはレプリケーションリンクが途切れたときに対向ノードをフェンシング " |
| 1010 |
"footnote:[フェンシングとSTONITHについては http://clusterlabs.org/doc/" |
| 1011 |
"crm_fencing.html の対応するPacemakerのページをご参照ください] するよう定義さ" |
| 1012 |
"れたインタフェースがあります。 `fence-peer` は、対向ノード上のディスクを " |
| 1013 |
"_Outdated_ としてマークするか、対向ノードをシャットダウンする必要があります。" |
| 1014 |
"レプリケーションネットワークがダウンしていることを前提として、これらのタスク" |
| 1015 |
"を実行する必要があります。" |
| 1016 |
|
| 1017 |
#. type: Plain text |
| 1018 |
msgid "The fencing helper is invoked only in case" |
| 1019 |
msgstr "fencingヘルパーは次のすべてを満たす場合にのみ呼び出されます。" |
| 1020 |
|
| 1021 |
#. type: Plain text |
| 1022 |
msgid "" |
| 1023 |
"a `fence-peer` handler has been defined in the resource's (or `common`) " |
| 1024 |
"`handlers` section, _and_" |
| 1025 |
msgstr "" |
| 1026 |
"リソース(または `common` )の `handlers` セクションで `fence-peer` ハンドラが" |
| 1027 |
"定義されており" |
| 1028 |
|
| 1029 |
#. type: Plain text |
| 1030 |
msgid "" |
| 1031 |
"the `fencing` option for the resource is set to either `resource-only` or " |
| 1032 |
"`resource-and-stonith`, _and_" |
| 1033 |
msgstr "" |
| 1034 |
"`fencing` オプションで、 `resource-only` または `resource-and-stonith` が設定" |
| 1035 |
"されており、" |
| 1036 |
|
| 1037 |
#. type: Plain text |
| 1038 |
msgid "" |
| 1039 |
"the node was primary _and_ the replication link is interrupted long enough " |
| 1040 |
"for DRBDfootnote:[That means e.g. a TCP timeout, the `ping-timeout`, or the " |
| 1041 |
"kernel triggers a connection abort e.g. because the network link goes down.] " |
| 1042 |
"to detect a network failure. _or_" |
| 1043 |
msgstr "" |
| 1044 |
"ノードはプライマリであった。レプリケーションリンクは DRBD がネットワーク障害" |
| 1045 |
"を検出 [つまり TCP タイムアウト、`ping-timeout`、またはカーネルがネットワーク" |
| 1046 |
"障害を検出、例えばネットワークリンクがダウンしたときなど] するのに十分な時間" |
| 1047 |
"中断され 、" |
| 1048 |
|
| 1049 |
#. type: Plain text |
| 1050 |
msgid "" |
| 1051 |
"the node should promote to primary _and_ is not connected to the peer _and_ " |
| 1052 |
"the peer's disks are not already marked as _Outdated_." |
| 1053 |
msgstr "" |
| 1054 |
"ノードはプライマリにプロモートする必要があり、対向ノードに接続されておらず、" |
| 1055 |
"対向ノードのディスクはまだ _Outdated_ としてマークされていない" |
| 1056 |
|
| 1057 |
#. type: Plain text |
| 1058 |
msgid "" |
| 1059 |
"The program or script specified as the `fence-peer` handler, when it is " |
| 1060 |
"invoked, has the `DRBD_RESOURCE` and `DRBD_PEER` environment variables " |
| 1061 |
"available. They contain the name of the affected DRBD resource and the " |
| 1062 |
"peer's hostname, respectively." |
| 1063 |
msgstr "" |
| 1064 |
"`fence-peer` ハンドラとして指定されたプログラムかスクリプトが呼び出される" |
| 1065 |
"と、 `DRBD_RESOURCE` と `DRBD_PEER` 環境変数が利用できるようになります。これ" |
| 1066 |
"らの環境変数には、それぞれ、影響を受けるDRBDリソース名と対向ホストのホスト名" |
| 1067 |
"が含まれています。" |
| 1068 |
|
| 1069 |
#. type: Plain text |
| 1070 |
msgid "" |
| 1071 |
"Any peer fencing helper program (or script) must return one of the following " |
| 1072 |
"exit codes:" |
| 1073 |
msgstr "" |
| 1074 |
"peer fencingヘルパープログラム(またはスクリプト)は、次のいずれかの終了コード" |
| 1075 |
"を返します。" |
| 1076 |
|
| 1077 |
#. type: Block title |
| 1078 |
#, no-wrap |
| 1079 |
msgid "`fence-peer` handler exit codes" |
| 1080 |
msgstr "`fence-peer` ハンドラの終了コード" |
| 1081 |
|
| 1082 |
#. type: Table |
| 1083 |
#, no-wrap |
| 1084 |
msgid "" |
| 1085 |
"Exit code;Implication\n" |
| 1086 |
"3;Peer's disk state was already _Inconsistent_.\n" |
| 1087 |
"4;Peer's disk state was successfully set to _Outdated_ (or was _Outdated_ to begin with).\n" |
| 1088 |
"5;Connection to the peer node failed, peer could not be reached.\n" |
| 1089 |
"6;Peer refused to be outdated because the affected resource was in the primary role.\n" |
| 1090 |
"7;Peer node was successfully fenced off the cluster. This should never occur unless `fencing` is set to `resource-and-stonith` for the affected resource.\n" |
| 1091 |
msgstr "" |
| 1092 |
"終了コード;意味\n" |
| 1093 |
"3;対向ノードのディスク状態がすでに Inconsistent になっている。\n" |
| 1094 |
"4;対向ノードのディスク状態が正常に `Outdated` に設定された(または最初から `Outdated` だった。)\n" |
| 1095 |
"5;対向ノードへの接続に失敗。対向ノードに到達できなかった。\n" |
| 1096 |
"6;影響を受けるリソースがプライマリロールになっていたため、対向ノードを無効にできなかった。\n" |
| 1097 |
"7;対向ノードがクラスタから正常にフェンシングされた。影響を受けるリソースの `fencing` を `resource-and-stonith` に設定しておかなければ発生しない。\n" |
| 1098 |
|
| 1099 |
#. type: Title === |
| 1100 |
#, no-wrap |
| 1101 |
msgid "The client mode" |
| 1102 |
msgstr "クライアントモード" |
| 1103 |
|
| 1104 |
#. type: Plain text |
| 1105 |
msgid "" |
| 1106 |
"Since version 9.0.13 DRBD supports clients. A client in DRBD speak is just a " |
| 1107 |
"permanently diskless node. In the configuration, it is expressed by using " |
| 1108 |
"the keyword `none` for the backing block device (the `disk` keyword). You " |
| 1109 |
"will notice that in the `drbdsetup status` output you will see the " |
| 1110 |
"`Diskless` disk status displayed in green color. (Usually, a disk state of " |
| 1111 |
"`Diskless` is displayed in red)." |
| 1112 |
msgstr "" |
| 1113 |
"バージョン 9.0.13 以降、DRBD はクライアントモードをサポートします。 DRBD クラ" |
| 1114 |
"イアントは、永続的にディスクレスノードです。下位ブロックデバイスにキーワード " |
| 1115 |
"`none` ( `disk` キーワード) を使用して構成します。 `drbdsetup status` の出力" |
| 1116 |
"に `Diskless` ディスクのステータスが緑色で表示されます(通常 `Diskless` の" |
| 1117 |
"ディスク状態は赤で表示されます)。" |
| 1118 |
|
| 1119 |
#. type: Plain text |
| 1120 |
msgid "" |
| 1121 |
"Internally all the peers of an intentional diskless node are configured with " |
| 1122 |
"the `peer-device-option` `--bitmap=no`. That means that they will not " |
| 1123 |
"allocate a bitmap slot in the meta-data for the intentional diskless peer. " |
| 1124 |
"On the intentional diskless node the device gets marked with the option `--" |
| 1125 |
"diskless=yes` while it is created with the `new-minor` sub-command of " |
| 1126 |
"`drbdsetup`." |
| 1127 |
msgstr "" |
| 1128 |
"内部的には、意図的なディスクレスノードのすべての対向ノードは `peer-device-" |
| 1129 |
"option` `--bitmap=no` で構成されています。つまり、意図的なディスクレスでは、" |
| 1130 |
"対向ノードのメタデータにビットマップスロットを割り当てないということです。意" |
| 1131 |
"図的なディスクレスノードでは、デバイスは `drbdsetup` のサブコマンド `new-" |
| 1132 |
"minor` で作成されている間、オプション `--diskless=yes` でマークされます。" |
| 1133 |
|
| 1134 |
#. type: Plain text |
| 1135 |
msgid "These flags are visible through the `events2` status command:" |
| 1136 |
msgstr "これらのフラグは `events2` ステータスコマンドで表示できます。" |
| 1137 |
|
| 1138 |
#. type: Plain text |
| 1139 |
msgid "" |
| 1140 |
"a `device` might have the `client:` field. If it reports `yes` the local " |
| 1141 |
"device was marked to be permanently diskless." |
| 1142 |
msgstr "" |
| 1143 |
"`device` は `client:` フィールドを持つかもしれません。 `yes` で表示された場" |
| 1144 |
"合、ローカルデバイスは永続的にディスクレスであるとマークされています。" |
| 1145 |
|
| 1146 |
#. type: Plain text |
| 1147 |
msgid "" |
| 1148 |
"a `peer-device` might have the `peer-client` filed. If it says `yes` then " |
| 1149 |
"there is no change-tracking bitmap to that peer." |
| 1150 |
msgstr "" |
| 1151 |
"`peer-device` は `peer-client` フィールドを持つかもしれません。 `yes` で表示" |
| 1152 |
"された場合、その対向ノードへの変更追跡ビットマップはありません。" |
| 1153 |
|
| 1154 |
#. type: Plain text |
| 1155 |
msgid "Relevant commands and implications:" |
| 1156 |
msgstr "関連するコマンドと影響" |
| 1157 |
|
| 1158 |
#. type: Plain text |
| 1159 |
msgid "" |
| 1160 |
"You can only run `drbdsetup peer-device-options --bitmap=yes ...` if bitmap " |
| 1161 |
"slots are available in the meta-data, since a bitmap-slot gets allocated." |
| 1162 |
msgstr "" |
| 1163 |
"ビットマップスロットが割り当てられるため、メタデータでビットマップスロットが" |
| 1164 |
"使用可能な場合にのみ `drbdsetup peer-device-options --bitmap=yes ...` を実行" |
| 1165 |
"できます。" |
| 1166 |
|
| 1167 |
#. type: Plain text |
| 1168 |
msgid "" |
| 1169 |
"The command `drbdsetup peer-device-options --bitmap=no ...` is only possible " |
| 1170 |
"if the peer is diskless, it does _not_ unallocate the bitmap-slot." |
| 1171 |
msgstr "" |
| 1172 |
"コマンド `drbdsetup peer-device-options --bitmap=no ...` は、対向ノードがディ" |
| 1173 |
"スクレスの場合にのみ可能であり、ビットマップスロットの割り当てを解除しませ" |
| 1174 |
"ん。" |
| 1175 |
|
| 1176 |
#. type: Plain text |
| 1177 |
msgid "" |
| 1178 |
"`drbdsetup forget-peer ...` is used to irrevocable free the bitmap-slot " |
| 1179 |
"assigned to a certain peer." |
| 1180 |
msgstr "" |
| 1181 |
"`drbdsetup forget-peer ...` は、特定の対向ノードに割り当てられたビットマップ" |
| 1182 |
"スロットを解放するために使用されます。" |
| 1183 |
|
| 1184 |
#. type: Plain text |
| 1185 |
msgid "" |
| 1186 |
"Connecting two peers with disk where one (or both) expect the peer to be " |
| 1187 |
"permanently diskless fails." |
| 1188 |
msgstr "" |
| 1189 |
"1つ(または両方)が対向ノードが永続的にディスクレスであると予想する場合に、2" |
| 1190 |
"つの対向ノードに接続すると失敗します。" |