DRBD – man page of drbd.conf #3 [対訳]

on-io-error handler
handler is taken, if the lower level device reports io-error to the upper layers.
ローレベルデバイスが上位のレイヤに io-error を報告すると、ハンドラが掴まれる。

handler may be pass_on, call-local-io-error or detach.
ハンドラは、pass_on、call-local-io-error、detach があるでしょう。

pass_on: Report the io-error to the upper layers. On Primary report it to the mounted file system. On Secondary ignore it.
pass_on: 上位レイヤに io-error を通知する。プライマリ上では、マウントされたファイルシステムにそれを通知する。セカンダリ上ではそれを無視する。

call-local-io-error: Call the handler script local-io-error.
call-local-io-error: local-io-error にハンドラスクリプトを呼び出す。

detach: The node drops its low level device, and continues in diskless mode.
detach: ノードは、そのローレベルデバイスを落として、ディスクレスモードで続ける。

fencing fencing_policy
Under fencing we understand preventive measures to avoid situations where both nodes are primary and disconnected (AKA split brain).
fencing では、私たちは、両方のノードがプライマリになったり、接続が切れるのを避けるための予防策を理解している(AKA split brain)。

 Valid fencing policies are:
 有効な fencing のポリシーは:

 dont-care

This is the default policy. No fencing actions are untertaken.
これはデフォルトのポリシーである。どんな fencing 動作も 引き受けられない。

 resource-only

If a node becomes a disconnected primary, it tries to outdate the peer’s disk. This is done by calling the outdate-peer handler. The handler is supposed to reach the other node over alternative communication paths and call ’drbdadm outdate res’ there.
ノードは切り離されたプライマリになるなら、時代遅れの peer’s disk を試みようとする。これは outdate-peer ハンドラをコールすることによってなされる。ハンドラは代替の通信パスを通して他のノードに達すると思われ、そしてそこに、 ‘drbdadm outdate res’ をコールする。

 resource-and-stonith

If a node becomes a disconnected primary, it freezes all its IO operations and calls its outdate-peer handler. The outdate-peer handler is supposed to reach the peer over alternative communicaton paths and call ’drbdadm outdate res’ there. In case it cannot reach the peer it should stonith the peer. IO is resumed as soon as the situation is resolved. In case your handler fails, you can resume IO with the resume-io command.
ノードは切り離されたプライマリになるなら、その全ての IO 操作を止め、 outdate-peer ハンドラをコールする。outdate-peer ハンドラは、代替の通信パスを通して、ピアに達すると思われ、そしてそこに、’drbdadm outdate res’ をコールする。ピアに届くことができないといけないので、それはピアをstonithするべきだ。状況が解決されるとすぐに、 IO は再開される。ハンドラが失敗した場合、あなたは、 resume-io コマンドで IO を再開させることができる。

use-bmbv
In case the backing storage’s driver has a merge_bvec_fn() function, DRBD has to pretend that it can only process IO requests in units not lager than 4kByte. (At time of writing the only known drivers which have such a function are: md (software raid driver), dm (device mapper – LVM) and DRBD itself)
補助記憶装置のドライバには merge_bvec_fn() 機能があるので、DRBD は、4KByte よりも大きくないユニットに IO リクエストを処理させるだけのフリをしなければならない。(そのような機能を持つ、書き込むときの知られているドライバは、md(ソフトウェア RAID)、dm(デバイスマッパー – LVM)、DRBD 自身)がある。

To get best performance out of DRBD on top of software raid (or any other driver with a merge_bvec_fn() function) you might enable this function, if you know for sure that the merge_bvec_fn() function will deliver the same results on all nodes of your cluster. I.e. the physical disks of the software raid are of exactly the same type. USE THIS OPTION ONLY IF YOU KNOW WHAT YOU ARE DOING.
あなたがもし、merge_bvec_fn() 機能が、あなたのクラスタの全てのノードに同じ結果を送るだろうことを確かに知っているなら、ソフトウェア RAID(または、merge_bvec_fn() のいかなる他のドライバ) 上の DRBD の最高のパフォーマンスを得るために、あなたはこの機能を有効にするかもしれない。ソフトウェア RAID の物理ディスクはまさに同じタイプである。あなたが何をしているかを知っているなら、このオプションを使用しなさい。

sndbuf-size size
size is the size of the TCP socket send buffer. The default value is 128K. You can specify smaller or larger values. Larger values are appropriate for reasonable write throughput with protocol A over high latency networks. Very large values like 1M may cause problems. Also values below 32K do not make much sense.
size は TCP ソケットの送信バッファのサイズである。デフォルト値は128Kです。あなたは、より小さいか、より大きい値を指定することができます。より大きな値は、高いレイテンシーのネットワーク上の protocol A でスループットを書く合理性として妥当である。1Mのような非常に大きい値は問題を起こすかもしれません。また、32Kの下における値はあまり理解できません。

