| 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 "Upgrading DRBD" |
| 21 |
msgstr "DRBDのアップグレード" |
| 22 |
|
| 23 |
#. type: Plain text |
| 24 |
msgid "" |
| 25 |
"Upgrading DRBD is a fairly simple process. This section will cover the " |
| 26 |
"process of upgrading from 8.4.x to 9.0.x in great detail; for within-9 " |
| 27 |
"upgrades it gets to be much easier, see the short version <<s-upgrade-" |
| 28 |
"within-9,below>>." |
| 29 |
msgstr "" |
| 30 |
"DRBDのアップグレードは非常にシンプルな手順です。この章ではDRBD8.4から9.0への" |
| 31 |
"アップグレード手順を説明します。DRBD9系内でのアップグレードの手順についてはよ" |
| 32 |
"り簡単ですので<<s-upgrade-within-9,以下>>の項目を参照ください。" |
| 33 |
|
| 34 |
#. type: Title ==== |
| 35 |
#, no-wrap |
| 36 |
msgid "Compatibility" |
| 37 |
msgstr "互換性" |
| 38 |
|
| 39 |
#. type: Plain text |
| 40 |
msgid "" |
| 41 |
"DRBD is _wire protocol_ compatible over minor versions. Its _wire protocol_ " |
| 42 |
"is independent of the host kernel version and the machines' CPU " |
| 43 |
"architectures." |
| 44 |
msgstr "" |
| 45 |
"DRBD は、マイナーバージョン間でワイヤプロトコル互換です。これはホストのカーネ" |
| 46 |
"ルのバージョンやマシンの CPU アーキテクチャに依存しません。" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
msgid "" |
| 50 |
"DRBD is protocol compatible within a major number. E.g. All version 8.x.y " |
| 51 |
"releases are protocol compatible." |
| 52 |
msgstr "" |
| 53 |
"DRBD は、メジャーバージョン間でプロトコル互換です。たとえば、すべてのバージョ" |
| 54 |
"ン 8.x.y リリース間はプロトコル互換です。" |
| 55 |
|
| 56 |
#. type: Plain text |
| 57 |
msgid "" |
| 58 |
"DRBD 9.0.x is compatible with all drbd-8.x.y releases. DRBD 9.1.x is " |
| 59 |
"compatible with all drbd-9.0.x releases but no longer with drbd-8.x.y." |
| 60 |
msgstr "" |
| 61 |
"DRBD 9.0.x は、すべての drbd-8.x.y リリースと互換性があります。DRBD 9.1.x " |
| 62 |
"は、すべての drbd-9.0.x リリースと互換性がありますが、drbd-8.x.y とは互換性が" |
| 63 |
"ありません。" |
| 64 |
|
| 65 |
#. type: Title ==== |
| 66 |
#, no-wrap |
| 67 |
msgid "General overview" |
| 68 |
msgstr "概要" |
| 69 |
|
| 70 |
#. type: Plain text |
| 71 |
msgid "The general process for upgrading 8.4 to 9.0 is as follows:" |
| 72 |
msgstr "8.4から9.0へのアップグレード手順の概要は以下の通りです。" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
msgid "" |
| 76 |
"Configure the <<s-updating-your-repo,new repositories>> (if using packages " |
| 77 |
"from LINBIT)" |
| 78 |
msgstr "" |
| 79 |
"<<s-updating-your-repo,新しいリポジトリ>>を設定する。(LINBITのパッケージを" |
| 80 |
"使っている場合)" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
msgid "Make sure that the current situation <<s-upgrade-check,is okay>>" |
| 84 |
msgstr "現在の状態が<<s-upgrade-check,問題ない>>事を確認する。" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
msgid "<<s-upgrade-pausing-the-cluster,Pause>> any cluster manager" |
| 88 |
msgstr "クラスタ管理ソフトを<<s-upgrade-pausing-the-cluster,停止>>する。" |
| 89 |
|
| 90 |
#. type: Plain text |
| 91 |
msgid "Get <<s-Upgrading-the-packages,new versions>> installed" |
| 92 |
msgstr "<<s-Upgrading-the-packages,新しいバージョン>>をインストールする。" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
msgid "" |
| 96 |
"If wanting to move to more than 2 nodes, then you'll need to resize the " |
| 97 |
"lower-level storage to provide room for the additional meta-data; this topic " |
| 98 |
"is discussed in the <<ch-lvm,LVM Chapter>>." |
| 99 |
msgstr "" |
| 100 |
"2ノード以上を移動させたい場合は、追加メタデータ用のスペースを加えるために下位" |
| 101 |
"レベルデバイスをリサイズする必要がある。この点については<<ch-lvm,LVMの章>>参" |
| 102 |
"照。" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
msgid "" |
| 106 |
"Deconfigure resources, unload DRBD 8.4, and <<s-upgrade-reload-kernel-mod," |
| 107 |
"load the v9 kernel module>>" |
| 108 |
msgstr "" |
| 109 |
"リソースの設定を取り除き、DRBD8.4をアンロードし、そして<<s-upgrade-reload-" |
| 110 |
"kernel-mod,v9のカーネルモジュールをロード>>する。" |
| 111 |
|
| 112 |
#. type: Plain text |
| 113 |
msgid "" |
| 114 |
"<<s-upgrade-convert,Convert DRBD meta-data>> to format `v09`, perhaps " |
| 115 |
"changing the number of bitmaps in the same step" |
| 116 |
msgstr "" |
| 117 |
"`v09` の形式に<<s-upgrade-convert,DRBDメタデータをコンバート>>する。ビット" |
| 118 |
"マップ数も同様の手順。" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
msgid "Take the DRBD <<s-upgrade-start-drbd,resources up>>, and be happy" |
| 122 |
msgstr "<<s-upgrade-start-drbd,リソースを起動>>をして完了。" |
| 123 |
|
| 124 |
#. type: Title ==== |
| 125 |
#, no-wrap |
| 126 |
msgid "Updating your repository" |
| 127 |
msgstr "リポジトリのアップデート" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
msgid "" |
| 131 |
"Due to the number of changes between the 8.4 and 9.0 branches we have " |
| 132 |
"created separate repositories for each. Perform this repository update on " |
| 133 |
"both servers." |
| 134 |
msgstr "" |
| 135 |
"8.4と9.0のブランチ間の様々な変更のため、各々に別のリポジトリを作成していま" |
| 136 |
"す。各サーバでリポジトリのアップデートを行います。" |
| 137 |
|
| 138 |
#. type: Title ===== |
| 139 |
#, no-wrap |
| 140 |
msgid "RHEL/CentOS systems" |
| 141 |
msgstr "RHEL/CentOSのシステム" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
msgid "" |
| 145 |
"Edit your `/etc/yum.repos.d/linbit.repo` file to reflect the following " |
| 146 |
"changes." |
| 147 |
msgstr "`/etc/yum.repos.d/linbit.repo` ファイルに以下の変更を反映します。" |
| 148 |
|
| 149 |
#. type: delimited block - |
| 150 |
#, no-wrap |
| 151 |
msgid "" |
| 152 |
"[drbd-9.0]\n" |
| 153 |
"name=DRBD 9.0\n" |
| 154 |
"baseurl=http://packages.linbit.com/<hash>/yum/rhel7/drbd-9.0/<arch>\n" |
| 155 |
"gpgcheck=0\n" |
| 156 |
msgstr "" |
| 157 |
"[drbd-9.0]\n" |
| 158 |
"name=DRBD 9.0\n" |
| 159 |
"baseurl=http://packages.linbit.com/<hash>/yum/rhel7/drbd-9.0/<arch>\n" |
| 160 |
"gpgcheck=0\n" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
msgid "" |
| 164 |
"You will have to populate the <hash> and <arch> variables. The <hash> is " |
| 165 |
"provided by LINBIT support services." |
| 166 |
msgstr "" |
| 167 |
"<hash>と<arch>の箇所は置き換えてください。<hash>はLINBITサポートから提供され" |
| 168 |
"るものです。" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
msgid "Edit your `*.repo` file to reflect the necessary changes." |
| 172 |
msgstr "`*.repo` ファイルに以下の変更を反映します。" |
| 173 |
|
| 174 |
#. type: Title ===== |
| 175 |
#, no-wrap |
| 176 |
msgid "Debian/Ubuntu systems" |
| 177 |
msgstr "Debian/Ubuntuのシステム" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
msgid "" |
| 181 |
"Edit `/etc/apt/sources.list` (or a file in `/etc/apt/sources.d/`) to reflect " |
| 182 |
"the following changes." |
| 183 |
msgstr "" |
| 184 |
"`/etc/apt/sources.list`(または `/etc/apt/sources.d/` にあるファイル)に以下の" |
| 185 |
"変更を反映します。" |
| 186 |
|
| 187 |
#. type: delimited block - |
| 188 |
#, no-wrap |
| 189 |
msgid "deb http://packages.linbit.com/<hash>/ bullseye drbd-9.0\n" |
| 190 |
msgstr "deb http://packages.linbit.com/<hash>/ bullseye drbd-9.0\n" |
| 191 |
|
| 192 |
#. type: Plain text |
| 193 |
msgid "" |
| 194 |
"In case you're not using the `bullseye` release, but some other, you'll need " |
| 195 |
"to change that line." |
| 196 |
msgstr "" |
| 197 |
"`bullseye` リリースを使用していない場合でも、また他のリリースの場合でも、この" |
| 198 |
"変更は必要です。" |
| 199 |
|
| 200 |
#. type: Plain text |
| 201 |
msgid "" |
| 202 |
"You will have to populate the `<hash>` variable. The `<hash>` is provided by " |
| 203 |
"LINBIT support services." |
| 204 |
msgstr "" |
| 205 |
"<hash>の箇所は置き換えてください。<hash>はLINBITサポートから提供されるもので" |
| 206 |
"す。" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
msgid "Next you will want to add the DRBD signing key to your trusted keys." |
| 210 |
msgstr "次にDRBDの署名キーを信頼済みキーに追加してもよいでしょう。" |
| 211 |
|
| 212 |
#. type: delimited block - |
| 213 |
#, no-wrap |
| 214 |
msgid "" |
| 215 |
"# gpg --keyserver subkeys.pgp.net --recv-keys 0x282B6E23\n" |
| 216 |
"# gpg --export -a 282B6E23 | apt-key add -\n" |
| 217 |
msgstr "" |
| 218 |
"# gpg --keyserver subkeys.pgp.net --recv-keys 0x282B6E23\n" |
| 219 |
"# gpg --export -a 282B6E23 | apt-key add -\n" |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
msgid "" |
| 223 |
"Edit `/etc/apt/sources.list` (or a file in `/etc/apt/sources.d/`) to reflect " |
| 224 |
"the the necessary changes." |
| 225 |
msgstr "" |
| 226 |
"`/etc/apt/sources.list`(または `/etc/apt/sources.d/` にあるファイル)に以下の" |
| 227 |
"変更を反映します。" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
msgid "" |
| 231 |
"Lastly perform an `apt update` so Debian recognizes the updated repository." |
| 232 |
msgstr "最後に `apt update` を実行してリポジトリのアップデートを認識させます。" |
| 233 |
|
| 234 |
#. type: delimited block - |
| 235 |
#, no-wrap |
| 236 |
msgid "# apt update\n" |
| 237 |
msgstr "# apt update\n" |
| 238 |
|
| 239 |
#. type: Title ==== |
| 240 |
#, no-wrap |
| 241 |
msgid "Checking the DRBD state" |
| 242 |
msgstr "DRBDの状態を確認する" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
msgid "" |
| 246 |
"Before you begin make sure your resources are in sync. The output of `cat /" |
| 247 |
"proc/drbd` (which is only available _before_ 9.0) should show _UpToDate/" |
| 248 |
"UpToDate_." |
| 249 |
msgstr "" |
| 250 |
"リソースが同期していることを確認します。`cat /proc/drbd` が `UpToDate/" |
| 251 |
"UpToDate` を出力しています。(これは、DRBD8系 _以下_ でのみ有効です)" |
| 252 |
|
| 253 |
#. type: delimited block - |
| 254 |
#, no-wrap |
| 255 |
msgid "bob# cat /proc/drbd\n" |
| 256 |
msgstr "bob# cat /proc/drbd\n" |
| 257 |
|
| 258 |
#. type: delimited block - |
| 259 |
#, no-wrap |
| 260 |
msgid "" |
| 261 |
"version: 8.4.9-1 (api:1/proto:86-101)\n" |
| 262 |
"GIT-hash: e081fb0570183db40caa29b26cb8ee907e9a7db3 build by linbit@buildsystem, 2016-11-18 14:49:21\n" |
| 263 |
msgstr "" |
| 264 |
"version: 8.4.9-1 (api:1/proto:86-101)\n" |
| 265 |
"GIT-hash: e081fb0570183db40caa29b26cb8ee907e9a7db3 build by linbit@buildsystem, 2016-11-18 14:49:21\n" |
| 266 |
|
| 267 |
#. type: delimited block - |
| 268 |
#, no-wrap |
| 269 |
msgid "" |
| 270 |
" 0: cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate C r-----\n" |
| 271 |
" ns:0 nr:211852 dw:211852 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0\n" |
| 272 |
msgstr "" |
| 273 |
" 0: cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate C r-----\n" |
| 274 |
" ns:0 nr:211852 dw:211852 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0\n" |
| 275 |
|
| 276 |
#. type: Title ==== |
| 277 |
#, no-wrap |
| 278 |
msgid "Pausing the services" |
| 279 |
msgstr "サービスの一時停止" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
msgid "" |
| 283 |
"Now that you know the resources are in sync, start by upgrading the " |
| 284 |
"secondary node. This can be done manually or according to your cluster " |
| 285 |
"manager's documentation." |
| 286 |
msgstr "" |
| 287 |
"リソースが同期している事を確認したら、セカンダリノードをアップグレードしま" |
| 288 |
"す。この手順は手動で行うことができます。またはクラスタマネージャのドキュメン" |
| 289 |
"トに従って実行します。" |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
msgid "" |
| 293 |
"Both processes are covered below. If you're running Pacemaker do not use " |
| 294 |
"the manual method." |
| 295 |
msgstr "" |
| 296 |
"両手順は以下の通りです。Pacemakerの動作中は手動では操作しないでください。" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
msgid "Manual Method" |
| 300 |
msgstr "手動手順" |
| 301 |
|
| 302 |
#. type: delimited block - |
| 303 |
#, no-wrap |
| 304 |
msgid "bob# systemctl stop [email protected]\n" |
| 305 |
msgstr "bob# systemctl stop [email protected]\n" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
msgid "Pacemaker" |
| 309 |
msgstr "Pacemaker" |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
msgid "" |
| 313 |
"Put the secondary node into standby mode. In this example 'bob' is secondary." |
| 314 |
msgstr "" |
| 315 |
"セカンダリノードをスタンバイモードにします。この例では `bob` はセカンダリで" |
| 316 |
"す。" |
| 317 |
|
| 318 |
#. type: delimited block - |
| 319 |
#, no-wrap |
| 320 |
msgid "bob# crm node standby bob\n" |
| 321 |
msgstr "bob# crm node standby bob\n" |
| 322 |
|
| 323 |
#. type: Plain text |
| 324 |
msgid "" |
| 325 |
"You can watch the status of your cluster using `crm_mon -rf` or watch `cat /" |
| 326 |
"proc/drbd` until it shows _Unconfigured_ for your resources." |
| 327 |
msgstr "" |
| 328 |
"クラスタの状態を 'crm_mon -rf' で確認することができます。または、リソースの状" |
| 329 |
"態を、もし \"Unconfigured\" と表示されていなければ 'cat /proc/drbd' で確認す" |
| 330 |
"ることができます。" |
| 331 |
|
| 332 |
#. type: Title ==== |
| 333 |
#, no-wrap |
| 334 |
msgid "Upgrading the packages" |
| 335 |
msgstr "パッケージのアップグレード" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
msgid "Now update your packages with either yum or apt." |
| 339 |
msgstr "パッケージをyumまたはaptでアップデートします。" |
| 340 |
|
| 341 |
#. type: delimited block - |
| 342 |
#, no-wrap |
| 343 |
msgid "bob# yum upgrade\n" |
| 344 |
msgstr "bob# yum upgrade\n" |
| 345 |
|
| 346 |
#. type: delimited block - |
| 347 |
#, no-wrap |
| 348 |
msgid "bob# apt upgrade\n" |
| 349 |
msgstr "bob# apt upgrade\n" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
msgid "" |
| 353 |
"Once the upgrade is finished will now have the latest DRBD 9.0 kernel module " |
| 354 |
"and drbd-utils installed on your secondary node, 'bob'." |
| 355 |
msgstr "" |
| 356 |
"アップグレードが完了すると、最新のDRBD9のカーネルモジュールとdrbd-utilsがセカ" |
| 357 |
"ンダリノードの `bob` にインストールされています。" |
| 358 |
|
| 359 |
#. type: Plain text |
| 360 |
msgid "But the kernel module is not active yet." |
| 361 |
msgstr "しかしカーネルモジュールはまだ有効化されていません。" |
| 362 |
|
| 363 |
#. type: Title ==== |
| 364 |
#, no-wrap |
| 365 |
msgid "Loading the new Kernel module" |
| 366 |
msgstr "新しいカーネルモジュールのロード" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
msgid "" |
| 370 |
"By now the DRBD module should not be in use anymore, so we unload it via" |
| 371 |
msgstr "" |
| 372 |
"現時点でDRBDモジュールは使用していませんので、以下コマンドでアンロードしま" |
| 373 |
"す。" |
| 374 |
|
| 375 |
#. type: delimited block - |
| 376 |
#, no-wrap |
| 377 |
msgid "bob# rmmod drbd_transport_tcp; rmmod drbd\n" |
| 378 |
msgstr "bob# rmmod drbd_transport_tcp; rmmod drbd\n" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
msgid "" |
| 382 |
"If there's a message like `ERROR: Module drbd is in use`, then not all " |
| 383 |
"resources have been correctly stopped yet. + Retry <<s-upgrading-drbd>>, and/" |
| 384 |
"or run the command `drbdadm down all` to find out which resources are still " |
| 385 |
"active." |
| 386 |
msgstr "" |
| 387 |
"\" `ERROR : Module drbd is in use` \" のようなメッセージが出る場合は、まだす" |
| 388 |
"べてのリソースが正常に停止していません。<<s-upgrading-drbd>>を再実行し、そし" |
| 389 |
"て/またはどのリソースがまだ稼働しているのか確認するため `drbdadm down all` を" |
| 390 |
"実行します。" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
msgid "Typical issues that might prevent unloading are these:" |
| 394 |
msgstr "よくあるアンロードを妨げる原因には以下のものがあります。" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
msgid "NFS export on a DRBD-backed filesystem (see `exportfs -v` output)" |
| 398 |
msgstr "" |
| 399 |
"DRBDが下位デバイスのファイルシステムにNFSエクスポートがある( `exportfs -v` の" |
| 400 |
"出力を確認)" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
msgid "Filesystem still mounted - check `grep drbd /proc/mounts`" |
| 404 |
msgstr "ファイルシステムをマウント中 - `grep drbd /proc/mounts` を確認" |
| 405 |
|
| 406 |
#. type: Plain text |
| 407 |
msgid "Loopback device active (`losetup -l`)" |
| 408 |
msgstr "ループバックデバイスがアクティブ ( `losetup -l` )" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
msgid "Device mapper using DRBD, directly or indirectly (`dmsetup ls --tree`)" |
| 412 |
msgstr "" |
| 413 |
"デバイスマッパーが直接または間接的にDRBDを使用している。( `dmsetup ls --" |
| 414 |
"tree` )" |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
msgid "LVM with a DRBD-PV (`pvs`)" |
| 418 |
msgstr "" |
| 419 |
"DRBDデバイスが物理ボリュームとなっていて、そのLVMがアクティブ ( `pvs` )" |
| 420 |
|
| 421 |
#. type: Plain text |
| 422 |
msgid "" |
| 423 |
"Please note that this list isn't complete - these are just the most common " |
| 424 |
"examples." |
| 425 |
msgstr "" |
| 426 |
"上記はよくあるケースであり、すべてのケースを網羅するものではないという事に注" |
| 427 |
"意ください。" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
msgid "Now we can load the new DRBD module:" |
| 431 |
msgstr "これで、DRBDモジュールをロードすることができます。" |
| 432 |
|
| 433 |
#. type: delimited block - |
| 434 |
#, no-wrap |
| 435 |
msgid "bob# modprobe drbd\n" |
| 436 |
msgstr "bob# modprobe drbd\n" |
| 437 |
|
| 438 |
#. type: Plain text |
| 439 |
msgid "" |
| 440 |
"Now you should check the contents of `/proc/drbd` and verify that the " |
| 441 |
"correct (new) version is loaded; if the installed packages is for the wrong " |
| 442 |
"kernel version, the `modprobe` would be successful, but you'd be left with " |
| 443 |
"the old version being active again." |
| 444 |
msgstr "" |
| 445 |
"`/proc/drbd` の出力を確認し、正しく(新しい)バージョンがロードされたか確認して" |
| 446 |
"ください。もしインストールされているパッケージが間違ったカーネルバージョンの" |
| 447 |
"ものだった場合には、 `modprobe` は有効ですが、古いバージョンが残っていれば再" |
| 448 |
"び有効にすることもできます。" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
msgid "" |
| 452 |
"The output of `cat /proc/drbd` should now show 9.0.x and look similar to " |
| 453 |
"this." |
| 454 |
msgstr "'cat /proc/drbd' の出力は9.0.xを表示し、次のようになっているでしょう。" |
| 455 |
|
| 456 |
#. type: delimited block - |
| 457 |
#, no-wrap |
| 458 |
msgid "" |
| 459 |
"version: 9.0.0 (api:2/proto:86-110)\n" |
| 460 |
"GIT-hash: 768965a7f158d966bd3bd4ff1014af7b3d9ff10c build by root@bob, 2015-09-03 13:58:02\n" |
| 461 |
"Transports (api:10): tcp (1.0.0)\n" |
| 462 |
msgstr "" |
| 463 |
"version: 9.0.0 (api:2/proto:86-110)\n" |
| 464 |
"GIT-hash: 768965a7f158d966bd3bd4ff1014af7b3d9ff10c build by root@bob, 2015-09-03 13:58:02\n" |
| 465 |
"Transports (api:10): tcp (1.0.0)\n" |
| 466 |
|
| 467 |
#. type: Plain text |
| 468 |
msgid "" |
| 469 |
"On the primary node, alice, 'cat /proc/drbd' will still show the prior " |
| 470 |
"version, until you upgrade it." |
| 471 |
msgstr "" |
| 472 |
"プライマリノードのaliceでは、 'cat /proc/drbd' はアップグレードをするまでは以" |
| 473 |
"前のバージョンを表示します。" |
| 474 |
|
| 475 |
#. At this point the cluster is running two different versions of DRBD. While this |
| 476 |
#. is not recommended to be used for longer time spans, it is inevitable for the (short) upgrade period. |
| 477 |
#. Stop |
| 478 |
#. any service using DRBD and then DRBD on the primary node, alice, and promote |
| 479 |
#. 'bob'. Again this can be done either manually or via the Pacemaker shell. |
| 480 |
#. * Manually |
| 481 |
#. ---------------------------- |
| 482 |
#. alice # umount /dev/drbd/by-res/r0 |
| 483 |
#. alice # /etc/init.d/drbd stop |
| 484 |
#. bob # drbdadm primary r0 |
| 485 |
#. bob # mount /dev/drbd/by-res/r0/0 /mnt/drbd |
| 486 |
#. ---------------------------- |
| 487 |
#. Please note that the mount command now references '/0' which defines |
| 488 |
#. the volume number of a resource. See <<s-recent-changes-volumes>> for |
| 489 |
#. more information on the new volumes feature. |
| 490 |
#. * Pacemaker |
| 491 |
#. ---------------------------- |
| 492 |
#. # crm node standby alice |
| 493 |
#. ---------------------------- |
| 494 |
#. WARNING: This will interrupt running services by stopping them and |
| 495 |
#. migrating them to the secondary server, bob. |
| 496 |
#. At this point you can safely upgrade DRBD by using yum or apt. |
| 497 |
#. ---------------------------- |
| 498 |
#. alice# yum upgrade |
| 499 |
#. ---------------------------- |
| 500 |
#. ---------------------------- |
| 501 |
#. alice# apt upgrade |
| 502 |
#. ---------------------------- |
| 503 |
#. Once the upgrade is complete you will now have the latest version |
| 504 |
#. of DRBD on alice and can start DRBD. |
| 505 |
#. * Manually |
| 506 |
#. ---------------------------- |
| 507 |
#. alice# /etc/init.d/drbd start |
| 508 |
#. ---------------------------- |
| 509 |
#. * Pacemaker |
| 510 |
#. ---------------------------- |
| 511 |
#. alice# crm node online alice |
| 512 |
#. ---------------------------- |
| 513 |
#. NOTE: Services will still be located on bob and will remain there |
| 514 |
#. until you migrate them back. |
| 515 |
#. Both servers should now show the latest version of DRBD in a connected |
| 516 |
#. state. |
| 517 |
#. ---------------------------- |
| 518 |
#. # cat /proc/drbd |
| 519 |
#. version: 9.0.0 (api:2/proto:86-110) |
| 520 |
#. GIT-hash: 768965a7f158d966bd3bd4ff1014af7b3d9ff10c build by root@bob, 2015-09-03 13:58:02 |
| 521 |
#. Transports (api:10): tcp (1.0.0) |
| 522 |
#. # drbdsetup status |
| 523 |
#. r0 role:Secondary |
| 524 |
#. disk:UpToDate |
| 525 |
#. bob role:Secondary |
| 526 |
#. peer-disk:UpToDate |
| 527 |
#. ---------------------------- |
| 528 |
#. type: Title ==== |
| 529 |
#, no-wrap |
| 530 |
msgid "Migrating your configuration files" |
| 531 |
msgstr "設定ファイルの移行" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
msgid "" |
| 535 |
"DRBD 9.0 is backward compatible with the 8.4 configuration files; however, " |
| 536 |
"some syntax has changed. See <<s-recent-changes-config>> for a full list of " |
| 537 |
"changes. In the meantime you can port your old configs fairly easily by " |
| 538 |
"using 'drbdadm dump all' command. This will output both a new global config " |
| 539 |
"followed by the new resource config files. Take this output and make changes " |
| 540 |
"accordingly." |
| 541 |
msgstr "" |
| 542 |
"DRBD 9.0は8.4の設定ファイルに後方互換性がありますが、一部の構文は変更していま" |
| 543 |
"す。変更点の全一覧は<<s-recent-changes-config>>を参照してください。'drbdadm " |
| 544 |
"dump all' コマンドを使えば古い設定を簡単に移すことができます。これは、新しい" |
| 545 |
"リソース設定ファイルに続いて新しいグローバル設定も両方とも出力します。この出" |
| 546 |
"力を使って適宜変更してください。" |
| 547 |
|
| 548 |
#. type: Title ==== |
| 549 |
#, no-wrap |
| 550 |
msgid "Changing the meta-data" |
| 551 |
msgstr "メタデータの変更 " |
| 552 |
|
| 553 |
#. type: Plain text |
| 554 |
msgid "" |
| 555 |
"Now you need to convert the on-disk metadata to the new version; this is " |
| 556 |
"really easy, it's just running one command and acknowledging two questions." |
| 557 |
msgstr "" |
| 558 |
"次にオンディスクのメタデータを新しいバージョンに変更します。この手順はとても" |
| 559 |
"簡単で、1つコマンドを実行して2つの質問に答えるだけです。" |
| 560 |
|
| 561 |
#. type: Plain text |
| 562 |
msgid "" |
| 563 |
"If you want to change the number of nodes, you should already have increased " |
| 564 |
"the size of the lower level device, so that there is enough space to store " |
| 565 |
"the additional bitmaps; in that case, you'd run the command below with an " |
| 566 |
"additional argument `--max-peers=__<N>__`. When determining the number of " |
| 567 |
"(possible) peers please take setups like the <<s-drbd-client>> into account." |
| 568 |
msgstr "" |
| 569 |
"たくさんのノードを変更したい場合には、追加のビットマップに十分なスペースを確" |
| 570 |
"保するため、すでに下位デバイスの容量を拡張していることでしょう。この場合には" |
| 571 |
"以下のコマンドを追加の引数 `--max-peers=<N>` を付けて実行します。対向ノードの" |
| 572 |
"数(予定)を決める時には、<<s-drbd-client>>も考慮に入れてください。" |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
msgid "" |
| 576 |
"Upgrading the DRBD metadata is as easy as running one command, and " |
| 577 |
"acknowledging the two questions:" |
| 578 |
msgstr "" |
| 579 |
"DRBDのメタデータのアップグレードはとても簡単で、1つコマンドを実行して2つの質" |
| 580 |
"問に答えるだけです。" |
| 581 |
|
| 582 |
#. type: delimited block - |
| 583 |
#, no-wrap |
| 584 |
msgid "" |
| 585 |
"# drbdadm create-md <resource>\n" |
| 586 |
"You want me to create a v09 style flexible-size internal meta data block.\n" |
| 587 |
"There appears to be a v08 flexible-size internal meta data block\n" |
| 588 |
"already in place on <disk> at byte offset <offset>\n" |
| 589 |
msgstr "" |
| 590 |
"# drbdadm create-md <resource>\n" |
| 591 |
"You want me to create a v09 style flexible-size internal meta data block.\n" |
| 592 |
"There appears to be a v08 flexible-size internal meta data block\n" |
| 593 |
"already in place on <disk> at byte offset <offset>\n" |
| 594 |
|
| 595 |
#. type: delimited block - |
| 596 |
#, no-wrap |
| 597 |
msgid "" |
| 598 |
"Valid v08 meta-data found, convert to v09?\n" |
| 599 |
"[need to type 'yes' to confirm] yes\n" |
| 600 |
msgstr "" |
| 601 |
"Valid v08 meta-data found, convert to v09?\n" |
| 602 |
"[need to type 'yes' to confirm] yes\n" |
| 603 |
|
| 604 |
#. type: delimited block - |
| 605 |
#, no-wrap |
| 606 |
msgid "" |
| 607 |
"md_offset <offsets...>\n" |
| 608 |
"al_offset <offsets...>\n" |
| 609 |
"bm_offset <offsets...>\n" |
| 610 |
msgstr "" |
| 611 |
"md_offset <offsets...>\n" |
| 612 |
"al_offset <offsets...>\n" |
| 613 |
"bm_offset <offsets...>\n" |
| 614 |
|
| 615 |
#. type: delimited block - |
| 616 |
#, no-wrap |
| 617 |
msgid "Found some data\n" |
| 618 |
msgstr "Found some data\n" |
| 619 |
|
| 620 |
#. type: delimited block - |
| 621 |
#, no-wrap |
| 622 |
msgid " ==> This might destroy existing data! <==\n" |
| 623 |
msgstr " ==> This might destroy existing data! <==\n" |
| 624 |
|
| 625 |
#. type: delimited block - |
| 626 |
#, no-wrap |
| 627 |
msgid "" |
| 628 |
"Do you want to proceed?\n" |
| 629 |
"[need to type 'yes' to confirm] yes\n" |
| 630 |
msgstr "" |
| 631 |
"Do you want to proceed?\n" |
| 632 |
"[need to type 'yes' to confirm] yes\n" |
| 633 |
|
| 634 |
#. type: delimited block - |
| 635 |
#, no-wrap |
| 636 |
msgid "" |
| 637 |
"Writing meta data...\n" |
| 638 |
"New drbd meta data block successfully created.\n" |
| 639 |
"success\n" |
| 640 |
msgstr "" |
| 641 |
"Writing meta data...\n" |
| 642 |
"New drbd meta data block successfully created.\n" |
| 643 |
"success\n" |
| 644 |
|
| 645 |
#. type: Plain text |
| 646 |
msgid "" |
| 647 |
"Of course, you can pass `all` for the resource names, too; and if you feel " |
| 648 |
"really lucky, you can avoid the questions via a command line like this here, " |
| 649 |
"too. (Yes, the order is important.)" |
| 650 |
msgstr "" |
| 651 |
"もちろん、リソース名を `all` にすることも可能です。また、以下のようにすれば質" |
| 652 |
"問されるのを回避することができます(コマンド内の順序が重要です)。" |
| 653 |
|
| 654 |
#. type: delimited block - |
| 655 |
#, no-wrap |
| 656 |
msgid "drbdadm -v --max-peers=<N> -- --force create-md <resources>\n" |
| 657 |
msgstr "drbdadm -v --max-peers=<N> -- --force create-md <resources>\n" |
| 658 |
|
| 659 |
#. type: Title ==== |
| 660 |
#, no-wrap |
| 661 |
msgid "Starting DRBD again" |
| 662 |
msgstr "DRBDを再び起動する" |
| 663 |
|
| 664 |
#. type: Plain text |
| 665 |
msgid "" |
| 666 |
"Now, the only thing left to do is to get the DRBD devices up and running " |
| 667 |
"again - a simple `drbdadm up all` should do the trick." |
| 668 |
msgstr "" |
| 669 |
"あとはDRBDデバイスを再びupにして起動するだけです。単純に、 `drbdadm up all` " |
| 670 |
"で済みます。" |
| 671 |
|
| 672 |
#. type: Plain text |
| 673 |
msgid "" |
| 674 |
"Now, depending on whether you've got a cluster manager or keep track of your " |
| 675 |
"resources manually, there are two different ways again. If you are using a " |
| 676 |
"cluster manager follow its documentation." |
| 677 |
msgstr "" |
| 678 |
"次は、クラスタ管理ソフトを使用しているか、手動でリソースを管理しているかに" |
| 679 |
"よって方法が異なります。クラスタマネージャを使用している場合は、そのドキュメ" |
| 680 |
"ントに従ってください。" |
| 681 |
|
| 682 |
#. type: Plain text |
| 683 |
msgid "Manually" |
| 684 |
msgstr "手動" |
| 685 |
|
| 686 |
#. type: delimited block - |
| 687 |
#, no-wrap |
| 688 |
msgid "bob# systemctl start [email protected]\n" |
| 689 |
msgstr "bob# systemctl start [email protected]\n" |
| 690 |
|
| 691 |
#. type: delimited block - |
| 692 |
#, no-wrap |
| 693 |
msgid "# crm node online bob\n" |
| 694 |
msgstr "# crm node online bob\n" |
| 695 |
|
| 696 |
#. type: Plain text |
| 697 |
msgid "" |
| 698 |
"This should make DRBD connect to the other node, and the resynchronization " |
| 699 |
"process will start." |
| 700 |
msgstr "これによってDRBDは他のノードに接続し、再同期プロセスが開始します。" |
| 701 |
|
| 702 |
#. type: Plain text |
| 703 |
msgid "" |
| 704 |
"When the two nodes are _UpToDate_ on all resources again, you can move your " |
| 705 |
"applications to the already upgraded node (here 'bob'), and then follow the " |
| 706 |
"same steps on the cluster node still running 8.4." |
| 707 |
msgstr "" |
| 708 |
"すべてのリソースが2つのノードで `UpToDate` になったら、アップグレードしたノー" |
| 709 |
"ド(ここでは `bob` )にアプリケーションを移動させることができます。そして、まだ" |
| 710 |
"8.4が稼働しているノードで同じ手順を行ってください。" |
| 711 |
|
| 712 |
#. type: Title ==== |
| 713 |
#, no-wrap |
| 714 |
msgid "From DRBD 9 to DRBD 9" |
| 715 |
msgstr "DRBD9からDRBD9" |
| 716 |
|
| 717 |
#. type: Plain text |
| 718 |
msgid "" |
| 719 |
"If you are already running 9.0, it is sufficient to <<s-Upgrading-the-" |
| 720 |
"packages,install new package versions>>, make the cluster node <<s-upgrade-" |
| 721 |
"pausing-the-cluster,_standby_>>, <<s-upgrade-reload-kernel-mod,unload/" |
| 722 |
"reload>> the kernel module, <<s-upgrade-start-drbd,start the resources>>, " |
| 723 |
"and make the cluster node _online_ againfootnote:[At least that's the state " |
| 724 |
"at the time of writing - that's how it has been in the past, and we want to " |
| 725 |
"keep it that easy. But who knows? Who can tell? ;)]." |
| 726 |
msgstr "" |
| 727 |
"既にDRBD9を使っている場合には<<s-Upgrading-the-packages,新しいバージョンの" |
| 728 |
"パッケージをインストール>>することができます。クラスタノードを<<s-upgrade-" |
| 729 |
"pausing-the-cluster,`スタンバイ`>>にして、カーネルモジュールを<<s-upgrade-" |
| 730 |
"reload-kernel-mod,アンロード/リロード>>し、<<s-upgrade-start-drbd,リソースを" |
| 731 |
"起動>>、そしてクラスタノードを再度 `online` にします。footnote:[少なくとも、" |
| 732 |
"過去にあった書き込み時の状態;)]" |
| 733 |
|
| 734 |
#. type: Plain text |
| 735 |
msgid "" |
| 736 |
"These individual steps have been detailed above, so we won't repeat them " |
| 737 |
"here." |
| 738 |
msgstr "個々の手順については上述の項の通りですので、ここでは省略します。" |