
stonith 命令を使用して、Heartbeat[1](リリース1のみ)のSTONITHを構成します。 ここでは、STONITH[2]構成ファイルをクラスタ内の各マシンに配置してクラスタ[3]内の相手ノード[4]をリセットするのに使用する(単一の)STONITHデバイスの構成を想定しています。
stonith 命令の例
stonith {stonith-device-type} {stonith-configuration-file}
ここでは、{stonith-device-type}は、構成する(対応する)STONITHデバイスのタイプのことです。{stonith-configuration-file}は、このSTONITHデバイスのSTONITH構成情報を入力するファイル名です。
{stonith-device-type}の一覧を表示するには、次のコマンドを発行します:
stonith -L
各種のSTONITHデバイスの構成方法を表示するには、次のコマンドを発行します:
stonith -h
注:このコマンドは、stonith_host[5]命令と相互に排他的に使用するものです。
| [1] | http://www.linux-ha.org/ja/HeartbeatProgram_ja |
| [2] | http://www.linux-ha.org/ja/STONITH_ja |
| [3] | http://ja.wikipedia.org/wiki/クラスター |
| [4] | http://www.linux-ha.org/ja/node_ja |
| [5] | http://www.linux-ha.org/ja/ha.cf/StonithHostDirective_ja |
This information provided courtesy of the Linux-HA project at http://linux-ha.org/