timeout time
If the partner node fails to send an expected response packet within time 10ths of a second, the partner node is considered dead and therefore the TCP/IP connection is abandoned. This must be lower than connect-int and ping-int. The default value is 60 = 6 seconds, the unit 0.1 seconds.
パートナーノードが1秒の time 10ths に予想された応答パケットを送らないなら、パートナーノードは死んでいると考えられ、したがって、 TCP/IP 接続は捨てられる。これは connect-int と ping-int よりも小さくなければならない。デフォルト値は 60 = 6 秒、0.1 秒単位である。

connect-int time
In case it is not possible to connect to the remote DRBD device immediately, DRBD keeps on trying to connect. With this option you can set the time between two tries. The default value is 10 seconds, the unit is 1 second.
すぐにリモートの DRBD デバイスに接続できない場合、DRBD は接続することを試み続ける。あなたが設定することができるこのオプションで、time 間隔で試みる。デフォルト値が 10 秒で、単位は 1秒 である。

ping-int time
If the TCP/IP connection linking a DRBD device pair is idle for more than time seconds, DRBD will generate a keep-alive packet to check if its partner is still alive. The default is 10 seconds, the unit is 1 second.
DRBD デバイス間をリンクする TCP/IP 接続が time 秒よりも長くアイドル状態であるなら、DRBDは、パートナーがまだ生きているかどうかチェックするために keep-alive パケットを生成するだろう。デフォルト値は 10 秒で、単位は 1 秒である。

ping-timeout time
The time the peer has time to answer to a keep-alive packet. In case the peer’s reply is not received within this time period, it is considered as dead. The default value is 500ms, the default unit is 100ms.
time はピアが keep-alive パケットに応答する持ち時間。ピアのリプライをこの時間内に受け取らないと、それは死んでいると考えられる。デフォルト値は 500ミリ秒で、デフォルト単位は 100 ミリ秒である。

max-buffers number
Maximum number of requests to be allocated by DRBD. Unit is PAGE_SIZE, which is 4 KB on most systems. The minimum is hard-coded to 32 (=128 KB). For high-performance installations it might help, if you increase that number. These buffers are used to hold data blocks while they are written to disk.
DRBDによって割り当てられる最大数の要求。単位は PAGE_SIZEである(ほとんどのシステム上で 4KB である)。最小は、 32(=128KB)にハードコードされている。高性能インストールのために、あなたがその数を増加させるなら、それは助かるかもしれない。これらのバッファは、それらがディスクに書かれている間、データ・ブロックを保持するのに使用される。

ko-count number
In case the secondary node fails to complete a single write request for count times the timeout, it is expelled from the cluster. (I.e. the primary node goes into StandAlone mode.) The default value is 0, which disables this feature.
セカンドダリノードがタイムアウトのカウントのための単一の書き込み要求に完全に失敗した場合、クラスタから追放される。(すなわち、プライマリノードはスタンドアロンモードになる。)デフォルト値は 0(この特徴は無効)。

max-epoch-size number
The highest number of data blocks between two write barriers. If you set this smaller than 10, you might decrease your performance.
二つの書き込みバリアの間のデータブロックの最大値。10より小さく設定するなら、あなたはパフォーマンスを減少させるかもしれない。

allow-two-primaries
With this option set you may assign primary role to both nodes. You only should use this option if you use a shared storage file system on top of DRBD. At the time of writing the only ones are: OCFS2 and GFS. If you use this option with any other file system, you are going to crash your nodes and to corrupt your data!
このオプション設定で、あなたはプライマリ役割を両方のノードに割り当てることができる。あなたが、 DRBD 上のファイルシステムに共有ストレージを使用する場合にだけ、このオプションを使用するべきである。これを書いている時点では、OCFS2 と GFS だけである。そして、いかなる他のファイルシステムにこのオプションを使用しても、ノードが破壊され、データは壊れる。

unplug-watermark number
When the number of pending write requests on the standby (secondary) node exceeds the unplug-watermark, we trigger the request processing of our backing storage device. Some storage controllers deliver better performance with small values, others deliver best performance when the value is set to the same value as max-buffers. Minimum 16, default 128, maximum 131072.
セカンダリノードの未定の書き込み要求の数が、 unplug-watermark を超えたとき、私たちは補助記憶装置デバイスの要求処理のトリガーとなる。いくつかのストレージコントローラは小さい値でより良いパフォーマンスを提供する、他には、max-buffers の値と同じに設定するときに最も良いパフォーマンスを発揮する。最小は 16、デフォルト値は 128、最大値は 131072。

関連記事

DRBD – man page of drbd.conf #1 [対訳]
DRBD – man page of drbd.conf #2 [対訳]
DRBD – man page of drbd.conf #3 [対訳]
DRBD – man page of drbd.conf #4 [対訳]
DRBD – man page of drbd.conf #5 [対訳]

2007年 8月 27日 | Posted in Linux
タグ:
コメントは終了しています。