| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 9 |
"POT-Creation-Date: 2022-01-06 13:52+0900\n" |
| 10 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 11 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 12 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 13 |
"Language: \n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
|
| 18 |
#. type: Title === |
| 19 |
#, no-wrap |
| 20 |
msgid "Configuring DRBD" |
| 21 |
msgstr "DRBDの設定" |
| 22 |
|
| 23 |
#. type: Title ==== |
| 24 |
#, no-wrap |
| 25 |
msgid "Preparing your lower-level storage" |
| 26 |
msgstr "下位レベルストレージの準備" |
| 27 |
|
| 28 |
#. type: Plain text |
| 29 |
msgid "" |
| 30 |
"After you have installed DRBD, you must set aside a roughly identically " |
| 31 |
"sized storage area on both cluster nodes. This will become the _lower-level " |
| 32 |
"device_ for your DRBD resource. You may use any type of block device found " |
| 33 |
"on your system for this purpose. Typical examples include:" |
| 34 |
msgstr "" |
| 35 |
"DRBDをインストールしたら、両方のクラスタノードにほぼ同じ容量の記憶領域を用意" |
| 36 |
"する必要があります。これがDRBDリソースの _下位レベルデバイス_ になります。シ" |
| 37 |
"ステムの任意のブロックデバイスを下位レベルデバイスとして使用できます。たとえ" |
| 38 |
"ば、次のようなものがあります。" |
| 39 |
|
| 40 |
#. type: Plain text |
| 41 |
msgid "A hard drive partition (or a full physical hard drive)," |
| 42 |
msgstr "ハードドライブのパーティション(または物理ハードドライブ全体)" |
| 43 |
|
| 44 |
#. type: Plain text |
| 45 |
msgid "a software RAID device," |
| 46 |
msgstr "ソフトウェアRAIDデバイス" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
msgid "" |
| 50 |
"an LVM Logical Volume or any other block device configured by the Linux " |
| 51 |
"device-mapper infrastructure," |
| 52 |
msgstr "" |
| 53 |
"LVM論理ボリュームまたはLinuxデバイスマッパインフラストラクチャによって構成さ" |
| 54 |
"れるその他のブロックデバイス" |
| 55 |
|
| 56 |
#. type: Plain text |
| 57 |
msgid "any other block device type found on your system." |
| 58 |
msgstr "システム内のその他のブロックデバイス" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
msgid "" |
| 62 |
"You may also use _resource stacking_, meaning you can use one DRBD device as " |
| 63 |
"a lower-level device for another. Some specific considerations apply to " |
| 64 |
"stacked resources; their configuration is covered in detail in <<s-three-" |
| 65 |
"nodes>>." |
| 66 |
msgstr "" |
| 67 |
"リソースを _スタッキング(積み重ね)_ することもできます。つまり、DRBDデバイス" |
| 68 |
"を他のDRBDデバイスの下位レベルのデバイスとして利用することができます。リソー" |
| 69 |
"スの積み重ねにはいくつかの注意点があります。詳しくは<<s-three-nodes>>を参照く" |
| 70 |
"ださい。" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
msgid "" |
| 74 |
"While it is possible to use loop devices as lower-level devices for DRBD, " |
| 75 |
"doing so is not recommended due to deadlock issues." |
| 76 |
msgstr "" |
| 77 |
"ループデバイスをDRBDの下位レベルデバイスとして使用することもできますが、デッ" |
| 78 |
"ドロックの問題があるためお勧めできません。" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
msgid "" |
| 82 |
"It is _not_ necessary for this storage area to be empty before you create a " |
| 83 |
"DRBD resource from it. In fact it is a common use case to create a two-node " |
| 84 |
"cluster from a previously non-redundant single-server system using DRBD " |
| 85 |
"(some caveats apply -- please refer to <<s-metadata>> if you are planning to " |
| 86 |
"do this)." |
| 87 |
msgstr "" |
| 88 |
"DRBDリソースを作成する前に、そのストレージ領域を空にしておく _必要はありませ" |
| 89 |
"ん_ 。DRBDを使用して、非冗長のシングルサーバシステムから、2ノードのクラスタシ" |
| 90 |
"ステムを作成することは一般的なユースケースですが、いくつか重要な注意点があり" |
| 91 |
"ます。(その場合には<<s-metadata>>を参照ください)" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
msgid "For the purposes of this guide, we assume a very simple setup:" |
| 95 |
msgstr "本ガイドの説明は、次のようなとてもシンプルな構成を前提としています。" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
msgid "Both hosts have a free (currently unused) partition named `/dev/sda7`." |
| 99 |
msgstr "" |
| 100 |
"両ホストには使用可能な(現在未使用の) `/dev/sda7` というパーティションがある。" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
msgid "We are using <<s-internal-meta-data,internal meta data>>." |
| 104 |
msgstr "<<s-internal-meta-data,内部メタデータ>>を使用する。" |
| 105 |
|
| 106 |
#. type: Title ==== |
| 107 |
#, no-wrap |
| 108 |
msgid "Preparing your network configuration" |
| 109 |
msgstr "ネットワーク構成の準備" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
msgid "" |
| 113 |
"It is recommended, though not strictly required, that you run your DRBD " |
| 114 |
"replication over a dedicated connection. At the time of this writing, the " |
| 115 |
"most reasonable choice for this is a direct, back-to-back, Gigabit Ethernet " |
| 116 |
"connection. When DRBD is run over switches, use of redundant components and " |
| 117 |
"the _bonding_ driver (in _active-backup_ mode) is recommended." |
| 118 |
msgstr "" |
| 119 |
"必須要件ではありませんが、DRBDによるレプリケーションの実行には、専用接続を使" |
| 120 |
"用することをお勧めします。この書き込みには、ギガビットイーサネット同士をケー" |
| 121 |
"ブルで直結した接続が最適です。DRBDをスイッチを介して使用する場合には、冗長コ" |
| 122 |
"ンポーネントと _bonding_ ドライバ( _active-backup_ モードで)の使用を推奨しま" |
| 123 |
"す。" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
msgid "" |
| 127 |
"It is generally not recommended to run DRBD replication via routers, for " |
| 128 |
"reasons of fairly obvious performance drawbacks (adversely affecting both " |
| 129 |
"throughput and latency)." |
| 130 |
msgstr "" |
| 131 |
"一般に、ルータを介してDRBDレプリケーションを行うことはお勧めできません。ス" |
| 132 |
"ループットと待ち時間の両方に悪影響を及ぼし、パフォーマンスが大幅に低下しま" |
| 133 |
"す。" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
msgid "" |
| 137 |
"In terms of local firewall considerations, it is important to understand " |
| 138 |
"that DRBD (by convention) uses TCP ports from 7788 upwards, with every " |
| 139 |
"resource listening on a separate port. DRBD uses _two_ TCP connections for " |
| 140 |
"every resource configured. For proper DRBD functionality, it is required " |
| 141 |
"that these connections are allowed by your firewall configuration." |
| 142 |
msgstr "" |
| 143 |
"ローカルファイアウォールの要件として重要な点は、通常、DRBDは7788以上のTCPポー" |
| 144 |
"トを使用し、それぞれのTCPリソースが個別のTCPポート上で待機するということで" |
| 145 |
"す。DRBDは _2つ_ のTCP接続を使用します。これらの接続が許可されるようにファイ" |
| 146 |
"アウォールを設定する必要があります。" |
| 147 |
|
| 148 |
#. type: Plain text |
| 149 |
msgid "" |
| 150 |
"Security considerations other than firewalling may also apply if a Mandatory " |
| 151 |
"Access Control (MAC) scheme such as SELinux or AppArmor is enabled. You may " |
| 152 |
"have to adjust your local security policy so it does not keep DRBD from " |
| 153 |
"functioning properly." |
| 154 |
msgstr "" |
| 155 |
"SELinuxやAppArmorなどのMAC (Mandatory Access Control)スキーマが有効な場合は、" |
| 156 |
"ファイアウォール以外のセキュリティ要件も考慮する場合があります。DRBDが正しく" |
| 157 |
"機能するように、 必要に応じてローカルセキュリティポリシーを調整してください。" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
msgid "" |
| 161 |
"You must, of course, also ensure that the TCP ports for DRBD are not already " |
| 162 |
"used by another application." |
| 163 |
msgstr "" |
| 164 |
"また、DRBDに使用するTCPポートを別のアプリケーションが使用していないことも確認" |
| 165 |
"してください。" |
| 166 |
|
| 167 |
#. type: Plain text |
| 168 |
msgid "" |
| 169 |
"It is not (yet) possible to configure a DRBD resource to support more than " |
| 170 |
"one TCP connection pair. If you want to provide for DRBD connection load-" |
| 171 |
"balancing or redundancy, you can easily do so at the Ethernet level (again, " |
| 172 |
"using the _bonding_ driver)." |
| 173 |
msgstr "" |
| 174 |
"現時点では1つのDRBDリソースに複数のTCPコネクション・ペアを設定することはでき" |
| 175 |
"ません。DRBD接続に負荷分散や冗長性が必要な場合は、イーサネットレベルで簡単に" |
| 176 |
"実現できます(この場合も _bonding_ ドライバを使用してください)。" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
msgid "" |
| 180 |
"Our two DRBD hosts each have a currently unused network interface, `eth1`, " |
| 181 |
"with IP addresses `10.1.1.31` and `10.1.1.32` assigned to it, respectively." |
| 182 |
msgstr "" |
| 183 |
"2つのDRBDホストそれぞれに、現在使用されていないネットワークインタフェース " |
| 184 |
"`eth1` が存在する(IPアドレスはそれぞれ `10.1.1.31` と `10.1.1.32` )。" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
msgid "No other services are using TCP ports 7788 through 7799 on either host." |
| 188 |
msgstr "どちらのホストでも他のサービスがTCPポート7788〜7799を使用していない。" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
msgid "" |
| 192 |
"The local firewall configuration allows both inbound and outbound TCP " |
| 193 |
"connections between the hosts over these ports." |
| 194 |
msgstr "" |
| 195 |
"ローカルファイアウォール設定は、これらのポートを介したホスト間のインバウンド" |
| 196 |
"とアウトバウンドの両方のTCP接続を許可する。" |
| 197 |
|
| 198 |
#. type: Title ==== |
| 199 |
#, no-wrap |
| 200 |
msgid "Configuring your resource" |
| 201 |
msgstr "リソースの設定" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
msgid "" |
| 205 |
"All aspects of DRBD are controlled in its configuration file, `/etc/drbd." |
| 206 |
"conf`. Normally, this configuration file is just a skeleton with the " |
| 207 |
"following contents:" |
| 208 |
msgstr "" |
| 209 |
"DRBDのすべての機能は、設定ファイル `/etc/drbd.conf` で制御されます。通常、こ" |
| 210 |
"の設定ファイルは、次のような内容となっています。" |
| 211 |
|
| 212 |
#. type: delimited block - |
| 213 |
#, no-wrap |
| 214 |
msgid "" |
| 215 |
"include \"/etc/drbd.d/global_common.conf\";\n" |
| 216 |
"include \"/etc/drbd.d/*.res\";\n" |
| 217 |
msgstr "" |
| 218 |
"include \"/etc/drbd.d/global_common.conf\";\n" |
| 219 |
"include \"/etc/drbd.d/*.res\";\n" |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
msgid "" |
| 223 |
"By convention, `/etc/drbd.d/global_common.conf` contains the <<s-drbdconf-" |
| 224 |
"global,`global`>> and <<s-drbdconf-common,`common`>> sections of the DRBD " |
| 225 |
"configuration, whereas the `.res` files contain one <<s-drbdconf-resource," |
| 226 |
"`resource`>> section each." |
| 227 |
msgstr "" |
| 228 |
"通例では、`/etc/drbd.d/global_common.conf` にはDRBD設定の <<s-drbdconf-" |
| 229 |
"global, `global`>> と <<s-drbdconf-common, `common`>> セクションが含まれま" |
| 230 |
"す。また、 `.res` ファイルには各 <<s-drbdconf-resource, `リソース`>> セクショ" |
| 231 |
"ンが含まれます。" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
msgid "" |
| 235 |
"It is also possible to use `drbd.conf` as a flat configuration file without " |
| 236 |
"any `include` statements at all. Such a configuration, however, quickly " |
| 237 |
"becomes cluttered and hard to manage, which is why the multiple-file " |
| 238 |
"approach is the preferred one." |
| 239 |
msgstr "" |
| 240 |
"`drbd.conf` に `include` ステートメントを使用せずにすべての設定を記載すること" |
| 241 |
"も可能です。しかし、設定の見やすさの観点から、複数のファイルに分割することを" |
| 242 |
"お勧めします。" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
msgid "" |
| 246 |
"Regardless of which approach you employ, you should always make sure that " |
| 247 |
"`drbd.conf`, and any other files it includes, are _exactly identical_ on all " |
| 248 |
"participating cluster nodes." |
| 249 |
msgstr "" |
| 250 |
"いずれにしても `drbd.conf` や、その他の設定ファイルは、すべてのクラスタノード" |
| 251 |
"で `正確に同じ` である必要があります。" |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
msgid "" |
| 255 |
"The DRBD source tarball contains an example configuration file in the " |
| 256 |
"`scripts` subdirectory. Binary installation packages will either install " |
| 257 |
"this example configuration directly in `/etc`, or in a package-specific " |
| 258 |
"documentation directory such as `/usr/share/doc/packages/drbd`." |
| 259 |
msgstr "" |
| 260 |
"DRBDのソースtarファイルの `scripts` サブディレクトリに、サンプル設定ファイル" |
| 261 |
"があります。バイナリインストールパッケージの場合、サンプル設定ファイルは直接 " |
| 262 |
"`/etc` にインストールされるか、 `/usr/share/doc/packages/drbd` などのパッケー" |
| 263 |
"ジ固有の文書ディレクトリにインストールされます。" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
msgid "" |
| 267 |
"This section describes only those few aspects of the configuration file " |
| 268 |
"which are absolutely necessary to understand in order to get DRBD up and " |
| 269 |
"running. The configuration file's syntax and contents are documented in " |
| 270 |
"great detail in the man page of `drbd.conf`." |
| 271 |
msgstr "" |
| 272 |
"このセクションは、DRBDを稼働させるために理解しておく必要のある設定ファイルの" |
| 273 |
"項目についての説明です。設定ファイルの構文と内容の詳細については `drbd.conf` " |
| 274 |
"マニュアルページを参照ください。" |
| 275 |
|
| 276 |
#. type: Title ===== |
| 277 |
#, no-wrap |
| 278 |
msgid "Example configuration" |
| 279 |
msgstr "設定例" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
msgid "" |
| 283 |
"For the purposes of this guide, we assume a minimal setup in line with the " |
| 284 |
"examples given in the previous sections:" |
| 285 |
msgstr "" |
| 286 |
"本ガイドでの説明は、前章であげた例をもとにする最小限の構成を前提にしていま" |
| 287 |
"す。" |
| 288 |
|
| 289 |
#. type: Block title |
| 290 |
#, no-wrap |
| 291 |
msgid "Simple DRBD configuration (`/etc/drbd.d/global_common.conf`)" |
| 292 |
msgstr "シンプルなDRBD構成例 (`/etc/drbd.d/global_common.conf`)" |
| 293 |
|
| 294 |
#. type: delimited block - |
| 295 |
#, no-wrap |
| 296 |
msgid "" |
| 297 |
"global {\n" |
| 298 |
" usage-count yes;\n" |
| 299 |
"}\n" |
| 300 |
"common {\n" |
| 301 |
" net {\n" |
| 302 |
" protocol C;\n" |
| 303 |
" }\n" |
| 304 |
"}\n" |
| 305 |
msgstr "" |
| 306 |
"global {\n" |
| 307 |
" usage-count yes;\n" |
| 308 |
"}\n" |
| 309 |
"common {\n" |
| 310 |
" net {\n" |
| 311 |
" protocol C;\n" |
| 312 |
" }\n" |
| 313 |
"}\n" |
| 314 |
|
| 315 |
#. type: Block title |
| 316 |
#, no-wrap |
| 317 |
msgid "Simple DRBD resource configuration (`/etc/drbd.d/r0.res`)" |
| 318 |
msgstr "シンプルなDRBDリソースの構成例 (`/etc/drbd.d/r0.res`)" |
| 319 |
|
| 320 |
#. type: delimited block - |
| 321 |
#, no-wrap |
| 322 |
msgid "" |
| 323 |
"resource \"r0\" {\n" |
| 324 |
" device minor 1;\n" |
| 325 |
" disk \"/dev/sda7\";\n" |
| 326 |
" meta-disk internal;\n" |
| 327 |
msgstr "" |
| 328 |
"resource \"r0\" {\n" |
| 329 |
" device minor 1;\n" |
| 330 |
" disk \"/dev/sda7\";\n" |
| 331 |
" meta-disk internal;\n" |
| 332 |
|
| 333 |
#. type: delimited block - |
| 334 |
#, no-wrap |
| 335 |
msgid "" |
| 336 |
" on \"alice\" {\n" |
| 337 |
" node-id 0;\n" |
| 338 |
" }\n" |
| 339 |
" on \"bob\" {\n" |
| 340 |
" node-id 1;\n" |
| 341 |
" }\n" |
| 342 |
" connection {\n" |
| 343 |
" host \"alice\" address 10.1.1.31:7789;\n" |
| 344 |
" host \"bob\" address 10.1.1.32:7789;\n" |
| 345 |
" }\n" |
| 346 |
"}\n" |
| 347 |
msgstr "" |
| 348 |
" on \"alice\" {\n" |
| 349 |
" node-id 0;\n" |
| 350 |
" }\n" |
| 351 |
" on \"bob\" {\n" |
| 352 |
" node-id 1;\n" |
| 353 |
" }\n" |
| 354 |
" connection {\n" |
| 355 |
" host \"alice\" address 10.1.1.31:7789;\n" |
| 356 |
" host \"bob\" address 10.1.1.32:7789;\n" |
| 357 |
" }\n" |
| 358 |
"}\n" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
msgid "This example configures DRBD in the following fashion:" |
| 362 |
msgstr "この例では、DRBDが次のように設定されます。" |
| 363 |
|
| 364 |
#. type: Plain text |
| 365 |
msgid "" |
| 366 |
"You \"opt in\" to be included in DRBD's usage statistics (see <<fp-usage-" |
| 367 |
"count>>)." |
| 368 |
msgstr "DRBDの使用状況の統計をオプトインとして含める(<<fp-usage-count>>参照)。" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
msgid "" |
| 372 |
"Resources are configured to use fully synchronous replication (<<s-" |
| 373 |
"replication-protocols,Protocol C>>) unless explicitly specified otherwise." |
| 374 |
msgstr "" |
| 375 |
"特に他の指定がない限り完全に同期したレプリケーションを使用するようにリソース" |
| 376 |
"を設定する(<<s-replication-protocols,プロトコルC>>)。" |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
msgid "Our cluster consists of two nodes, 'alice' and 'bob'." |
| 380 |
msgstr "クラスタには2つのノード `alice` と `bob` がある。" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
msgid "" |
| 384 |
"We have a resource arbitrarily named `r0` which uses `/dev/sda7` as the " |
| 385 |
"lower-level device, and is configured with <<s-internal-meta-data,internal " |
| 386 |
"meta data>>." |
| 387 |
msgstr "" |
| 388 |
"`r0` という名前のリソース(名前は自由に設定可能)があり `/dev/sda7` を下位レベ" |
| 389 |
"ルデバイスとして使用し、また、<<s-internal-meta-data,内部メタデータ>>を構成す" |
| 390 |
"る。" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
msgid "" |
| 394 |
"The resource uses TCP port 7789 for its network connections, and binds to " |
| 395 |
"the IP addresses 10.1.1.31 and 10.1.1.32, respectively." |
| 396 |
msgstr "" |
| 397 |
"リソースはネットワーク接続にTCPポート7789を使用し、それぞれIPアドレス" |
| 398 |
"10.1.1.31と10.1.1.32にバインドされる" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
msgid "" |
| 402 |
"The configuration above implicitly creates one volume in the resource, " |
| 403 |
"numbered zero (`0`). For multiple volumes in one resource, modify the syntax " |
| 404 |
"as follows (assuming that the same lower-level storage block devices are " |
| 405 |
"used on both nodes):" |
| 406 |
msgstr "" |
| 407 |
"暗黙的に、上記の設定はリソースの1つのボリュームを作成し、番号 `ゼロ(0)` が付" |
| 408 |
"与されます。1つのリソースに複数のボリュームを設定する場合には、次のようにしま" |
| 409 |
"す(両ノードで下位デバイスとして同レベルでストレージブロックデバイスを使用する" |
| 410 |
"場合)。" |
| 411 |
|
| 412 |
#. type: Block title |
| 413 |
#, no-wrap |
| 414 |
msgid "Multi-volume DRBD resource configuration (`/etc/drbd.d/r0.res`)" |
| 415 |
msgstr "複数ボリュームのDRBDリソース構成例(`/etc/drbd.d/r0.res`)" |
| 416 |
|
| 417 |
#. type: delimited block - |
| 418 |
#, no-wrap |
| 419 |
msgid "" |
| 420 |
"resource \"r0\" {\n" |
| 421 |
" volume 0 {\n" |
| 422 |
" device minor 1;\n" |
| 423 |
" disk \"/dev/sda7\";\n" |
| 424 |
" meta-disk internal;\n" |
| 425 |
" }\n" |
| 426 |
" volume 1 {\n" |
| 427 |
" device minor 2;\n" |
| 428 |
" disk \"/dev/sda7\";\n" |
| 429 |
" meta-disk internal;\n" |
| 430 |
" }\n" |
| 431 |
" on \"alice\" {\n" |
| 432 |
" node-id 0;\n" |
| 433 |
" }\n" |
| 434 |
" on \"bob\" {\n" |
| 435 |
" node-id 1;\n" |
| 436 |
" volume 1 {\n" |
| 437 |
" disk \"/dev/sda9\";\n" |
| 438 |
" }\n" |
| 439 |
" }\n" |
| 440 |
" connection {\n" |
| 441 |
" host \"alice\" address 10.1.1.31:7789;\n" |
| 442 |
" host \"bob\" address 10.1.1.32:7789;\n" |
| 443 |
" }\n" |
| 444 |
"}\n" |
| 445 |
msgstr "" |
| 446 |
"resource \"r0\" {\n" |
| 447 |
" volume 0 {\n" |
| 448 |
" device minor 1;\n" |
| 449 |
" disk \"/dev/sda7\";\n" |
| 450 |
" meta-disk internal;\n" |
| 451 |
" }\n" |
| 452 |
" volume 1 {\n" |
| 453 |
" device minor 2;\n" |
| 454 |
" disk \"/dev/sda7\";\n" |
| 455 |
" meta-disk internal;\n" |
| 456 |
" }\n" |
| 457 |
" on \"alice\" {\n" |
| 458 |
" node-id 0;\n" |
| 459 |
" }\n" |
| 460 |
" on \"bob\" {\n" |
| 461 |
" node-id 1;\n" |
| 462 |
" volume 1 {\n" |
| 463 |
" disk \"/dev/sda9\";\n" |
| 464 |
" }\n" |
| 465 |
" }\n" |
| 466 |
" connection {\n" |
| 467 |
" host \"alice\" address 10.1.1.31:7789;\n" |
| 468 |
" host \"bob\" address 10.1.1.32:7789;\n" |
| 469 |
" }\n" |
| 470 |
"}\n" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
msgid "" |
| 474 |
"Host sections ('on' keyword) inherit _volume_ sections from the resource " |
| 475 |
"level. They may contain _volume_ themselves, these values have precedence " |
| 476 |
"over inherited values." |
| 477 |
msgstr "" |
| 478 |
"ホストセクション('on' キーワード)は、リソースレベルから _volume_ セクション" |
| 479 |
"を継承します。それには _volume_ 自体が含まれる場合があり、この値は継承された" |
| 480 |
"値よりも優先されます。" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
msgid "" |
| 484 |
"Volumes may also be added to existing resources on the fly. For an example " |
| 485 |
"see <<s-lvm-add-pv>>." |
| 486 |
msgstr "" |
| 487 |
"ボリュームは既存のデバイスの動作中にも追加できます。<<s-lvm-add-pv>>をご参照" |
| 488 |
"ください。" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
msgid "" |
| 492 |
"For compatibility with older releases of DRBD it supports also drbd-8.4 like " |
| 493 |
"configuration files." |
| 494 |
msgstr "" |
| 495 |
"DRBD の古いリリースとの互換性のために、drbd-8.4 の構成ファイルもサポートしま" |
| 496 |
"す。" |
| 497 |
|
| 498 |
#. type: Block title |
| 499 |
#, no-wrap |
| 500 |
msgid "An old(8.4) style configuration file" |
| 501 |
msgstr "古い(8.4)スタイルの構成ファイル" |
| 502 |
|
| 503 |
#. type: delimited block - |
| 504 |
#, no-wrap |
| 505 |
msgid "" |
| 506 |
"resource r0 {\n" |
| 507 |
" on alice {\n" |
| 508 |
" device /dev/drbd1;\n" |
| 509 |
" disk /dev/sda7;\n" |
| 510 |
" meta-disk internal;\n" |
| 511 |
" address 10.1.1.31:7789;\n" |
| 512 |
" }\n" |
| 513 |
" on bob {\n" |
| 514 |
" device /dev/drbd1;\n" |
| 515 |
" disk /dev/sda7;\n" |
| 516 |
" meta-disk internal;\n" |
| 517 |
" address 10.1.1.32:7789;\n" |
| 518 |
" }\n" |
| 519 |
msgstr "" |
| 520 |
"resource r0 {\n" |
| 521 |
" on alice {\n" |
| 522 |
" device /dev/drbd1;\n" |
| 523 |
" disk /dev/sda7;\n" |
| 524 |
" meta-disk internal;\n" |
| 525 |
" address 10.1.1.31:7789;\n" |
| 526 |
" }\n" |
| 527 |
" on bob {\n" |
| 528 |
" device /dev/drbd1;\n" |
| 529 |
" disk /dev/sda7;\n" |
| 530 |
" meta-disk internal;\n" |
| 531 |
" address 10.1.1.32:7789;\n" |
| 532 |
" }\n" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
msgid "" |
| 536 |
"Strings that do not contain keywords, might be gives withouth double quotes `" |
| 537 |
"\"`." |
| 538 |
msgstr "" |
| 539 |
"キーワードを含まない文字列は、二重引用符 `\"` なしで指定される場合がありま" |
| 540 |
"す。" |
| 541 |
|
| 542 |
#. type: Plain text |
| 543 |
msgid "" |
| 544 |
"The old version to specify the device, was to give a string containing the " |
| 545 |
"name of the resulting device file." |
| 546 |
msgstr "古いバージョンのデバイス指定は、デバイスファイル名を与えることでした。" |
| 547 |
|
| 548 |
#. type: Plain text |
| 549 |
msgid "Two node configurations get node numbers assigned by drbdadm." |
| 550 |
msgstr "2 ノード構成は、drbdadm によって割り当てられたノード番号を使用します。" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
msgid "A pure two node configuration gets an implicit connection." |
| 554 |
msgstr "純粋な 2 ノード構成は暗黙的な connection を使用します。" |
| 555 |
|
| 556 |
#. type: Title ===== |
| 557 |
#, no-wrap |
| 558 |
msgid "The `global` section" |
| 559 |
msgstr "`global` セクション" |
| 560 |
|
| 561 |
#. type: Plain text |
| 562 |
msgid "" |
| 563 |
"This section is allowed only once in the configuration. It is normally in " |
| 564 |
"the `/etc/drbd.d/global_common.conf` file. In a single-file configuration, " |
| 565 |
"it should go to the very top of the configuration file. Of the few options " |
| 566 |
"available in this section, only one is of relevance to most users:" |
| 567 |
msgstr "" |
| 568 |
"このセクションは設定の中で1回しか使用できません。通常この設定は `/etc/drbd.d/" |
| 569 |
"global_common.conf` ファイルに記述します。設定ファイルが1つの場合は、設定ファ" |
| 570 |
"イルの一番上に記述します。このセクションで使用できるオプションはわずかです" |
| 571 |
"が、ほとんどのユーザーの場合、必要なのは次の1つだけです。" |
| 572 |
|
| 573 |
#. type: Block title |
| 574 |
#, no-wrap |
| 575 |
msgid "`usage-count`" |
| 576 |
msgstr "`usage-count`" |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
msgid "" |
| 580 |
"The DRBD project keeps statistics about the usage of various DRBD versions. " |
| 581 |
"This is done by contacting an HTTP server every time a new DRBD version is " |
| 582 |
"installed on a system. This can be disabled by setting `usage-count no;`. " |
| 583 |
"The default is `usage-count ask;` which will prompt you every time you " |
| 584 |
"upgrade DRBD." |
| 585 |
msgstr "" |
| 586 |
"DRBDプロジェクトはさまざまなバージョンのDRBDの使用状況について統計を取りま" |
| 587 |
"す。これは、システムに新規のDRBDバージョンがインストールされるたびに、HTTP" |
| 588 |
"サーバに接続することにより実行されます。これを無効にするには、 `usage-count " |
| 589 |
"no;` を指定します。デフォルトは `usage-count ask;` で、 DRBDをアップグレード" |
| 590 |
"するたびにプロンプトが表示されます。" |
| 591 |
|
| 592 |
#. type: Plain text |
| 593 |
msgid "" |
| 594 |
"DRBD's usage statistics are, of course, publicly available: see http://usage." |
| 595 |
"drbd.org." |
| 596 |
msgstr "" |
| 597 |
"DRBDの使用状況の統計は公開されています。http://usage.drbd.orgを参照ください。" |
| 598 |
|
| 599 |
#. type: Title ===== |
| 600 |
#, no-wrap |
| 601 |
msgid "The `common` section" |
| 602 |
msgstr "`common` セクション" |
| 603 |
|
| 604 |
#. type: Plain text |
| 605 |
msgid "" |
| 606 |
"This section provides a shorthand method to define configuration settings " |
| 607 |
"inherited by every resource. It is normally found in `/etc/drbd.d/" |
| 608 |
"global_common.conf`. You may define any option you can also define on a per-" |
| 609 |
"resource basis." |
| 610 |
msgstr "" |
| 611 |
"このセクションで、各リソースに継承される設定を簡単に定義できます。通常この設" |
| 612 |
"定は `/etc/drbd.d/global_common.conf` に指定します。ここで定義するオプション" |
| 613 |
"は、リソースごとに定義することもできます。" |
| 614 |
|
| 615 |
#. type: Plain text |
| 616 |
msgid "" |
| 617 |
"Including a `common` section is not strictly required, but strongly " |
| 618 |
"recommended if you are using more than one resource. Otherwise, the " |
| 619 |
"configuration quickly becomes convoluted by repeatedly-used options." |
| 620 |
msgstr "" |
| 621 |
"`common` セクションは必須ではありませんが、複数のリソースを使用する場合は、記" |
| 622 |
"述することを強くお勧めします。これにより、オプションを繰り返し使用することに" |
| 623 |
"よって設定が複雑になることを回避できます。" |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
msgid "" |
| 627 |
"In the example above, we included `net { protocol C; }` in the `common` " |
| 628 |
"section, so every resource configured (including `r0`) inherits this option " |
| 629 |
"unless it has another `protocol` option configured explicitly. For other " |
| 630 |
"synchronization protocols available, see <<s-replication-protocols>>." |
| 631 |
msgstr "" |
| 632 |
"上の例では `net { protocol C; }` が `common` セクションで指定されているため、" |
| 633 |
"設定されているすべてのリソース( `r0` 含む)がこのオプションを継承します。ただ" |
| 634 |
"し、明示的に別の `protocol` オプションが指定されている場合は除きます。使用可" |
| 635 |
"能なその他の同期プロトコルについては、<<s-replication-protocols>>を参照してく" |
| 636 |
"ださい。" |
| 637 |
|
| 638 |
#. type: Title ===== |
| 639 |
#, no-wrap |
| 640 |
msgid "The `resource` sections" |
| 641 |
msgstr "`resource` セクション" |
| 642 |
|
| 643 |
#. type: Plain text |
| 644 |
msgid "" |
| 645 |
"A per-resource configuration file is usually named `/etc/drbd.d/__resource__." |
| 646 |
"res`. Any DRBD resource you define must be named by specifying a resource " |
| 647 |
"name in the configuration. The convention is to use only letters, digits, " |
| 648 |
"and the underscore; while it is technically possible to use other characters " |
| 649 |
"as well, you won't like the result if you ever happen stumble to need the " |
| 650 |
"more specific `__resource__:___peer__/__volume__` syntax." |
| 651 |
msgstr "" |
| 652 |
"各リソースの設定ファイルは、通常 `/etc/drbd.d/resource.res` という名前にしま" |
| 653 |
"す。定義するDRBDリソースは、設定ファイルでresource nameを指定して名前を付ける" |
| 654 |
"必要があります。通常は文字または数字、アンダースコアのみを使用します。他の文" |
| 655 |
"字を使用することも技術的には可能ですが、より具体的な `__resource__:___peer__/" |
| 656 |
"__volume__` の構文が必要になった場合、うまくいかないでしょう。" |
| 657 |
|
| 658 |
#. type: Plain text |
| 659 |
msgid "" |
| 660 |
"Every resource configuration must also have at least two `on _host_` sub-" |
| 661 |
"sections, one for every cluster node. All other configuration settings are " |
| 662 |
"either inherited from the `common` section (if it exists), or derived from " |
| 663 |
"DRBD's default settings." |
| 664 |
msgstr "" |
| 665 |
"各リソースには各クラスタノードに最低2つの `on <host>` サブセクションも必要で" |
| 666 |
"す。その他すべての設定は `common` セクション(記述した場合)から継承されるか、" |
| 667 |
"DRBDのデフォルト設定から取得されます。" |
| 668 |
|
| 669 |
#. type: Plain text |
| 670 |
msgid "" |
| 671 |
"In addition, options with equal values on all hosts can be specified " |
| 672 |
"directly in the `resource` section. Thus, we can further condense our " |
| 673 |
"example configuration as follows:" |
| 674 |
msgstr "" |
| 675 |
"さらに、オプションの値が両方のホストで等しい場合は、直接 `resource` セクショ" |
| 676 |
"ンで指定することができます。このため、設定例は次のように短くすることができま" |
| 677 |
"す。" |
| 678 |
|
| 679 |
#. type: delimited block - |
| 680 |
#, no-wrap |
| 681 |
msgid "" |
| 682 |
"resource \"r0\" {\n" |
| 683 |
" device minor 1;\n" |
| 684 |
" disk \"/dev/sda7\";\n" |
| 685 |
" meta-disk internal;\n" |
| 686 |
" on \"alice\" {\n" |
| 687 |
" address 10.1.1.31:7789;\n" |
| 688 |
" }\n" |
| 689 |
" on \"bob\" {\n" |
| 690 |
" address 10.1.1.32:7789;\n" |
| 691 |
" }\n" |
| 692 |
"}\n" |
| 693 |
msgstr "" |
| 694 |
"resource \"r0\" {\n" |
| 695 |
" device minor 1;\n" |
| 696 |
" disk \"/dev/sda7\";\n" |
| 697 |
" meta-disk internal;\n" |
| 698 |
" on \"alice\" {\n" |
| 699 |
" address 10.1.1.31:7789;\n" |
| 700 |
" }\n" |
| 701 |
" on \"bob\" {\n" |
| 702 |
" address 10.1.1.32:7789;\n" |
| 703 |
" }\n" |
| 704 |
"}\n" |
| 705 |
|
| 706 |
#. type: Title ==== |
| 707 |
#, no-wrap |
| 708 |
msgid "Defining network connections" |
| 709 |
msgstr "ネットワークコネクションの定義" |
| 710 |
|
| 711 |
#. type: Plain text |
| 712 |
msgid "" |
| 713 |
"Currently the communication links in DRBD 9 must build a full mesh, i.e. in " |
| 714 |
"every resource every node must have a direct connection to every other node " |
| 715 |
"(excluding itself, of course)." |
| 716 |
msgstr "" |
| 717 |
"現時点では、DRBD9の通信リンクはフルメッシュである必要があります。つまり、全リ" |
| 718 |
"ソース全ノードが他の全ノードに直接のコネクションを持っている必要があります(当" |
| 719 |
"然、自ノードに対しては不要です)。" |
| 720 |
|
| 721 |
#. type: Plain text |
| 722 |
msgid "" |
| 723 |
"For the simple case of two hosts `drbdadm` will insert the (single) network " |
| 724 |
"connection by itself, for ease of use and backwards compatibility." |
| 725 |
msgstr "" |
| 726 |
"ホスト2台のシンプルな構成の場合、使い勝手と後方互換性のため、`drbdadm` は(1つ" |
| 727 |
"の)ネットワークコネクションを自身で挿入します。" |
| 728 |
|
| 729 |
#. type: Plain text |
| 730 |
msgid "" |
| 731 |
"The net effect of this is a quadratic number of network connections over " |
| 732 |
"hosts. For the \"traditional\" two nodes one connection is needed; for three " |
| 733 |
"hosts there are three node pairs; for four, six pairs; 5 hosts: 10 " |
| 734 |
"connections, and so on. For (the current) maximum of 16 nodes there'll be " |
| 735 |
"120 host pairs to connect." |
| 736 |
msgstr "" |
| 737 |
"必要なネットワークコネクション数はホスト数の二次関数です。\"従来の\"2ノードで" |
| 738 |
"は1コネクションが必要でしたが、3つのホストでは3対、4つのホストでは6対、5つの" |
| 739 |
"ホストでは10対のコネクションが…というように必要になってきます。32ノードであれ" |
| 740 |
"ば496対のコネクションが必要になります。" |
| 741 |
|
| 742 |
#. type: Block title |
| 743 |
#, no-wrap |
| 744 |
msgid "Number of connections for _N_ hosts" |
| 745 |
msgstr "_N_ 個のホストの時のコネクション数" |
| 746 |
|
| 747 |
#. type: Target for macro image |
| 748 |
#, no-wrap |
| 749 |
msgid "images/connection-mesh.svg" |
| 750 |
msgstr "images/connection-mesh.svg" |
| 751 |
|
| 752 |
#. type: Plain text |
| 753 |
msgid "An example configuration file for three hosts would be this:" |
| 754 |
msgstr "以下は3つのホストでの設定ファイルの例です。" |
| 755 |
|
| 756 |
#. type: delimited block - |
| 757 |
#, no-wrap |
| 758 |
msgid "" |
| 759 |
"resource r0 {\n" |
| 760 |
" device minor 1;\n" |
| 761 |
" disk \"/dev/sda7\";\n" |
| 762 |
" meta-disk internal;\n" |
| 763 |
" on alice {\n" |
| 764 |
" address 10.1.1.31:7000;\n" |
| 765 |
" node-id 0;\n" |
| 766 |
" }\n" |
| 767 |
" on bob {\n" |
| 768 |
" address 10.1.1.32:7000;\n" |
| 769 |
" node-id 1;\n" |
| 770 |
" }\n" |
| 771 |
" on charlie {\n" |
| 772 |
" address 10.1.1.33:7000;\n" |
| 773 |
" node-id 2;\n" |
| 774 |
" }\n" |
| 775 |
" connection-mesh {\n" |
| 776 |
" hosts alice bob charlie;\n" |
| 777 |
" }\n" |
| 778 |
"}\n" |
| 779 |
msgstr "" |
| 780 |
"resource r0 {\n" |
| 781 |
" device minor 1;\n" |
| 782 |
" disk \"/dev/sda7\";\n" |
| 783 |
" meta-disk internal;\n" |
| 784 |
" on alice {\n" |
| 785 |
" address 10.1.1.31:7000;\n" |
| 786 |
" node-id 0;\n" |
| 787 |
" }\n" |
| 788 |
" on bob {\n" |
| 789 |
" address 10.1.1.32:7000;\n" |
| 790 |
" node-id 1;\n" |
| 791 |
" }\n" |
| 792 |
" on charlie {\n" |
| 793 |
" address 10.1.1.33:7000;\n" |
| 794 |
" node-id 2;\n" |
| 795 |
" }\n" |
| 796 |
" connection-mesh {\n" |
| 797 |
" hosts alice bob charlie;\n" |
| 798 |
" }\n" |
| 799 |
"}\n" |
| 800 |
|
| 801 |
#. type: Plain text |
| 802 |
msgid "" |
| 803 |
"If you have got enough network cards in your servers, you can create direct " |
| 804 |
"cross-over links between server pairs. A single four-port ethernet card " |
| 805 |
"allows to have a single management interface, and to connect 3 other " |
| 806 |
"servers, to get a full mesh for 4 cluster nodes." |
| 807 |
msgstr "" |
| 808 |
"サーバに十分なネットワークカードがあれば、サーバ間をクロスケーブルで直結でき" |
| 809 |
"ます。 1つ4ポートのイーサネットカードであれば、4ノードのフルメッシュにするた" |
| 810 |
"めに1つの管理インターフェースと3つの他サーバへの接続を行うことができます。" |
| 811 |
|
| 812 |
#. type: Plain text |
| 813 |
msgid "" |
| 814 |
"In this case you can specify a different IP address to use the direct link:" |
| 815 |
msgstr "この場合には直接接続に異なるIPアドレスを指定することができます。" |
| 816 |
|
| 817 |
#. type: delimited block - |
| 818 |
#, no-wrap |
| 819 |
msgid "" |
| 820 |
"resource r0 {\n" |
| 821 |
" ...\n" |
| 822 |
" connection {\n" |
| 823 |
" host alice address 10.1.2.1:7010;\n" |
| 824 |
" host bob address 10.1.2.2:7001;\n" |
| 825 |
" }\n" |
| 826 |
" connection {\n" |
| 827 |
" host alice address 10.1.3.1:7020;\n" |
| 828 |
" host charlie address 10.1.3.2:7002;\n" |
| 829 |
" }\n" |
| 830 |
" connection {\n" |
| 831 |
" host bob address 10.1.4.1:7021;\n" |
| 832 |
" host charlie address 10.1.4.2:7012;\n" |
| 833 |
" }\n" |
| 834 |
"}\n" |
| 835 |
msgstr "" |
| 836 |
"resource r0 {\n" |
| 837 |
" ...\n" |
| 838 |
" connection {\n" |
| 839 |
" host alice address 10.1.2.1:7010;\n" |
| 840 |
" host bob address 10.1.2.2:7001;\n" |
| 841 |
" }\n" |
| 842 |
" connection {\n" |
| 843 |
" host alice address 10.1.3.1:7020;\n" |
| 844 |
" host charlie address 10.1.3.2:7002;\n" |
| 845 |
" }\n" |
| 846 |
" connection {\n" |
| 847 |
" host bob address 10.1.4.1:7021;\n" |
| 848 |
" host charlie address 10.1.4.2:7012;\n" |
| 849 |
" }\n" |
| 850 |
"}\n" |
| 851 |
|
| 852 |
#. type: Plain text |
| 853 |
msgid "" |
| 854 |
"For easier maintenance and debugging it's recommend to have different ports " |
| 855 |
"for each endpoint - looking at a `tcpdump` trace the packets can be " |
| 856 |
"associated easily." |
| 857 |
msgstr "" |
| 858 |
"管理とデバッグを容易にするため、エンドポイントごとに異なるポートを使用するこ" |
| 859 |
"とをお勧めします。 `tcpdump` 使用の際にパケットの追跡が容易になります。" |
| 860 |
|
| 861 |
#. type: Plain text |
| 862 |
msgid "" |
| 863 |
"The examples below will still be using two servers only; please see " |
| 864 |
"<<s-4node-example>> for a four-node example." |
| 865 |
msgstr "" |
| 866 |
"以下の例は2サーバのみで使用するものです。4ノードでの例は<<s-4node-example>>を" |
| 867 |
"参照ください。" |
| 868 |
|
| 869 |
#. type: Title ==== |
| 870 |
#, no-wrap |
| 871 |
msgid "Configuring transport implementations" |
| 872 |
msgstr "トランスポートプロトコルの設定" |
| 873 |
|
| 874 |
#. type: Plain text |
| 875 |
msgid "" |
| 876 |
"DRBD allows configuring multiple paths per connection, by introducing " |
| 877 |
"multiple path sections in a connection. Please see the following example:" |
| 878 |
msgstr "" |
| 879 |
"DRBD は、connection に複数の path セクションを使用することで、connection ごと" |
| 880 |
"に複数の path を構成できます。次の例を参照してください。" |
| 881 |
|
| 882 |
#. type: delimited block - |
| 883 |
#, no-wrap |
| 884 |
msgid "" |
| 885 |
"resource <resource> {\n" |
| 886 |
" ...\n" |
| 887 |
" connection {\n" |
| 888 |
" path {\n" |
| 889 |
" host alpha address 192.168.41.1:7900;\n" |
| 890 |
" host bravo address 192.168.41.2:7900;\n" |
| 891 |
" }\n" |
| 892 |
" path {\n" |
| 893 |
" host alpha address 192.168.42.1:7900;\n" |
| 894 |
" host bravo address 192.168.42.2:7900;\n" |
| 895 |
" }\n" |
| 896 |
" }\n" |
| 897 |
" ...\n" |
| 898 |
"}\n" |
| 899 |
msgstr "" |
| 900 |
"resource <resource> {\n" |
| 901 |
" ...\n" |
| 902 |
" connection {\n" |
| 903 |
" path {\n" |
| 904 |
" host alpha address 192.168.41.1:7900;\n" |
| 905 |
" host bravo address 192.168.41.2:7900;\n" |
| 906 |
" }\n" |
| 907 |
" path {\n" |
| 908 |
" host alpha address 192.168.42.1:7900;\n" |
| 909 |
" host bravo address 192.168.42.2:7900;\n" |
| 910 |
" }\n" |
| 911 |
" }\n" |
| 912 |
" ...\n" |
| 913 |
"}\n" |
| 914 |
|
| 915 |
#. type: Plain text |
| 916 |
msgid "" |
| 917 |
"Obviously the two endpoint hostname need to be equal in all paths of a " |
| 918 |
"connection. Paths may be on different IPs (potential different NICs) or may " |
| 919 |
"only be on different ports." |
| 920 |
msgstr "" |
| 921 |
"2 つのエンドポイントホスト名は connection の path 内で同じである必要がありま" |
| 922 |
"す。path は異なる IP(潜在的に異なるNIC)上にある場合もあれば、異なるポート上" |
| 923 |
"のみである場合もあります。" |
| 924 |
|
| 925 |
#. type: Plain text |
| 926 |
msgid "" |
| 927 |
"The TCP transport uses one path at a time. In case the backing TCP " |
| 928 |
"connections get dropped, or show timeouts, the TCP transport implementation " |
| 929 |
"tries to establish a connection over the next path. It goes over all paths " |
| 930 |
"in a round-robin fashion until a connection gets established." |
| 931 |
msgstr "" |
| 932 |
"TCP トランスポートは、一度に1つの path を使用します。使用中の TCP 接続がダウ" |
| 933 |
"ンした場合、またはタイムアウトになった場合、次の path に接続を確立しようとし" |
| 934 |
"ます。接続が確立されるまで、ラウンドロビン方式ですべての path を試みます。" |
| 935 |
|
| 936 |
#. type: Plain text |
| 937 |
msgid "" |
| 938 |
"The RDMA transport uses all paths of a connection concurrently and it " |
| 939 |
"balances the network traffic between the paths evenly." |
| 940 |
msgstr "" |
| 941 |
"RDMA トランスポートは、connection のすべての path を同時に使用し、path 間の" |
| 942 |
"ネットワークトラフィックを均等に分散します。" |
| 943 |
|
| 944 |
#. type: Plain text |
| 945 |
msgid "" |
| 946 |
"DRBD supports multiple network transports. A transport implementation can be " |
| 947 |
"configured for each connection of a resource." |
| 948 |
msgstr "" |
| 949 |
"DRBDは複数のネットワーク転送プロトコルに対応しています。 トランスポートプロト" |
| 950 |
"コルの設定はリソースの各コネクションごとに設定できます。" |
| 951 |
|
| 952 |
#. type: Title ===== |
| 953 |
#, no-wrap |
| 954 |
msgid "TCP/IP" |
| 955 |
msgstr "TCP/IP" |
| 956 |
|
| 957 |
#. type: delimited block - |
| 958 |
#, no-wrap |
| 959 |
msgid "" |
| 960 |
"resource <resource> {\n" |
| 961 |
" net {\n" |
| 962 |
" transport \"tcp\";\n" |
| 963 |
" }\n" |
| 964 |
" ...\n" |
| 965 |
"}\n" |
| 966 |
msgstr "" |
| 967 |
"resource <resource> {\n" |
| 968 |
" net {\n" |
| 969 |
" transport \"tcp\";\n" |
| 970 |
" }\n" |
| 971 |
" ...\n" |
| 972 |
"}\n" |
| 973 |
|
| 974 |
#. type: Plain text |
| 975 |
msgid "" |
| 976 |
"`tcp` is the default transport. I.e. each connection that lacks a transport " |
| 977 |
"option uses the `tcp` transport." |
| 978 |
msgstr "" |
| 979 |
"デフォルトは `tcp` です。トランスポートオプションを設定していない場合は " |
| 980 |
"`TCP` トランスポートが使用されます。" |
| 981 |
|
| 982 |
#. type: Plain text |
| 983 |
msgid "" |
| 984 |
"The `tcp` transport can be configured with the net options: `sndbuf-size`, " |
| 985 |
"`rcvbuf-size`, `connect-int`, `sock-check-timeo`, `ping-timeo`, `timeout`." |
| 986 |
msgstr "" |
| 987 |
"`tcp` トランスポートオプションでは次のnetオプションが設定できます。 `sndbuf-" |
| 988 |
"size` 、 `rcvbuf-size` 、 `connect-int` 、 ` sock-check-timeo` 、 `ping-" |
| 989 |
"timeo` 、 `timeout` 。" |
| 990 |
|
| 991 |
#. type: Title ===== |
| 992 |
#, no-wrap |
| 993 |
msgid "RDMA" |
| 994 |
msgstr "RDMA" |
| 995 |
|
| 996 |
#. type: delimited block - |
| 997 |
#, no-wrap |
| 998 |
msgid "" |
| 999 |
"resource <resource> {\n" |
| 1000 |
" net {\n" |
| 1001 |
" transport \"rdma\";\n" |
| 1002 |
" }\n" |
| 1003 |
" ...\n" |
| 1004 |
"}\n" |
| 1005 |
msgstr "" |
| 1006 |
"resource <resource> {\n" |
| 1007 |
" net {\n" |
| 1008 |
" transport \"rdma\";\n" |
| 1009 |
" }\n" |
| 1010 |
" ...\n" |
| 1011 |
"}\n" |
| 1012 |
|
| 1013 |
#. type: Plain text |
| 1014 |
msgid "" |
| 1015 |
"The `rdma` transport can be configured with the net options: `sndbuf-size`, " |
| 1016 |
"`rcvbuf-size`, `max_buffers`, `connect-int`, `sock-check-timeo`, `ping-" |
| 1017 |
"timeo`, `timeout`." |
| 1018 |
msgstr "" |
| 1019 |
"`rdma` トランスポートでは次のnetオプションが設定できます。 `sndbuf-size` 、 " |
| 1020 |
"`rcvbuf-size` 、 `max_buffers` 、 `connect-int` 、 `sock-check-timeo` 、 " |
| 1021 |
"`ping-timeo` 、 `timeout` 。" |
| 1022 |
|
| 1023 |
#. type: Plain text |
| 1024 |
msgid "" |
| 1025 |
"The `rdma` transport is a zero-copy-receive transport. One implication of " |
| 1026 |
"that is that the `max_buffers` configuration options must be set to a value " |
| 1027 |
"big enough to hold all `rcvbuf-size`." |
| 1028 |
msgstr "" |
| 1029 |
"`rdma` トランスポートはゼロコピーレシーブ転送です。その関係で、 " |
| 1030 |
"`max_buffers` の設定オプションはすべての `rcvbuf-size` を保存するのに十分なサ" |
| 1031 |
"イズにする必要があります。" |
| 1032 |
|
| 1033 |
#. type: Plain text |
| 1034 |
msgid "" |
| 1035 |
"`rcvbuf-size` is configured in bytes, while `max_buffers` is configured in " |
| 1036 |
"pages. For optimal performance `max_buffers` should be big enough to hold " |
| 1037 |
"all of `rcvbuf-size` and the amount of data that might be in flight to the " |
| 1038 |
"backend device at any point in time." |
| 1039 |
msgstr "" |
| 1040 |
"`rcvbuf-size` はバイト単位で設定しますが、 `max_buffers` はページ単位で設定し" |
| 1041 |
"ます。パフォーマンス最適化のためには、 `max_buffers` はすべての `rcvbuf-" |
| 1042 |
"size` と、下位デバイスとの間の全通信量を合わせたものよりも大きい必要がありま" |
| 1043 |
"す。" |
| 1044 |
|
| 1045 |
#. type: Plain text |
| 1046 |
msgid "" |
| 1047 |
"In case you are using InfiniBand HCAs with the `rdma` transport, you need to " |
| 1048 |
"configure IPoIB as well. The IP address is not used for data transfer, but " |
| 1049 |
"it is used to find the right adapters and ports while establishing the " |
| 1050 |
"connection." |
| 1051 |
msgstr "" |
| 1052 |
"InfiniBand HCAで `rdma` トランスポートを使っている場合、IPoIBも設定する必要が" |
| 1053 |
"あります。IPアドレスはデータ転送では使用しませんが、コネクションを確立する際" |
| 1054 |
"に正しいアダプタとポートを見つけるために使用します。" |
| 1055 |
|
| 1056 |
#. type: Plain text |
| 1057 |
msgid "" |
| 1058 |
"The configuration options `sndbuf-size`, `rcvbuf-size` are only considered " |
| 1059 |
"at the time a connection is established. I.e. you can change them while the " |
| 1060 |
"connection is established. They will take effect in the moment the " |
| 1061 |
"connection is re-established." |
| 1062 |
msgstr "" |
| 1063 |
"設定オプションの `sndbuf-size` と `rcvbuf-size` はコネクションが確立される時" |
| 1064 |
"に考慮されます。つまり、接続が確立している時は変更する事ができますが、その変" |
| 1065 |
"更が反映されるのは、再接続後になります。" |
| 1066 |
|
| 1067 |
#. type: Title ===== |
| 1068 |
#, no-wrap |
| 1069 |
msgid "Performance considerations for RDMA" |
| 1070 |
msgstr "RDMAのパフォーマンスにおける考慮事項" |
| 1071 |
|
| 1072 |
#. type: Plain text |
| 1073 |
msgid "" |
| 1074 |
"By looking at the pseudo file _/sys/kernel/debug/drbd/<resource>/connections/" |
| 1075 |
"<peer>/transport_, the counts of available receive descriptors (rx_desc) and " |
| 1076 |
"transmit descriptors (tx_desc) can be monitored. In case one of the " |
| 1077 |
"descriptor kinds becomes depleted you should increase `sndbuf-size` or " |
| 1078 |
"`rcvbuf-size`." |
| 1079 |
msgstr "" |
| 1080 |
"擬似ファイル/sys/kernel/debug/drbd/<リソース>/connections/<対向ノード>/" |
| 1081 |
"transportを見れば、使用可能な受信識別子(rx_desc)と送信識別子(tx_desc)の数を監" |
| 1082 |
"視できます。識別子が枯渇した場合には `sndbuf-size` または `rcvbuf-size` を増" |
| 1083 |
"やす必要があります。" |
| 1084 |
|
| 1085 |
#. type: Title ==== |
| 1086 |
#, no-wrap |
| 1087 |
msgid "Enabling your resource for the first time" |
| 1088 |
msgstr "リソースを初めて有効にする" |
| 1089 |
|
| 1090 |
#. type: Plain text |
| 1091 |
msgid "" |
| 1092 |
"After you have completed initial resource configuration as outlined in the " |
| 1093 |
"previous sections, you can bring up your resource." |
| 1094 |
msgstr "" |
| 1095 |
"すでに述べた手順に従って最初のリソース設定を完了したら、リソースを稼働させま" |
| 1096 |
"す。" |
| 1097 |
|
| 1098 |
#. type: Plain text |
| 1099 |
msgid "Each of the following steps must be completed on both nodes." |
| 1100 |
msgstr "両方のノードに対して、次の手順を行います。" |
| 1101 |
|
| 1102 |
#. type: Plain text |
| 1103 |
msgid "" |
| 1104 |
"Please note that with our example config snippets (`resource r0 { ... }`), " |
| 1105 |
"`<resource>` would be `r0`." |
| 1106 |
msgstr "" |
| 1107 |
"さきほどの構成例( `resource r0{ … }` )では、 `<resource>` は `r0` となりま" |
| 1108 |
"す。" |
| 1109 |
|
| 1110 |
#. type: Block title |
| 1111 |
#, no-wrap |
| 1112 |
msgid "Create device metadata" |
| 1113 |
msgstr "メタデータを作成する" |
| 1114 |
|
| 1115 |
#. type: Plain text |
| 1116 |
msgid "" |
| 1117 |
"This step must be completed only on initial device creation. It initializes " |
| 1118 |
"DRBD's metadata:" |
| 1119 |
msgstr "" |
| 1120 |
"この手順は、最初にデバイスを作成するときにのみ必要です。これにより、DRBDのメ" |
| 1121 |
"タデータを初期化します。" |
| 1122 |
|
| 1123 |
#. type: delimited block - |
| 1124 |
#, no-wrap |
| 1125 |
msgid "" |
| 1126 |
"# drbdadm create-md <resource>\n" |
| 1127 |
"v09 Magic number not found\n" |
| 1128 |
"Writing meta data...\n" |
| 1129 |
"initialising activity log\n" |
| 1130 |
"NOT initializing bitmap\n" |
| 1131 |
"New drbd meta data block successfully created.\n" |
| 1132 |
msgstr "" |
| 1133 |
"# drbdadm create-md <resource>\n" |
| 1134 |
"v09 Magic number not found\n" |
| 1135 |
"Writing meta data...\n" |
| 1136 |
"initialising activity log\n" |
| 1137 |
"NOT initializing bitmap\n" |
| 1138 |
"New drbd meta data block successfully created.\n" |
| 1139 |
|
| 1140 |
#. type: Plain text |
| 1141 |
msgid "" |
| 1142 |
"Please note that the number of bitmap slots that are allocated in the meta-" |
| 1143 |
"data depends on the number of hosts for this resource; per default the hosts " |
| 1144 |
"in the resource configuration are counted. If all hosts are specified " |
| 1145 |
"_before_ creating the meta-data, this will \"just work\"; adding bitmap " |
| 1146 |
"slots for further nodes is possible later, but incurs some manual work." |
| 1147 |
msgstr "" |
| 1148 |
"メタデータに割り当てられるビットマップスロットの数はリソースのホストの数に依" |
| 1149 |
"存します。 デフォルトではリソース設定のホストの数をカウントします。 メタデー" |
| 1150 |
"タの作成前にすべてのホストが指定されていれば、そのまま動作します。後から追加" |
| 1151 |
"ノード用のビットマップを付け足すことも可能ですが、手動での作業が必要になりま" |
| 1152 |
"す。" |
| 1153 |
|
| 1154 |
#. type: Block title |
| 1155 |
#, no-wrap |
| 1156 |
msgid "Enable the resource" |
| 1157 |
msgstr "リソースを有効にする" |
| 1158 |
|
| 1159 |
#. type: Plain text |
| 1160 |
msgid "" |
| 1161 |
"This step associates the resource with its backing device (or devices, in " |
| 1162 |
"case of a multi-volume resource), sets replication parameters, and connects " |
| 1163 |
"the resource to its peer:" |
| 1164 |
msgstr "" |
| 1165 |
"これにより、リソースとその下位デバイス(マルチボリュームリソースの場合は、すべ" |
| 1166 |
"てのデバイス)とを結びつけます。また、対向ノードのリソースと接続します。" |
| 1167 |
|
| 1168 |
#. type: delimited block - |
| 1169 |
#, no-wrap |
| 1170 |
msgid "# drbdadm up <resource>\n" |
| 1171 |
msgstr "# drbdadm up <resource>\n" |
| 1172 |
|
| 1173 |
#. type: Block title |
| 1174 |
#, no-wrap |
| 1175 |
msgid "Observe the status via `drbdadm status`" |
| 1176 |
msgstr "`drbdadm status` でステータスを確認する" |
| 1177 |
|
| 1178 |
#. type: Plain text |
| 1179 |
msgid "" |
| 1180 |
"``drbdsetup``'s status output should now contain information similar to the " |
| 1181 |
"following:" |
| 1182 |
msgstr "`drbdsetup` のステータス出力は次のような情報を表示します。" |
| 1183 |
|
| 1184 |
#. type: delimited block - |
| 1185 |
#, no-wrap |
| 1186 |
msgid "" |
| 1187 |
"# drbdadm status r0\n" |
| 1188 |
"r0 role:Secondary\n" |
| 1189 |
" disk:Inconsistent\n" |
| 1190 |
" bob role:Secondary\n" |
| 1191 |
" disk:Inconsistent\n" |
| 1192 |
msgstr "" |
| 1193 |
"# drbdadm status r0\n" |
| 1194 |
"r0 role:Secondary\n" |
| 1195 |
" disk:Inconsistent\n" |
| 1196 |
" bob role:Secondary\n" |
| 1197 |
" disk:Inconsistent\n" |
| 1198 |
|
| 1199 |
#. type: Plain text |
| 1200 |
msgid "The _Inconsistent/Inconsistent_ disk state is expected at this point." |
| 1201 |
msgstr "" |
| 1202 |
"この時点では `Inconsistent/Inconsistent` のディスク状態になっているはずです。" |
| 1203 |
|
| 1204 |
#. type: Plain text |
| 1205 |
msgid "" |
| 1206 |
"By now, DRBD has successfully allocated both disk and network resources and " |
| 1207 |
"is ready for operation. What it does not know yet is which of your nodes " |
| 1208 |
"should be used as the source of the initial device synchronization." |
| 1209 |
msgstr "" |
| 1210 |
"これで、DRBDがディスクリソースとネットワークリソースに正しく割り当てられ、稼" |
| 1211 |
"働できるようになりました。次に、どちらのノードをデバイスの初期同期のソースと" |
| 1212 |
"して使用するか指定する必要があります。" |
| 1213 |
|
| 1214 |
#. type: Title ==== |
| 1215 |
#, no-wrap |
| 1216 |
msgid "The initial device synchronization" |
| 1217 |
msgstr "デバイスの初期同期" |
| 1218 |
|
| 1219 |
#. type: Plain text |
| 1220 |
msgid "There are two more steps required for DRBD to become fully operational:" |
| 1221 |
msgstr "DRBDを完全に機能させるには、さらに次の2つの手順が必要です。" |
| 1222 |
|
| 1223 |
#. type: Block title |
| 1224 |
#, no-wrap |
| 1225 |
msgid "Select an initial sync source" |
| 1226 |
msgstr "同期元を選択する" |
| 1227 |
|
| 1228 |
#. type: Plain text |
| 1229 |
msgid "" |
| 1230 |
"If you are dealing with newly-initialized, empty disks, this choice is " |
| 1231 |
"entirely arbitrary. If one of your nodes already has valuable data that you " |
| 1232 |
"need to preserve, however, _it is of crucial importance_ that you select " |
| 1233 |
"that node as your synchronization source. If you do initial device " |
| 1234 |
"synchronization in the wrong direction, you will lose that data. Exercise " |
| 1235 |
"caution." |
| 1236 |
msgstr "" |
| 1237 |
"新しく初期化した空のディスクを使用する場合は、任意のディスクを同期元にできま" |
| 1238 |
"す。いずれかのノードにすでに重要なデータが格納されている場合は、 _十分注意し" |
| 1239 |
"て、必ず_ そのノードを同期元として選択してください。デバイスの初期同期の方向" |
| 1240 |
"が誤っていると、データを失うおそれがあります。慎重に行ってください。" |
| 1241 |
|
| 1242 |
#. type: Block title |
| 1243 |
#, no-wrap |
| 1244 |
msgid "Start the initial full synchronization" |
| 1245 |
msgstr "初期フル同期を開始する" |
| 1246 |
|
| 1247 |
#. type: Plain text |
| 1248 |
msgid "" |
| 1249 |
"This step must be performed on only one node, only on initial resource " |
| 1250 |
"configuration, and only on the node you selected as the synchronization " |
| 1251 |
"source. To perform this step, issue this command:" |
| 1252 |
msgstr "" |
| 1253 |
"この手順は、最初のリソース設定の際に、同期ソースとして選択した1つのノードに対" |
| 1254 |
"してのみ実行します。次のコマンドで実行します。" |
| 1255 |
|
| 1256 |
#. type: delimited block - |
| 1257 |
#, no-wrap |
| 1258 |
msgid "# drbdadm primary --force <resource>\n" |
| 1259 |
msgstr "# drbdadm primary --force <resource>\n" |
| 1260 |
|
| 1261 |
#. type: Plain text |
| 1262 |
msgid "" |
| 1263 |
"After issuing this command, the initial full synchronization will commence. " |
| 1264 |
"You will be able to monitor its progress via `drbdadm status`. It may take " |
| 1265 |
"some time depending on the size of the device." |
| 1266 |
msgstr "" |
| 1267 |
"このコマンドを指定すると、初期フル同期が開始します。 `drbdadm status` で同期" |
| 1268 |
"の進行状況を監視できます。デバイスのサイズによっては、同期に時間がかかる場合" |
| 1269 |
"があります。" |
| 1270 |
|
| 1271 |
#. type: Plain text |
| 1272 |
msgid "" |
| 1273 |
"By now, your DRBD device is fully operational, even before the initial " |
| 1274 |
"synchronization has completed (albeit with slightly reduced performance). If " |
| 1275 |
"you started with empty disks you may now already create a filesystem on the " |
| 1276 |
"device, use it as a raw block device, mount it, and perform any other " |
| 1277 |
"operation you would with an accessible block device." |
| 1278 |
msgstr "" |
| 1279 |
"この時点で、初期同期が完了していなくてもDRBDデバイスは完全に稼働します(ただ" |
| 1280 |
"し、パフォーマンスは多少低いです)。空のディスクから開始した場合は、デバイスに" |
| 1281 |
"ファイルシステムを作成してもかまいません。これを下位ブロックデバイスとして使" |
| 1282 |
"用し、マウントして、アクセス可能なブロックデバイスとしてさまざまな操作を実行" |
| 1283 |
"することができます。" |
| 1284 |
|
| 1285 |
#. type: Plain text |
| 1286 |
msgid "" |
| 1287 |
"You will now probably want to continue with <<p-work>>, which describes " |
| 1288 |
"common administrative tasks to perform on your resource." |
| 1289 |
msgstr "" |
| 1290 |
"リソースに対して一般的な管理タスクを行う場合は、<<p-work>>に進んでください。" |
| 1291 |
|
| 1292 |
#. type: Title ==== |
| 1293 |
#, no-wrap |
| 1294 |
msgid "Skipping initial resynchronization" |
| 1295 |
msgstr "初期同期のスキップ" |
| 1296 |
|
| 1297 |
#. type: Plain text |
| 1298 |
msgid "" |
| 1299 |
"If (and only if) you are starting DRBD resources from scratch (with no " |
| 1300 |
"valueable data on them) you can use following command sequence to skip " |
| 1301 |
"initial resync (don't do that with data you want to keep on the devices):" |
| 1302 |
msgstr "" |
| 1303 |
"DRBD リソースを最初から開始する場合(貴重なデータがない場合のみ)、次のコマン" |
| 1304 |
"ドシーケンスを使用して、最初の同期をスキップできます(デバイスにデータを保存" |
| 1305 |
"する場合は実行しないでください)。" |
| 1306 |
|
| 1307 |
#. type: Plain text |
| 1308 |
msgid "On all nodes:" |
| 1309 |
msgstr "すべてのノードで次のコマンドを実行します。" |
| 1310 |
|
| 1311 |
#. type: delimited block - |
| 1312 |
#, no-wrap |
| 1313 |
msgid "" |
| 1314 |
"# drbdadm create-md <res>\n" |
| 1315 |
"# drbdadm up <res>\n" |
| 1316 |
msgstr "" |
| 1317 |
"# drbdadm create-md <res>\n" |
| 1318 |
"# drbdadm up <res>\n" |
| 1319 |
|
| 1320 |
#. type: Plain text |
| 1321 |
msgid "" |
| 1322 |
"The command `drbdadm status` should now show all disks as _Inconsistent_." |
| 1323 |
msgstr "" |
| 1324 |
"コマンド `drbdadm status` は、すべてのディスクを _Inconsistent_ として表示す" |
| 1325 |
"るはずです。" |
| 1326 |
|
| 1327 |
#. type: Plain text |
| 1328 |
msgid "Then, on one node execute the following command:" |
| 1329 |
msgstr "次に1つのノードで次のコマンドを実行します。" |
| 1330 |
|
| 1331 |
#. type: delimited block - |
| 1332 |
#, no-wrap |
| 1333 |
msgid "# drbdadm new-current-uuid --clear-bitmap <resource>/<volume>\n" |
| 1334 |
msgstr "# drbdadm new-current-uuid --clear-bitmap <resource>/<volume>\n" |
| 1335 |
|
| 1336 |
#. type: Plain text |
| 1337 |
msgid "or" |
| 1338 |
msgstr "または" |
| 1339 |
|
| 1340 |
#. type: delimited block - |
| 1341 |
#, no-wrap |
| 1342 |
msgid "# drbdsetup new-current-uuid --clear-bitmap <minor>\n" |
| 1343 |
msgstr "# drbdsetup new-current-uuid --clear-bitmap <minor>\n" |
| 1344 |
|
| 1345 |
#. type: Plain text |
| 1346 |
msgid "" |
| 1347 |
"Running `drbdadm status` now shows the disks as _UpToDate_ (even tough the " |
| 1348 |
"backing devices might be out of sync). You can now create a file system on " |
| 1349 |
"the disk and start using it." |
| 1350 |
msgstr "" |
| 1351 |
"その後 `drbdadm status` を実行すると、ディスクが _UpToDate_ として表示される" |
| 1352 |
"ようになります(下位デバイスが同期していない場合でも)。これでディスク上に" |
| 1353 |
"ファイルシステムを作成し、使用を開始できます。" |
| 1354 |
|
| 1355 |
#. type: Plain text |
| 1356 |
msgid "Don't do the above with data you want to keep or it gets corrupted." |
| 1357 |
msgstr "データを保存したい場合は使用しないでください。データが壊れます。" |
| 1358 |
|
| 1359 |
#. type: Title ==== |
| 1360 |
#, no-wrap |
| 1361 |
msgid "Using truck based replication" |
| 1362 |
msgstr "トラックベースのレプリケーションの使用" |
| 1363 |
|
| 1364 |
#. type: Plain text |
| 1365 |
msgid "" |
| 1366 |
"In order to preseed a remote node with data which is then to be kept " |
| 1367 |
"synchronized, and to skip the initial full device synchronization, follow " |
| 1368 |
"these steps." |
| 1369 |
msgstr "" |
| 1370 |
"リモートノードに同期するデータを前もってロードし、デバイスの初期同期をスキッ" |
| 1371 |
"プする場合は、次の手順を行います。" |
| 1372 |
|
| 1373 |
#. type: Plain text |
| 1374 |
msgid "" |
| 1375 |
"This assumes that your local node has a configured, but disconnected DRBD " |
| 1376 |
"resource in the _Primary_ role. That is to say, device configuration is " |
| 1377 |
"completed, identical `drbd.conf` copies exist on both nodes, and you have " |
| 1378 |
"issued the commands for <<s-initial-full-sync,initial resource promotion>> " |
| 1379 |
"on your local node" |
| 1380 |
msgstr "" |
| 1381 |
"初期設定済みで `プライマリ` に昇格し、相手ノードとの接続を切断した状態のDRBD" |
| 1382 |
"リソースが必要です。つまり、デバイスの設定が完了し、両方のノードに同一の " |
| 1383 |
"`drbd.conf` のコピーが存在し <<s-initial-full-sync,最初のリソース昇格>>をロー" |
| 1384 |
"カルノードで実行するコマンドを発行した後、" |
| 1385 |
|
| 1386 |
#. type: Plain text |
| 1387 |
msgid "but the remote node is not connected yet." |
| 1388 |
msgstr "リモートノードがまだ接続されていない状態です。" |
| 1389 |
|
| 1390 |
#. type: Plain text |
| 1391 |
msgid "On the local node, issue the following command:" |
| 1392 |
msgstr "ローカルノードで次のコマンドを実行します。" |
| 1393 |
|
| 1394 |
#. type: Plain text |
| 1395 |
msgid "" |
| 1396 |
"Create a consistent, verbatim copy of the resource's data _and its " |
| 1397 |
"metadata_. You may do so, for example, by removing a hot-swappable drive " |
| 1398 |
"from a RAID-1 mirror. You would, of course, replace it with a fresh drive, " |
| 1399 |
"and rebuild the RAID set, to ensure continued redundancy. But the removed " |
| 1400 |
"drive is a verbatim copy that can now be shipped off site. If your local " |
| 1401 |
"block device supports snapshot copies (such as when using DRBD on top of " |
| 1402 |
"LVM), you may also create a bitwise copy of that snapshot using `dd`." |
| 1403 |
msgstr "" |
| 1404 |
"リソースのデータ _およびそのメタデータ_ の正確に同一のコピーを作成します。 た" |
| 1405 |
"とえば、ホットスワップ可能な RAID-1ドライブの一方を抜き取ります。この場合は、" |
| 1406 |
"もちろん 新しいドライブをセットしてRAIDセットを再構築しておくべきでしょう。 " |
| 1407 |
"抜き取ったドライブは、正確なコピーとして リモートサイトに移動できます。別の方" |
| 1408 |
"法としては、ローカルのブロックデバイスがスナップショットコピーをサポートする" |
| 1409 |
"場合 (LVMの上位でDRBDを使用する場合など)は、 `dd` を使用してスナップショット" |
| 1410 |
"のビット単位のコピーを作ってもかまいません。" |
| 1411 |
|
| 1412 |
#. type: Plain text |
| 1413 |
msgid "On the local node, issue:" |
| 1414 |
msgstr "ローカルノードで次のコマンドを実行します。" |
| 1415 |
|
| 1416 |
#. type: delimited block - |
| 1417 |
#, no-wrap |
| 1418 |
msgid "# drbdadm new-current-uuid <resource>\n" |
| 1419 |
msgstr "# drbdadm new-current-uuid <resource>\n" |
| 1420 |
|
| 1421 |
#. type: Plain text |
| 1422 |
msgid "or the matching `drbdsetup` command." |
| 1423 |
msgstr "または `drbdsetup` コマンドを使用します。" |
| 1424 |
|
| 1425 |
#. type: Plain text |
| 1426 |
msgid "" |
| 1427 |
"Note the absence of the `--clear-bitmap` option in this second invocation." |
| 1428 |
msgstr "この2回目のコマンドには `--clear-bitmap` がありません。" |
| 1429 |
|
| 1430 |
#. type: Plain text |
| 1431 |
msgid "Physically transport the copies to the remote peer location." |
| 1432 |
msgstr "対向ホストの設置場所にコピーを物理的に移動します。" |
| 1433 |
|
| 1434 |
#. type: Plain text |
| 1435 |
msgid "" |
| 1436 |
"Add the copies to the remote node. This may again be a matter of plugging a " |
| 1437 |
"physical disk, or grafting a bitwise copy of your shipped data onto existing " |
| 1438 |
"storage on the remote node. Be sure to restore or copy not only your " |
| 1439 |
"replicated data, but also the associated DRBD metadata. If you fail to do " |
| 1440 |
"so, the disk shipping process is moot." |
| 1441 |
msgstr "" |
| 1442 |
"コピーをリモートノードに追加します。ここでも物理ディスクを接続するか、リモー" |
| 1443 |
"トノードの既存のストレージに移動したデータのビット単位のコピーを追加します。" |
| 1444 |
"レプリケートしたデータだけでなく、関連するDRBDメタデータも必ず復元するかコ" |
| 1445 |
"ピーしてください。そうでない場合、ディスクの移動を正しく行うことができませ" |
| 1446 |
"ん。" |
| 1447 |
|
| 1448 |
#. type: Plain text |
| 1449 |
msgid "" |
| 1450 |
"On the new node we need to fix the node ID in the meta data, and exchange " |
| 1451 |
"the peer-node info for the two nodes. Please see the following lines as " |
| 1452 |
"example for changing node id from 2 to 1 on a resource `r0` volume `0`." |
| 1453 |
msgstr "" |
| 1454 |
"新しいノードでメタデータのノードIDを修正し、2つのノード間で対向ノードの情報を" |
| 1455 |
"交換する必要があります。リソース `r0` ボリューム `0` 上でnode idを2から1に変" |
| 1456 |
"更するには、次の行を参照ください。" |
| 1457 |
|
| 1458 |
#. type: Plain text |
| 1459 |
msgid "This must be done while the volume is not in use." |
| 1460 |
msgstr "これはボリュームが未使用中のときに実行する必要があります。" |
| 1461 |
|
| 1462 |
#. type: Plain text |
| 1463 |
msgid "" |
| 1464 |
"You need to edit the first 4 lines to match your needs. V is the resource " |
| 1465 |
"name with the volume number. NODE_FROM is the node ID of the node the data " |
| 1466 |
"originates from. NOTE_TO is the node ID of the node where data will be " |
| 1467 |
"replicated to. META_DATA_LOCATION is the location of the meta data which " |
| 1468 |
"might be internal or flex-external." |
| 1469 |
msgstr "" |
| 1470 |
"最初の4行は環境に合わせて変更します。V は、ボリューム番号を持つリソース名で" |
| 1471 |
"す。 NODE_FROM は、データの発信元のノードのノード ID です。NOTE_TO は、データ" |
| 1472 |
"が複製されるノードのノード ID です。META_DATA_LOCATION はメタデータの場所で " |
| 1473 |
"internal または flex-external のどちらかです。" |
| 1474 |
|
| 1475 |
#. type: delimited block - |
| 1476 |
#, no-wrap |
| 1477 |
msgid "" |
| 1478 |
"V=r0/0\n" |
| 1479 |
"NODE_FROM=2\n" |
| 1480 |
"NODE_TO=1\n" |
| 1481 |
"META_DATA_LOCATION=internal\n" |
| 1482 |
msgstr "" |
| 1483 |
"V=r0/0\n" |
| 1484 |
"NODE_FROM=2\n" |
| 1485 |
"NODE_TO=1\n" |
| 1486 |
"META_DATA_LOCATION=internal\n" |
| 1487 |
|
| 1488 |
#. type: delimited block - |
| 1489 |
#, no-wrap |
| 1490 |
msgid "" |
| 1491 |
"drbdadm -- --force dump-md $V > /tmp/md_orig.txt\n" |
| 1492 |
"sed -e \"s/node-id $NODE_FROM/node-id $NODE_TO/\" \\\n" |
| 1493 |
"\t-e \"s/^peer.$NODE_FROM. /peer-NEW /\" \\\n" |
| 1494 |
"\t-e \"s/^peer.$NODE_TO. /peer[$NODE_FROM] /\" \\\n" |
| 1495 |
"\t-e \"s/^peer-NEW /peer[$NODE_TO] /\" \\\n" |
| 1496 |
"\t< /tmp/md_orig.txt > /tmp/md.txt\n" |
| 1497 |
msgstr "" |
| 1498 |
"drbdadm -- --force dump-md $V > /tmp/md_orig.txt\n" |
| 1499 |
"sed -e \"s/node-id $NODE_FROM/node-id $NODE_TO/\" \\\n" |
| 1500 |
"\t-e \"s/^peer.$NODE_FROM. /peer-NEW /\" \\\n" |
| 1501 |
"\t-e \"s/^peer.$NODE_TO. /peer[$NODE_FROM] /\" \\\n" |
| 1502 |
"\t-e \"s/^peer-NEW /peer[$NODE_TO] /\" \\\n" |
| 1503 |
"\t< /tmp/md_orig.txt > /tmp/md.txt\n" |
| 1504 |
|
| 1505 |
#. type: delimited block - |
| 1506 |
#, no-wrap |
| 1507 |
msgid "drbdmeta --force $(drbdadm sh-minor $V) v09 $(drbdadm sh-md-dev $V) $META_DATA_LOCATION restore-md /tmp/md.txt\n" |
| 1508 |
msgstr "drbdmeta --force $(drbdadm sh-minor $V) v09 $(drbdadm sh-md-dev $V) $META_DATA_LOCATION restore-md /tmp/md.txt\n" |
| 1509 |
|
| 1510 |
#. type: Block title |
| 1511 |
#, no-wrap |
| 1512 |
msgid "NOTE" |
| 1513 |
msgstr "NOTE" |
| 1514 |
|
| 1515 |
#. type: Plain text |
| 1516 |
msgid "" |
| 1517 |
"`drbdmeta` before 8.9.7 cannot cope with out-of-order `peer` sections; " |
| 1518 |
"you'll need to exchange the blocks via an editor." |
| 1519 |
msgstr "" |
| 1520 |
"バージョン 8.9.7 以前の `drbdmeta` 順不同の対向ノードセクションを扱えません。" |
| 1521 |
"エディタを用いてブロックを交換する必要があります。" |
| 1522 |
|
| 1523 |
#. type: Plain text |
| 1524 |
msgid "Bring up the resource on the remote node:" |
| 1525 |
msgstr "リモートノードで次のコマンドを実行します。" |
| 1526 |
|
| 1527 |
#. type: Plain text |
| 1528 |
msgid "" |
| 1529 |
"After the two peers connect, they will not initiate a full device " |
| 1530 |
"synchronization. Instead, the automatic synchronization that now commences " |
| 1531 |
"only covers those blocks that changed since the invocation of " |
| 1532 |
"`drbdadm{nbsp}--clear-bitmap{nbsp}new-current-uuid`." |
| 1533 |
msgstr "" |
| 1534 |
"2つのホストを接続しても、デバイスのフル同期は開始されません。代わりに、 " |
| 1535 |
"`drbdadm{nbsp}--clear-bitmap{nbsp}new-current-uuid` の呼び出し以降に変更され" |
| 1536 |
"たブロックのみを対象とする自動同期が開始されます。" |
| 1537 |
|
| 1538 |
#. type: Plain text |
| 1539 |
msgid "" |
| 1540 |
"Even if there were _no_ changes whatsoever since then, there may still be a " |
| 1541 |
"brief synchronization period due to areas covered by the <<s-activity-log," |
| 1542 |
"Activity Log>> being rolled back on the new Secondary. This may be mitigated " |
| 1543 |
"by the use of <<p-checksum-sync,checksum-based synchronization>>." |
| 1544 |
msgstr "" |
| 1545 |
"以降、データの変更が _全くない_ 場合でも、セカンダリで<<s-activity-log,アク" |
| 1546 |
"ティビティログ>>を含む領域がロールバックされるため、同期が短時間行われること" |
| 1547 |
"があります。これは<<p-checksum-sync,チェックサムベースの同期>>を使用すること" |
| 1548 |
"で緩和されます。" |
| 1549 |
|
| 1550 |
#. type: Plain text |
| 1551 |
msgid "" |
| 1552 |
"You may use this same procedure regardless of whether the resource is a " |
| 1553 |
"regular DRBD resource, or a stacked resource. For stacked resources, simply " |
| 1554 |
"add the `-S` or `--stacked` option to `drbdadm`." |
| 1555 |
msgstr "" |
| 1556 |
"この手順は、リソースが通常のDRBDリソースの場合でもスタックリソースの場合でも" |
| 1557 |
"使用できます。スタックリソースの場合は、 `-S` または `--stacked` オプション" |
| 1558 |
"を `drbdadm` に追加します。" |
| 1559 |
|
| 1560 |
#. type: Title ==== |
| 1561 |
#, no-wrap |
| 1562 |
msgid "Example configuration for four nodes" |
| 1563 |
msgstr "4ノードでの構成例" |
| 1564 |
|
| 1565 |
#. type: Plain text |
| 1566 |
msgid "Here is an example for a four-node cluster." |
| 1567 |
msgstr "以下は4ノードクラスタの例です。" |
| 1568 |
|
| 1569 |
#. type: delimited block - |
| 1570 |
#, no-wrap |
| 1571 |
msgid "" |
| 1572 |
"resource r0 {\n" |
| 1573 |
" device minor 0;\n" |
| 1574 |
" disk /dev/vg/r0;\n" |
| 1575 |
" meta-disk internal;\n" |
| 1576 |
msgstr "" |
| 1577 |
"resource r0 {\n" |
| 1578 |
" device minor 0;\n" |
| 1579 |
" disk /dev/vg/r0;\n" |
| 1580 |
" meta-disk internal;\n" |
| 1581 |
|
| 1582 |
#. type: delimited block - |
| 1583 |
#, no-wrap |
| 1584 |
msgid "" |
| 1585 |
" on store1 {\n" |
| 1586 |
" address 10.1.10.1:7100;\n" |
| 1587 |
" node-id 1;\n" |
| 1588 |
" }\n" |
| 1589 |
" on store2 {\n" |
| 1590 |
" address 10.1.10.2:7100;\n" |
| 1591 |
" node-id 2;\n" |
| 1592 |
" }\n" |
| 1593 |
" on store3 {\n" |
| 1594 |
" address 10.1.10.3:7100;\n" |
| 1595 |
" node-id 3;\n" |
| 1596 |
" }\n" |
| 1597 |
" on store4 {\n" |
| 1598 |
" address 10.1.10.4:7100;\n" |
| 1599 |
" node-id 4;\n" |
| 1600 |
" }\n" |
| 1601 |
msgstr "" |
| 1602 |
" on store1 {\n" |
| 1603 |
" address 10.1.10.1:7100;\n" |
| 1604 |
" node-id 1;\n" |
| 1605 |
" }\n" |
| 1606 |
" on store2 {\n" |
| 1607 |
" address 10.1.10.2:7100;\n" |
| 1608 |
" node-id 2;\n" |
| 1609 |
" }\n" |
| 1610 |
" on store3 {\n" |
| 1611 |
" address 10.1.10.3:7100;\n" |
| 1612 |
" node-id 3;\n" |
| 1613 |
" }\n" |
| 1614 |
" on store4 {\n" |
| 1615 |
" address 10.1.10.4:7100;\n" |
| 1616 |
" node-id 4;\n" |
| 1617 |
" }\n" |
| 1618 |
|
| 1619 |
#. type: delimited block - |
| 1620 |
#, no-wrap |
| 1621 |
msgid "" |
| 1622 |
" connection-mesh {\n" |
| 1623 |
"\thosts store1 store2 store3 store4;\n" |
| 1624 |
" }\n" |
| 1625 |
"}\n" |
| 1626 |
msgstr "" |
| 1627 |
" connection-mesh {\n" |
| 1628 |
"\thosts store1 store2 store3 store4;\n" |
| 1629 |
" }\n" |
| 1630 |
"}\n" |
| 1631 |
|
| 1632 |
#. type: Plain text |
| 1633 |
msgid "" |
| 1634 |
"In case you want to see the `connection-mesh` configuration expanded, try " |
| 1635 |
"`drbdadm dump _<resource>_ -v`." |
| 1636 |
msgstr "" |
| 1637 |
"`connection-mesh` 設定を確認したい場合には `drbdadm dump <resource> -v` を実" |
| 1638 |
"行します。" |
| 1639 |
|
| 1640 |
#. type: Plain text |
| 1641 |
msgid "" |
| 1642 |
"As another example, if the four nodes have enough interfaces to provide a " |
| 1643 |
"complete mesh via direct linksfootnote:[i.e. three crossover and at least " |
| 1644 |
"one outgoing/management interface], you can specify the IP addresses of the " |
| 1645 |
"interfaces:" |
| 1646 |
msgstr "" |
| 1647 |
"別の例として、4ノードに直接接続でフルメッシュにできるだけのインターフェースが" |
| 1648 |
"ある場合には、footnote:[例:3つのノード間接続用と最低1つの外部接続/管理用イン" |
| 1649 |
"ターフェース]インターフェースにIPアドレスを指定することができます。" |
| 1650 |
|
| 1651 |
#. type: delimited block - |
| 1652 |
#, no-wrap |
| 1653 |
msgid "" |
| 1654 |
"resource r0 {\n" |
| 1655 |
" ...\n" |
| 1656 |
msgstr "" |
| 1657 |
"resource r0 {\n" |
| 1658 |
" ...\n" |
| 1659 |
|
| 1660 |
#. type: delimited block - |
| 1661 |
#, no-wrap |
| 1662 |
msgid "" |
| 1663 |
" # store1 has crossover links like 10.99.1x.y\n" |
| 1664 |
" connection {\n" |
| 1665 |
" host store1 address 10.99.12.1 port 7012;\n" |
| 1666 |
" host store2 address 10.99.12.2 port 7021;\n" |
| 1667 |
" }\n" |
| 1668 |
" connection {\n" |
| 1669 |
" host store1 address 10.99.13.1 port 7013;\n" |
| 1670 |
" host store3 address 10.99.13.3 port 7031;\n" |
| 1671 |
" }\n" |
| 1672 |
" connection {\n" |
| 1673 |
" host store1 address 10.99.14.1 port 7014;\n" |
| 1674 |
" host store4 address 10.99.14.4 port 7041;\n" |
| 1675 |
" }\n" |
| 1676 |
msgstr "" |
| 1677 |
" # store1 has crossover links like 10.99.1x.y\n" |
| 1678 |
" connection {\n" |
| 1679 |
" host store1 address 10.99.12.1 port 7012;\n" |
| 1680 |
" host store2 address 10.99.12.2 port 7021;\n" |
| 1681 |
" }\n" |
| 1682 |
" connection {\n" |
| 1683 |
" host store1 address 10.99.13.1 port 7013;\n" |
| 1684 |
" host store3 address 10.99.13.3 port 7031;\n" |
| 1685 |
" }\n" |
| 1686 |
" connection {\n" |
| 1687 |
" host store1 address 10.99.14.1 port 7014;\n" |
| 1688 |
" host store4 address 10.99.14.4 port 7041;\n" |
| 1689 |
" }\n" |
| 1690 |
|
| 1691 |
#. type: delimited block - |
| 1692 |
#, no-wrap |
| 1693 |
msgid "" |
| 1694 |
" # store2 has crossover links like 10.99.2x.y\n" |
| 1695 |
" connection {\n" |
| 1696 |
" host store2 address 10.99.23.2 port 7023;\n" |
| 1697 |
" host store3 address 10.99.23.3 port 7032;\n" |
| 1698 |
" }\n" |
| 1699 |
" connection {\n" |
| 1700 |
" host store2 address 10.99.24.2 port 7024;\n" |
| 1701 |
" host store4 address 10.99.24.4 port 7042;\n" |
| 1702 |
" }\n" |
| 1703 |
msgstr "" |
| 1704 |
" # store2 has crossover links like 10.99.2x.y\n" |
| 1705 |
" connection {\n" |
| 1706 |
" host store2 address 10.99.23.2 port 7023;\n" |
| 1707 |
" host store3 address 10.99.23.3 port 7032;\n" |
| 1708 |
" }\n" |
| 1709 |
" connection {\n" |
| 1710 |
" host store2 address 10.99.24.2 port 7024;\n" |
| 1711 |
" host store4 address 10.99.24.4 port 7042;\n" |
| 1712 |
" }\n" |
| 1713 |
|
| 1714 |
#. type: delimited block - |
| 1715 |
#, no-wrap |
| 1716 |
msgid "" |
| 1717 |
" # store3 has crossover links like 10.99.3x.y\n" |
| 1718 |
" connection {\n" |
| 1719 |
" host store3 address 10.99.34.3 port 7034;\n" |
| 1720 |
" host store4 address 10.99.34.4 port 7043;\n" |
| 1721 |
" }\n" |
| 1722 |
"}\n" |
| 1723 |
msgstr "" |
| 1724 |
" # store3 has crossover links like 10.99.3x.y\n" |
| 1725 |
" connection {\n" |
| 1726 |
" host store3 address 10.99.34.3 port 7034;\n" |
| 1727 |
" host store4 address 10.99.34.4 port 7043;\n" |
| 1728 |
" }\n" |
| 1729 |
"}\n" |
| 1730 |
|
| 1731 |
#. type: Plain text |
| 1732 |
msgid "" |
| 1733 |
"Please note the numbering scheme used for the IP addresses and ports. " |
| 1734 |
"Another resource could use the same IP addresses, but ports `71__xy__`, the " |
| 1735 |
"next one `72__xy__`, and so on." |
| 1736 |
msgstr "" |
| 1737 |
"IPアドレスやポート番号の付け方には注意してください。別のリソースであれば同じ" |
| 1738 |
"IPアドレスを使用することができますが、 71xy、72xy のようにずらしてください。" |