| 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: 2020-08-14 14:13+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 "Using OCFS2 with DRBD" |
| 21 |
msgstr "DRBDとOCFS2の使用" |
| 22 |
|
| 23 |
#. type: Plain text |
| 24 |
msgid "" |
| 25 |
"indexterm:[OCFS2]indexterm:[Oracle Cluster File System]This chapter outlines " |
| 26 |
"the steps necessary to set up a DRBD resource as a block device holding a " |
| 27 |
"shared Oracle Cluster File System, version 2 (OCFS2)." |
| 28 |
msgstr "" |
| 29 |
"indexterm:[OCFS2]indexterm:[Oracle Cluster File System]この章では、共有" |
| 30 |
"Oracle Cluster File Systemバージョン2 (OCFS2)を格納するブロックデバイスとして" |
| 31 |
"DRBDリソースを設定する方法を説明します。" |
| 32 |
|
| 33 |
#. type: delimited block = |
| 34 |
msgid "" |
| 35 |
"All cluster file systems _require_ fencing - not only via the DRBD resource, " |
| 36 |
"but STONITH! A faulty member _must_ be killed." |
| 37 |
msgstr "" |
| 38 |
"全クラスタファイルシステムには fencingが_必要_ です。DRBDリソース経由だけでな" |
| 39 |
"くSTONITHもです。問題のあるノードは _必ず_ killされる必要があります。" |
| 40 |
|
| 41 |
#. type: delimited block = |
| 42 |
msgid "You'll want these settings:" |
| 43 |
msgstr "次のような設定がよいでしょう。" |
| 44 |
|
| 45 |
#. type: delimited block = |
| 46 |
#, no-wrap |
| 47 |
msgid "" |
| 48 |
"\tnet {\n" |
| 49 |
"\t\tfencing resource-and-stonith;\n" |
| 50 |
"\t}\n" |
| 51 |
"\thandlers {\n" |
| 52 |
"\t\t# Make sure the other node is confirmed\n" |
| 53 |
"\t\t# dead after this!\n" |
| 54 |
"\t\toutdate-peer \"/sbin/kill-other-node.sh\";\n" |
| 55 |
"\t}\n" |
| 56 |
msgstr "" |
| 57 |
"\tnet {\n" |
| 58 |
"\t\tfencing resource-and-stonith;\n" |
| 59 |
"\t}\n" |
| 60 |
"\thandlers {\n" |
| 61 |
"\t\t# Make sure the other node is confirmed\n" |
| 62 |
"\t\t# dead after this!\n" |
| 63 |
"\t\toutdate-peer \"/sbin/kill-other-node.sh\";\n" |
| 64 |
"\t}\n" |
| 65 |
|
| 66 |
#. type: delimited block = |
| 67 |
msgid "" |
| 68 |
"There must be _no_ volatile caches! You might take a few hints of the page " |
| 69 |
"at https://fedorahosted.org/cluster/wiki/DRBD_Cookbook, although that's " |
| 70 |
"about GFS2, not OCFS2." |
| 71 |
msgstr "" |
| 72 |
"これらは _非揮発性_ のキャッシュである必要があります。 GFS2に関するものであ" |
| 73 |
"り、OCFS2についてではありませんが、 https://fedorahosted.org/cluster/wiki/" |
| 74 |
"DRBD_Cookbook が参考になるでしょう。" |
| 75 |
|
| 76 |
#. type: Title === |
| 77 |
#, no-wrap |
| 78 |
msgid "OCFS2 primer" |
| 79 |
msgstr "OCFS2の基礎" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
msgid "" |
| 83 |
"The Oracle Cluster File System, version 2 (OCFS2) is a concurrent access " |
| 84 |
"shared storage file system developed by Oracle Corporation. Unlike its " |
| 85 |
"predecessor OCFS, which was specifically designed and only suitable for " |
| 86 |
"Oracle database payloads, OCFS2 is a general-purpose filesystem that " |
| 87 |
"implements most POSIX semantics. The most common use case for OCFS2 is " |
| 88 |
"arguably Oracle Real Application Cluster (RAC), but OCFS2 may also be used " |
| 89 |
"for load-balanced NFS clusters, for example." |
| 90 |
msgstr "" |
| 91 |
"Oracle Cluster File Systemバージョン2 (OCFS2)は、Oracle Corporationが開発した" |
| 92 |
"同時アクセス共有ストレージファイルシステムです。前バージョンのOCFSはOracle" |
| 93 |
"データベースペイロード専用に設計されていましたが、OCFS2はほとんどのPOSIXセマ" |
| 94 |
"ンティクスを実装する汎用ファイルシステムです。OCFS2の最も一般的なユースケース" |
| 95 |
"は、もちろんOracle Real Application Cluster (RAC)ですが、OCFS2は負荷分散NFSク" |
| 96 |
"ラスタなどでも使用できます。" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
msgid "" |
| 100 |
"Although originally designed for use with conventional shared storage " |
| 101 |
"devices, OCFS2 is equally well suited to be deployed on <<s-dual-primary-" |
| 102 |
"mode,dual-Primary DRBD>>. Applications reading from the filesystem may " |
| 103 |
"benefit from reduced read latency due to the fact that DRBD reads from and " |
| 104 |
"writes to local storage, as opposed to the SAN devices OCFS2 otherwise " |
| 105 |
"normally runs on. In addition, DRBD adds redundancy to OCFS2 by adding an " |
| 106 |
"additional copy to every filesystem image, as opposed to just a single " |
| 107 |
"filesystem image that is merely shared." |
| 108 |
msgstr "" |
| 109 |
"本来、OCFS2は従来の共有ストレージデバイス用に設計されたものですが、<<s-dual-" |
| 110 |
"primary-mode,dual-Primary DRBD>>でも問題なく使用できます。OCFS2が通常実行され" |
| 111 |
"るSANデバイスとは異なり、DRBDはローカルストレージに対して読み書きを行うため、" |
| 112 |
"ファイルシステムからデータを読み取るアプリケーションの読み取り待ち時間が短縮" |
| 113 |
"できるというメリットがあります。さらに、DRBDの場合は、単一のファイルシステム" |
| 114 |
"イメージを単に共有するのではなく、各ファイルシステムイメージにさらにコピーを" |
| 115 |
"追加するため、OCFS2に冗長性が加わります。" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
msgid "" |
| 119 |
"Like other shared cluster file systems such as <<ch-gfs,GFS>>, OCFS2 allows " |
| 120 |
"multiple nodes to access the same storage device, in read/write mode, " |
| 121 |
"simultaneously without risking data corruption. It does so by using a " |
| 122 |
"Distributed Lock Manager (DLM) which manages concurrent access from cluster " |
| 123 |
"nodes. The DLM itself uses a virtual file system (`ocfs2_dlmfs`) which is " |
| 124 |
"separate from the actual OCFS2 file systems present on the system." |
| 125 |
msgstr "" |
| 126 |
"<<ch-gfs,GFS>>など他の共有クラスタファイルシステムと同様に、OCFS2で複数のノー" |
| 127 |
"ドが読み取り/書き込みモードで同じストレージデバイスに同時にアクセスできます。" |
| 128 |
"データが破損するおそれはありません。これには、クラスタノードからの同時アクセ" |
| 129 |
"スを管理するDLM (Distributed Lock Manager)が使用されます。DLM自体は、システム" |
| 130 |
"に存在する実際のOCFS2ファイルシステムとは別個の仮想ファイルシステム" |
| 131 |
"( `ocfs2_dlmfs` )を使用します。" |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
msgid "" |
| 135 |
"OCFS2 may either use an intrinsic cluster communication layer to manage " |
| 136 |
"cluster membership and filesystem mount and unmount operation, or " |
| 137 |
"alternatively defer those tasks to the <<ch-pacemaker,Pacemaker>>cluster " |
| 138 |
"infrastructure." |
| 139 |
msgstr "" |
| 140 |
"OCFS2は組み込みクラスタ通信層を使用して、クラスタメンバシップおよびファイルシ" |
| 141 |
"ステムのマウントとマウント解除操作を管理したり、これらのタスクを<<ch-" |
| 142 |
"pacemaker,Pacemaker>>クラスタインフラストラクチャに委ねることができます。" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
msgid "" |
| 146 |
"OCFS2 is available in SUSE Linux Enterprise Server (where it is the " |
| 147 |
"primarily supported shared cluster file system), CentOS, Debian GNU/Linux, " |
| 148 |
"and Ubuntu Server Edition. Oracle also provides packages for Red Hat " |
| 149 |
"Enterprise Linux (RHEL). This chapter assumes running OCFS2 on a SUSE Linux " |
| 150 |
"Enterprise Server system." |
| 151 |
msgstr "" |
| 152 |
"OCFS2は、SUSE Linux Enterprise Server (OCFS2が主にサポートされる共有クラスタ" |
| 153 |
"ファイルシステム)、CentOS、Debian GNU/LinuxおよびUbuntu Server Editionで利用" |
| 154 |
"できます。また、OracleはRed Hat Enterprise Linux (RHEL)用のパッケージも提供し" |
| 155 |
"ています。この章の説明は、SUSE Linux Enterprise ServerシステムでOCFS2を実行す" |
| 156 |
"ることを前提にしています。" |
| 157 |
|
| 158 |
#. type: Title === |
| 159 |
#, no-wrap |
| 160 |
msgid "Creating a DRBD resource suitable for OCFS2" |
| 161 |
msgstr "OCFS2用のDRBDリソースの作成" |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
msgid "" |
| 165 |
"Since OCFS2 is a shared cluster file system expecting concurrent read/write " |
| 166 |
"storage access from all cluster nodes, any DRBD resource to be used for " |
| 167 |
"storing a OCFS2 filesystem must be configured in <<s-dual-primary-mode,dual-" |
| 168 |
"primary mode>>. Also, it is recommended to use some of DRBD's <<s-automatic-" |
| 169 |
"split-brain-recovery-configuration,features for automatic recovery from " |
| 170 |
"split brain>>. To do all this, include the following lines in the resource " |
| 171 |
"configuration: indexterm:[drbd.conf]" |
| 172 |
msgstr "" |
| 173 |
"OCFS2は共有クラスタファイルシステムで、すべてのクラスタノードからストレージに" |
| 174 |
"対して同時に読み取り/書き込みアクセスが行われることを前提としています。した" |
| 175 |
"がって、OCFS2ファイルシステムを格納するために使用するDRBDリソースは、<<s-" |
| 176 |
"dual-primary-mode,デュアルプライマリモード>>で設定する必要があります。また、" |
| 177 |
"<<s-automatic-split-brain-recovery-configuration,スプリットブレインからの自動" |
| 178 |
"回復のための機能>>を利用することをおすすめします。そのためには、以下の設定を" |
| 179 |
"リソース設定ファイルindexterm:[drbd.conf]に加えてください。" |
| 180 |
|
| 181 |
#. type: delimited block - |
| 182 |
#, no-wrap |
| 183 |
msgid "" |
| 184 |
"resource <resource> {\n" |
| 185 |
" net {\n" |
| 186 |
" # allow-two-primaries yes;\n" |
| 187 |
" after-sb-0pri discard-zero-changes;\n" |
| 188 |
" after-sb-1pri discard-secondary;\n" |
| 189 |
" after-sb-2pri disconnect;\n" |
| 190 |
" ...\n" |
| 191 |
" }\n" |
| 192 |
" ...\n" |
| 193 |
"}\n" |
| 194 |
msgstr "" |
| 195 |
"resource <resource> {\n" |
| 196 |
" net {\n" |
| 197 |
" # allow-two-primaries yes;\n" |
| 198 |
" after-sb-0pri discard-zero-changes;\n" |
| 199 |
" after-sb-1pri discard-secondary;\n" |
| 200 |
" after-sb-2pri disconnect;\n" |
| 201 |
" ...\n" |
| 202 |
" }\n" |
| 203 |
" ...\n" |
| 204 |
"}\n" |
| 205 |
|
| 206 |
#. type: delimited block = |
| 207 |
msgid "" |
| 208 |
"By setting auto-recovery policies, you are effectively configuring automatic " |
| 209 |
"data-loss! Be sure you understand the implications." |
| 210 |
msgstr "" |
| 211 |
"回復ポリシーを設定することは、事実上、自動データロス設定を行うことです。十分" |
| 212 |
"にご理解のうえご使用ください。" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
msgid "" |
| 216 |
"It is not recommended to set the `allow-two-primaries` option to `yes` upon " |
| 217 |
"initial configuration. You should do so after the initial resource " |
| 218 |
"synchronization has completed." |
| 219 |
msgstr "" |
| 220 |
"最初の構成の際に `allow-two-primaries` オプションを `yes` にするのはお勧めで" |
| 221 |
"きません。これは、最初のリソース同期が完了してから有効にしてください。" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
msgid "" |
| 225 |
"Once you have added these options to <<ch-configure,your freshly-configured " |
| 226 |
"resource>>, you may <<s-first-time-up,initialize your resource as you " |
| 227 |
"normally would>>. After you set the indexterm:[drbd.conf]`allow-two-" |
| 228 |
"primaries` option to `yes` for this resource, you will be able to <<s-switch-" |
| 229 |
"resource-roles,promote the resource>>to the primary role on both nodes." |
| 230 |
msgstr "" |
| 231 |
"これらのオプションを<<ch-configure,新規に設定したリソース>>に追加したら、<<s-" |
| 232 |
"first-time-up,通常通りにリソースを初期化>>できます。indexterm:[drbd.conf]リ" |
| 233 |
"ソースの `allow-two-primaries` オプションを `yes` にすると、両方のノードのリ" |
| 234 |
"ソースをプライマリロールに<<s-switch-resource-roles,昇格>>することができま" |
| 235 |
"す。" |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
msgid "" |
| 239 |
"With DRBD 9.1 it will be possible to have more than two nodes in the " |
| 240 |
"_Primary_ role; with DRBD 9.0 you can only use two primaries, but more nodes " |
| 241 |
"can be in _Secondary_ role to provide more redundancy." |
| 242 |
msgstr "" |
| 243 |
"DRBD9.1では3ノード以上で `プライマリ` にすることが可能になる予定です。DRBD9.0" |
| 244 |
"ではプライマリは2つまでですが、複数のノードを `セカンダリ` にして冗長性を高め" |
| 245 |
"ることができます。" |
| 246 |
|
| 247 |
#. type: Title === |
| 248 |
#, no-wrap |
| 249 |
msgid "Creating an OCFS2 filesystem" |
| 250 |
msgstr "OCFS2ファイルシステムの作成" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
msgid "Now, use OCFS2's `mkfs` implementation to create the file system:" |
| 254 |
msgstr "" |
| 255 |
"OCFS対応の `mkfs` コマンドを使って、OCFS2ファイルシステムを作成します。" |
| 256 |
|
| 257 |
#. type: delimited block - |
| 258 |
#, no-wrap |
| 259 |
msgid "" |
| 260 |
"# mkfs -t ocfs2 -N 2 -L ocfs2_drbd0 /dev/drbd0\n" |
| 261 |
"mkfs.ocfs2 1.4.0\n" |
| 262 |
"Filesystem label=ocfs2_drbd0\n" |
| 263 |
"Block size=1024 (bits=10)\n" |
| 264 |
"Cluster size=4096 (bits=12)\n" |
| 265 |
"Volume size=205586432 (50192 clusters) (200768 blocks)\n" |
| 266 |
"7 cluster groups (tail covers 4112 clusters, rest cover 7680 clusters)\n" |
| 267 |
"Journal size=4194304\n" |
| 268 |
"Initial number of node slots: 2\n" |
| 269 |
"Creating bitmaps: done\n" |
| 270 |
"Initializing superblock: done\n" |
| 271 |
"Writing system files: done\n" |
| 272 |
"Writing superblock: done\n" |
| 273 |
"Writing backup superblock: 0 block(s)\n" |
| 274 |
"Formatting Journals: done\n" |
| 275 |
"Writing lost+found: done\n" |
| 276 |
"mkfs.ocfs2 successful\n" |
| 277 |
msgstr "" |
| 278 |
"# mkfs -t ocfs2 -N 2 -L ocfs2_drbd0 /dev/drbd0\n" |
| 279 |
"mkfs.ocfs2 1.4.0\n" |
| 280 |
"Filesystem label=ocfs2_drbd0\n" |
| 281 |
"Block size=1024 (bits=10)\n" |
| 282 |
"Cluster size=4096 (bits=12)\n" |
| 283 |
"Volume size=205586432 (50192 clusters) (200768 blocks)\n" |
| 284 |
"7 cluster groups (tail covers 4112 clusters, rest cover 7680 clusters)\n" |
| 285 |
"Journal size=4194304\n" |
| 286 |
"Initial number of node slots: 2\n" |
| 287 |
"Creating bitmaps: done\n" |
| 288 |
"Initializing superblock: done\n" |
| 289 |
"Writing system files: done\n" |
| 290 |
"Writing superblock: done\n" |
| 291 |
"Writing backup superblock: 0 block(s)\n" |
| 292 |
"Formatting Journals: done\n" |
| 293 |
"Writing lost+found: done\n" |
| 294 |
"mkfs.ocfs2 successful\n" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
msgid "" |
| 298 |
"This will create an OCFS2 file system with two node slots on `/dev/drbd0`, " |
| 299 |
"and set the filesystem label to `ocfs2_drbd0`. You may specify other options " |
| 300 |
"on `mkfs` invocation; please see the `mkfs.ocfs2` system manual page for " |
| 301 |
"details." |
| 302 |
msgstr "" |
| 303 |
"2ノードスロットOCFS2ファイルシステムが `/dev/drbd0` に作成され、ファイルシス" |
| 304 |
"テムのラベルが `ocfs2_drbd0` に設定されます。`mkfs` の呼び出し時に、その他の" |
| 305 |
"オプションを指定することもできます。詳細は `mkfs.ocfs2` システムマニュアル" |
| 306 |
"ページを参照ください。" |
| 307 |
|
| 308 |
#. type: Title === |
| 309 |
#, no-wrap |
| 310 |
msgid "Pacemaker OCFS2 management" |
| 311 |
msgstr "PacemakerによるOCFS2の管理" |
| 312 |
|
| 313 |
#. type: Title ==== |
| 314 |
#, no-wrap |
| 315 |
msgid "Adding a Dual-Primary DRBD resource to Pacemaker" |
| 316 |
msgstr "PacemakerにデュアルプライマリDRBDリソースを追加する" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
msgid "" |
| 320 |
"An existing <<s-ocfs2-create-resource,Dual-Primary DRBD resource>>may be " |
| 321 |
"added to Pacemaker resource management with the following `crm` " |
| 322 |
"configuration:" |
| 323 |
msgstr "" |
| 324 |
"既存の<<s-ocfs2-create-resource,デュアルプライマリDRBDリソース>>は、次の " |
| 325 |
"`crm` 設定でPacemakerリソース管理に追加することができます。" |
| 326 |
|
| 327 |
#. type: delimited block - |
| 328 |
#, no-wrap |
| 329 |
msgid "" |
| 330 |
"primitive p_drbd_ocfs2 ocf:linbit:drbd \\\n" |
| 331 |
" params drbd_resource=\"ocfs2\"\n" |
| 332 |
"ms ms_drbd_ocfs2 p_drbd_ocfs2 \\\n" |
| 333 |
" meta master-max=2 clone-max=2 notify=true\n" |
| 334 |
msgstr "" |
| 335 |
"primitive p_drbd_ocfs2 ocf:linbit:drbd \\\n" |
| 336 |
" params drbd_resource=\"ocfs2\"\n" |
| 337 |
"ms ms_drbd_ocfs2 p_drbd_ocfs2 \\\n" |
| 338 |
" meta master-max=2 clone-max=2 notify=true\n" |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
msgid "" |
| 342 |
"Note the `master-max=2` meta variable; it enables dual-Master mode for a " |
| 343 |
"Pacemaker master/slave set. This requires that `allow-two-primaries` is also " |
| 344 |
"set to `yes` in the DRBD configuration. Otherwise, Pacemaker will flag a " |
| 345 |
"configuration error during resource validation." |
| 346 |
msgstr "" |
| 347 |
"メタ変数 `master-max=2` に注意してください。これはPacemakerのマスター/スレー" |
| 348 |
"ブのデュアルマスターモードを有効にします。その場合、 `allow-two-primaries` " |
| 349 |
"も `yes` にDRBD設定で設定されている必要があります。設定していない場合にはリ" |
| 350 |
"ソースの検証中に設定エラーが発生します。" |
| 351 |
|
| 352 |
#. type: Title ==== |
| 353 |
#, no-wrap |
| 354 |
msgid "Adding OCFS2 management capability to Pacemaker" |
| 355 |
msgstr "OCFS2をPacemakerで管理するには" |
| 356 |
|
| 357 |
#. type: Plain text |
| 358 |
msgid "" |
| 359 |
"In order to manage OCFS2 and the kernel Distributed Lock Manager (DLM), " |
| 360 |
"Pacemaker uses a total of three different resource agents:" |
| 361 |
msgstr "" |
| 362 |
"OCFS2とロックマネージャ(DLM)の分散カーネルを管理するために、Pacemakerは、3つ" |
| 363 |
"の異なるリソースエージェントを使用します。" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
msgid "`ocf:pacemaker:controld` -- Pacemaker's interface to the DLM;" |
| 367 |
msgstr "`ocf:pacemaker:controld` -- PacemakerのDLMに対してのインタフェース" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
msgid "`ocf:ocfs2:o2cb` -- Pacemaker's interface to OCFS2 cluster management;" |
| 371 |
msgstr "`ocf:ocfs2:o2cb` -- PacemakerのOCFS2クラスタ管理へのインタフェース" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
msgid "" |
| 375 |
"`ocf:heartbeat:Filesystem` -- the generic filesystem management resource " |
| 376 |
"agent which supports cluster file systems when configured as a Pacemaker " |
| 377 |
"clone." |
| 378 |
msgstr "" |
| 379 |
"`ocf:heartbeat:Filesystem` -- Pacemakerのクローンとして構成したときにクラスタ" |
| 380 |
"ファイルシステムをサポートする 汎用ファイルシステム管理リソース" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
msgid "" |
| 384 |
"You may enable all nodes in a Pacemaker cluster for OCFS2 management by " |
| 385 |
"creating a _cloned group_ of resources, with the following `crm` " |
| 386 |
"configuration:" |
| 387 |
msgstr "" |
| 388 |
"次の `crm` 設定のように _リソースグループのクローン_ を作成することによって、" |
| 389 |
"OCFS2の管理に必要なPacemakerリソースをすべてのノードで起動できます。" |
| 390 |
|
| 391 |
#. type: delimited block - |
| 392 |
#, no-wrap |
| 393 |
msgid "" |
| 394 |
"primitive p_controld ocf:pacemaker:controld\n" |
| 395 |
"primitive p_o2cb ocf:ocfs2:o2cb\n" |
| 396 |
"group g_ocfs2mgmt p_controld p_o2cb\n" |
| 397 |
"clone cl_ocfs2mgmt g_ocfs2mgmt meta interleave=true\n" |
| 398 |
msgstr "" |
| 399 |
"primitive p_controld ocf:pacemaker:controld\n" |
| 400 |
"primitive p_o2cb ocf:ocfs2:o2cb\n" |
| 401 |
"group g_ocfs2mgmt p_controld p_o2cb\n" |
| 402 |
"clone cl_ocfs2mgmt g_ocfs2mgmt meta interleave=true\n" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
msgid "" |
| 406 |
"Once this configuration is committed, Pacemaker will start instances of the " |
| 407 |
"`controld` and `o2cb` resource types on all nodes in the cluster." |
| 408 |
msgstr "" |
| 409 |
"この構成がコミットされると、Pacemakerは、クラスタ内のすべてのノードで " |
| 410 |
"`controld` と `o2cb` のリソースタイプのインスタンスを起動します。" |
| 411 |
|
| 412 |
#. type: Title ==== |
| 413 |
#, no-wrap |
| 414 |
msgid "Adding an OCFS2 filesystem to Pacemaker" |
| 415 |
msgstr "PacemakerにOCFS2ファイルシステムを追加する" |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
msgid "" |
| 419 |
"Pacemaker manages OCFS2 filesystems using the conventional `ocf:heartbeat:" |
| 420 |
"Filesystem` resource agent, albeit in clone mode. To put an OCFS2 filesystem " |
| 421 |
"under Pacemaker management, use the following `crm` configuration:" |
| 422 |
msgstr "" |
| 423 |
"PacemakerはOCF2ファイルシステムにアクセスするのに、従来の `ocf:heartbeat:" |
| 424 |
"Filesystem` リソースエージェントを使います。これはクローンモードであっても同" |
| 425 |
"様です。Pacemakerの管理下にOCFS2ファイルシステムを配置するには、次の `crm` 設" |
| 426 |
"定を使用します。" |
| 427 |
|
| 428 |
#. type: delimited block - |
| 429 |
#, no-wrap |
| 430 |
msgid "" |
| 431 |
"primitive p_fs_ocfs2 ocf:heartbeat:Filesystem \\\n" |
| 432 |
" params device=\"/dev/drbd/by-res/ocfs2/0\" directory=\"/srv/ocfs2\" \\\n" |
| 433 |
" fstype=\"ocfs2\" options=\"rw,noatime\"\n" |
| 434 |
"clone cl_fs_ocfs2 p_fs_ocfs2\n" |
| 435 |
msgstr "" |
| 436 |
"primitive p_fs_ocfs2 ocf:heartbeat:Filesystem \\\n" |
| 437 |
" params device=\"/dev/drbd/by-res/ocfs2/0\" directory=\"/srv/ocfs2\" \\\n" |
| 438 |
" fstype=\"ocfs2\" options=\"rw,noatime\"\n" |
| 439 |
"clone cl_fs_ocfs2 p_fs_ocfs2\n" |
| 440 |
|
| 441 |
#. type: Plain text |
| 442 |
msgid "This example assumes a single-volume resource." |
| 443 |
msgstr "この例ではボリュームリソースが1つの場合を前提にしています。" |
| 444 |
|
| 445 |
#. type: Title ==== |
| 446 |
#, no-wrap |
| 447 |
msgid "Adding required Pacemaker constraints to manage OCFS2 filesystems" |
| 448 |
msgstr "OCFS2ファイルシステムを管理するPacemakerの制約の追加" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
msgid "" |
| 452 |
"In order to tie all OCFS2-related resources and clones together, add the " |
| 453 |
"following constraints to your Pacemaker configuration:" |
| 454 |
msgstr "" |
| 455 |
"すべてのOCFS2関連のリソースとクローンを結びつけるには、Pacemaker構成に以下の" |
| 456 |
"制約を加えてください。" |
| 457 |
|
| 458 |
#. type: delimited block - |
| 459 |
#, no-wrap |
| 460 |
msgid "" |
| 461 |
"order o_ocfs2 ms_drbd_ocfs2:promote cl_ocfs2mgmt:start cl_fs_ocfs2:start\n" |
| 462 |
"colocation c_ocfs2 cl_fs_ocfs2 cl_ocfs2mgmt ms_drbd_ocfs2:Master\n" |
| 463 |
msgstr "" |
| 464 |
"order o_ocfs2 ms_drbd_ocfs2:promote cl_ocfs2mgmt:start cl_fs_ocfs2:start\n" |
| 465 |
"colocation c_ocfs2 cl_fs_ocfs2 cl_ocfs2mgmt ms_drbd_ocfs2:Master\n" |
| 466 |
|
| 467 |
#. type: Title === |
| 468 |
#, no-wrap |
| 469 |
msgid "Legacy OCFS2 management (without Pacemaker)" |
| 470 |
msgstr "Pacemakerを使わないOCFS2管理" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
msgid "" |
| 474 |
"The information presented in this section applies to legacy systems where " |
| 475 |
"OCFS2 DLM support is not available in Pacemaker. It is preserved here for " |
| 476 |
"reference purposes only. New installations should always use the <<s-ocfs2-" |
| 477 |
"pacemaker,Pacemaker>> approach." |
| 478 |
msgstr "" |
| 479 |
"OCFS2 DLMをサポートしない旧バージョンのPacemakerしか使えない場合、この節が参" |
| 480 |
"考になります。この節は以前の方式を使っている方の参照のためにだけ残してありま" |
| 481 |
"す。新規インストールの場合には<<s-ocfs2-pacemaker,Pacemaker>>方式を使ってくだ" |
| 482 |
"さい。" |
| 483 |
|
| 484 |
#. type: Title ==== |
| 485 |
#, no-wrap |
| 486 |
msgid "Configuring your cluster to support OCFS2" |
| 487 |
msgstr "OCFS2をサポートするようにクラスタを設定する" |
| 488 |
|
| 489 |
#. type: Title ===== |
| 490 |
#, no-wrap |
| 491 |
msgid "Creating the configuration file" |
| 492 |
msgstr "設定ファイルの作成" |
| 493 |
|
| 494 |
#. type: Plain text |
| 495 |
msgid "OCFS2 uses a central configuration file, `/etc/ocfs2/cluster.conf`." |
| 496 |
msgstr "" |
| 497 |
"OCFS2は主要な設定ファイルとして `/etc/ocfs2/cluster.conf` を使用します。" |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
msgid "" |
| 501 |
"When creating your OCFS2 cluster, be sure to add both your hosts to the " |
| 502 |
"cluster configuration. The default port (7777) is usually an acceptable " |
| 503 |
"choice for cluster interconnect communications. If you choose any other port " |
| 504 |
"number, be sure to choose one that does not clash with an existing port used " |
| 505 |
"by DRBD (or any other configured TCP/IP)." |
| 506 |
msgstr "" |
| 507 |
"OCFS2クラスタを作成する際には、必ず、両方のホストを設定ファイルに追加してくだ" |
| 508 |
"さい。クラスタの相互接続通信には、通常はデフォルトポート(7777)が適切です。他" |
| 509 |
"のポート番号を選択する場合は、DRBD (および他の設定済みTCP/IP)が使用する既存の" |
| 510 |
"ポートと衝突しないポートを選択する必要があります。" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
msgid "" |
| 514 |
"If you feel less than comfortable editing the `cluster.conf` file directly, " |
| 515 |
"you may also use the `ocfs2console` graphical configuration utility which is " |
| 516 |
"usually more convenient. Regardless of the approach you selected, your `/etc/" |
| 517 |
"ocfs2/cluster.conf` file contents should look roughly like this:" |
| 518 |
msgstr "" |
| 519 |
"`cluster.conf` ファイルを直接編集したくない場合は、 `ocfs2console` というグラ" |
| 520 |
"フィカルな構成ユーティリティを使用することもできます。通常はこちらのほうが便" |
| 521 |
"利です。いずれの場合も `/etc/ocfs2/cluster.conf` ファイルの内容はおおよそ次の" |
| 522 |
"ようになります。" |
| 523 |
|
| 524 |
#. type: delimited block - |
| 525 |
#, no-wrap |
| 526 |
msgid "" |
| 527 |
"node:\n" |
| 528 |
" ip_port = 7777\n" |
| 529 |
" ip_address = 10.1.1.31\n" |
| 530 |
" number = 0\n" |
| 531 |
" name = alice\n" |
| 532 |
" cluster = ocfs2\n" |
| 533 |
msgstr "" |
| 534 |
"node:\n" |
| 535 |
" ip_port = 7777\n" |
| 536 |
" ip_address = 10.1.1.31\n" |
| 537 |
" number = 0\n" |
| 538 |
" name = alice\n" |
| 539 |
" cluster = ocfs2\n" |
| 540 |
|
| 541 |
#. type: delimited block - |
| 542 |
#, no-wrap |
| 543 |
msgid "" |
| 544 |
"node:\n" |
| 545 |
" ip_port = 7777\n" |
| 546 |
" ip_address = 10.1.1.32\n" |
| 547 |
" number = 1\n" |
| 548 |
" name = bob\n" |
| 549 |
" cluster = ocfs2\n" |
| 550 |
msgstr "" |
| 551 |
"node:\n" |
| 552 |
" ip_port = 7777\n" |
| 553 |
" ip_address = 10.1.1.32\n" |
| 554 |
" number = 1\n" |
| 555 |
" name = bob\n" |
| 556 |
" cluster = ocfs2\n" |
| 557 |
|
| 558 |
#. type: delimited block - |
| 559 |
#, no-wrap |
| 560 |
msgid "" |
| 561 |
"cluster:\n" |
| 562 |
" node_count = 2\n" |
| 563 |
" name = ocfs2\n" |
| 564 |
msgstr "" |
| 565 |
"cluster:\n" |
| 566 |
" node_count = 2\n" |
| 567 |
" name = ocfs2\n" |
| 568 |
|
| 569 |
#. type: Plain text |
| 570 |
msgid "" |
| 571 |
"When you have configured you cluster configuration, use `scp` to distribute " |
| 572 |
"the configuration to both nodes in the cluster." |
| 573 |
msgstr "" |
| 574 |
"クラスタ構成を設定したら、`scp` を使用して構成をクラスタの両方のノードに配布" |
| 575 |
"します。" |
| 576 |
|
| 577 |
#. type: Title ===== |
| 578 |
#, no-wrap |
| 579 |
msgid "Configuring the O2CB driver" |
| 580 |
msgstr "O2CBドライバの設定 " |
| 581 |
|
| 582 |
#. type: Plain text |
| 583 |
msgid "====== SUSE Linux Enterprise systems" |
| 584 |
msgstr "====== SUSE Linux Enterprisesシステム" |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
msgid "" |
| 588 |
"On SLES, you may utilize the `configure` option of the `o2cb` init script:" |
| 589 |
msgstr "" |
| 590 |
"SLESでは、 `o2cb` の起動スクリプトの `configure` オプションを利用することがで" |
| 591 |
"きます。" |
| 592 |
|
| 593 |
#. type: delimited block - |
| 594 |
#, no-wrap |
| 595 |
msgid "" |
| 596 |
"# /etc/init.d/o2cb configure\n" |
| 597 |
"Configuring the O2CB driver.\n" |
| 598 |
msgstr "" |
| 599 |
"# /etc/init.d/o2cb configure\n" |
| 600 |
"Configuring the O2CB driver.\n" |
| 601 |
|
| 602 |
#. type: delimited block - |
| 603 |
#, no-wrap |
| 604 |
msgid "" |
| 605 |
"This will configure the on-boot properties of the O2CB driver.\n" |
| 606 |
"The following questions will determine whether the driver is loaded on\n" |
| 607 |
"boot. The current values will be shown in brackets ('[]'). Hitting\n" |
| 608 |
"<ENTER> without typing an answer will keep that current value. Ctrl-C\n" |
| 609 |
"will abort.\n" |
| 610 |
msgstr "" |
| 611 |
"This will configure the on-boot properties of the O2CB driver.\n" |
| 612 |
"The following questions will determine whether the driver is loaded on\n" |
| 613 |
"boot. The current values will be shown in brackets ('[]'). Hitting\n" |
| 614 |
"<ENTER> without typing an answer will keep that current value. Ctrl-C\n" |
| 615 |
"will abort.\n" |
| 616 |
|
| 617 |
#. type: delimited block - |
| 618 |
#, no-wrap |
| 619 |
msgid "" |
| 620 |
"Load O2CB driver on boot (y/n) [y]:\n" |
| 621 |
"Cluster to start on boot (Enter \"none\" to clear) [ocfs2]:\n" |
| 622 |
"Specify heartbeat dead threshold (>=7) [31]:\n" |
| 623 |
"Specify network idle timeout in ms (>=5000) [30000]:\n" |
| 624 |
"Specify network keepalive delay in ms (>=1000) [2000]:\n" |
| 625 |
"Specify network reconnect delay in ms (>=2000) [2000]:\n" |
| 626 |
"Use user-space driven heartbeat? (y/n) [n]:\n" |
| 627 |
"Writing O2CB configuration: OK\n" |
| 628 |
"Loading module \"configfs\": OK\n" |
| 629 |
"Mounting configfs filesystem at /sys/kernel/config: OK\n" |
| 630 |
"Loading module \"ocfs2_nodemanager\": OK\n" |
| 631 |
"Loading module \"ocfs2_dlm\": OK\n" |
| 632 |
"Loading module \"ocfs2_dlmfs\": OK\n" |
| 633 |
"Mounting ocfs2_dlmfs filesystem at /dlm: OK\n" |
| 634 |
"Starting O2CB cluster ocfs2: OK\n" |
| 635 |
msgstr "" |
| 636 |
"Load O2CB driver on boot (y/n) [y]:\n" |
| 637 |
"Cluster to start on boot (Enter \"none\" to clear) [ocfs2]:\n" |
| 638 |
"Specify heartbeat dead threshold (>=7) [31]:\n" |
| 639 |
"Specify network idle timeout in ms (>=5000) [30000]:\n" |
| 640 |
"Specify network keepalive delay in ms (>=1000) [2000]:\n" |
| 641 |
"Specify network reconnect delay in ms (>=2000) [2000]:\n" |
| 642 |
"Use user-space driven heartbeat? (y/n) [n]:\n" |
| 643 |
"Writing O2CB configuration: OK\n" |
| 644 |
"Loading module \"configfs\": OK\n" |
| 645 |
"Mounting configfs filesystem at /sys/kernel/config: OK\n" |
| 646 |
"Loading module \"ocfs2_nodemanager\": OK\n" |
| 647 |
"Loading module \"ocfs2_dlm\": OK\n" |
| 648 |
"Loading module \"ocfs2_dlmfs\": OK\n" |
| 649 |
"Mounting ocfs2_dlmfs filesystem at /dlm: OK\n" |
| 650 |
"Starting O2CB cluster ocfs2: OK\n" |
| 651 |
|
| 652 |
#. type: Plain text |
| 653 |
msgid "" |
| 654 |
"====== .Debian GNU/Linux systems On Debian, the `configure` option to `/etc/" |
| 655 |
"init.d/o2cb` is not available. Instead, reconfigure the `ocfs2-tools` " |
| 656 |
"package to enable the driver:" |
| 657 |
msgstr "" |
| 658 |
"====== Debian GNU/Linuxシステム \n" |
| 659 |
"Debianの場合は、 `/etc/init.d/o2cb` の `configure` オプションは使用できませ" |
| 660 |
"ん。代わりに、 `ocfs2-tools` パッケージを再設定してドライバを有効にします。" |
| 661 |
|
| 662 |
#. type: delimited block - |
| 663 |
#, no-wrap |
| 664 |
msgid "" |
| 665 |
"# dpkg-reconfigure -p medium -f readline ocfs2-tools\n" |
| 666 |
"Configuring ocfs2-tools\n" |
| 667 |
"Would you like to start an OCFS2 cluster (O2CB) at boot time? yes\n" |
| 668 |
"Name of the cluster to start at boot time: ocfs2\n" |
| 669 |
"The O2CB heartbeat threshold sets up the maximum time in seconds that a node\n" |
| 670 |
"awaits for an I/O operation. After it, the node \"fences\" itself, and you will\n" |
| 671 |
"probably see a crash.\n" |
| 672 |
msgstr "" |
| 673 |
"# dpkg-reconfigure -p medium -f readline ocfs2-tools\n" |
| 674 |
"Configuring ocfs2-tools\n" |
| 675 |
"Would you like to start an OCFS2 cluster (O2CB) at boot time? yes\n" |
| 676 |
"Name of the cluster to start at boot time: ocfs2\n" |
| 677 |
"The O2CB heartbeat threshold sets up the maximum time in seconds that a node\n" |
| 678 |
"awaits for an I/O operation. After it, the node \"fences\" itself, and you will\n" |
| 679 |
"probably see a crash.\n" |
| 680 |
|
| 681 |
#. type: delimited block - |
| 682 |
#, no-wrap |
| 683 |
msgid "It is calculated as the result of: (threshold - 1) x 2.\n" |
| 684 |
msgstr "It is calculated as the result of: (threshold - 1) x 2.\n" |
| 685 |
|
| 686 |
#. type: delimited block - |
| 687 |
#, no-wrap |
| 688 |
msgid "Its default value is 31 (60 seconds).\n" |
| 689 |
msgstr "Its default value is 31 (60 seconds).\n" |
| 690 |
|
| 691 |
#. type: delimited block - |
| 692 |
#, no-wrap |
| 693 |
msgid "Raise it if you have slow disks and/or crashes with kernel messages like:\n" |
| 694 |
msgstr "Raise it if you have slow disks and/or crashes with kernel messages like:\n" |
| 695 |
|
| 696 |
#. type: delimited block - |
| 697 |
#, no-wrap |
| 698 |
msgid "" |
| 699 |
"o2hb_write_timeout: 164 ERROR: heartbeat write timeout to device XXXX after NNNN\n" |
| 700 |
"milliseconds\n" |
| 701 |
"O2CB Heartbeat threshold: `31`\n" |
| 702 |
"\t\tLoading filesystem \"configfs\": OK\n" |
| 703 |
"Mounting configfs filesystem at /sys/kernel/config: OK\n" |
| 704 |
"Loading stack plugin \"o2cb\": OK\n" |
| 705 |
"Loading filesystem \"ocfs2_dlmfs\": OK\n" |
| 706 |
"Mounting ocfs2_dlmfs filesystem at /dlm: OK\n" |
| 707 |
"Setting cluster stack \"o2cb\": OK\n" |
| 708 |
"Starting O2CB cluster ocfs2: OK\n" |
| 709 |
msgstr "" |
| 710 |
"o2hb_write_timeout: 164 ERROR: heartbeat write timeout to device XXXX after NNNN\n" |
| 711 |
"milliseconds\n" |
| 712 |
"O2CB Heartbeat threshold: `31`\n" |
| 713 |
"\t\tLoading filesystem \"configfs\": OK\n" |
| 714 |
"Mounting configfs filesystem at /sys/kernel/config: OK\n" |
| 715 |
"Loading stack plugin \"o2cb\": OK\n" |
| 716 |
"Loading filesystem \"ocfs2_dlmfs\": OK\n" |
| 717 |
"Mounting ocfs2_dlmfs filesystem at /dlm: OK\n" |
| 718 |
"Setting cluster stack \"o2cb\": OK\n" |
| 719 |
"Starting O2CB cluster ocfs2: OK\n" |
| 720 |
|
| 721 |
#. type: Title ==== |
| 722 |
#, no-wrap |
| 723 |
msgid "Using your OCFS2 filesystem" |
| 724 |
msgstr "OCFS2ファイルシステムの使用" |
| 725 |
|
| 726 |
#. type: Plain text |
| 727 |
msgid "" |
| 728 |
"When you have completed cluster configuration and created your file system, " |
| 729 |
"you may mount it as any other file system:" |
| 730 |
msgstr "" |
| 731 |
"クラスタ構成を完了して、ファイルシステムを作成すると、他のファイルシステムと" |
| 732 |
"同様にマウントすることができます。" |
| 733 |
|
| 734 |
#. type: delimited block - |
| 735 |
#, no-wrap |
| 736 |
msgid "# mount -t ocfs2 /dev/drbd0 /shared\n" |
| 737 |
msgstr "# mount -t ocfs2 /dev/drbd0 /shared\n" |
| 738 |
|
| 739 |
#. type: Plain text |
| 740 |
msgid "" |
| 741 |
"Your kernel log (accessible by issuing the command `dmesg`) should then " |
| 742 |
"contain a line similar to this one:" |
| 743 |
msgstr "" |
| 744 |
"dmesg コマンドで表示されるカーネルログに次のような行が見つかるはずです。" |
| 745 |
|
| 746 |
#. type: delimited block - |
| 747 |
#, no-wrap |
| 748 |
msgid "ocfs2: Mounting device (147,0) on (node 0, slot 0) with ordered data mode.\n" |
| 749 |
msgstr "ocfs2: Mounting device (147,0) on (node 0, slot 0) with ordered data mode.\n" |
| 750 |
|
| 751 |
#. type: Plain text |
| 752 |
msgid "" |
| 753 |
"From that point forward, you should be able to simultaneously mount your " |
| 754 |
"OCFS2 filesystem on both your nodes, in read/write mode." |
| 755 |
msgstr "" |
| 756 |
"その時点から、両方のノードでOCFS2ファイルシステムに読み取り/書き込みモードで" |
| 757 |
"アクセスできるようになります。" |