IPMI(Intelligent Platform Management Interface)は、システムの状態監視と管理に使用できる、コンピューターシステムへの一連の共通インターフェースを定義します。STONITH と一緒に使用することで、クラスターソフトウェアはシリアル接続またはネットワーク接続を介してスイッチに指示を出して停止したように見えるクラスターノードの電源をオフにし、異常なノードが共有データにアクセスしたり破損したりしないようにします。
パッケージ要件
- クラスター内の 各サーバー 上の IPMI ツールパッケージ (例:ipmitool-1.8.11-6.el6.x86_64.rpm)
ベースボードマネジメントコントローラー(BMC)の設定
クラスター内の各サーバーで BIOS または ipmitool コマンドを使用します(例:ipmitool を使用)。
- 静的 IPを使用: ipmitool lan set 1 ipsrc static
- IP アドレスを追加: ipmitool lan set 1 ipaddr 192.168.0.1
- サブネットマスクを設定: ipmitool lan set 1 netmask 255.0.0.0
- ユーザー名を設定: ipmitool user set name 1 root
- パスワードを設定: ipmitool user set password 1 secret
- ユーザーに管理者特権レベルを追加: ipmitool user priv 1 4
- ユーザーのネットワークアクセスを有効にする: ipmitool user enable 1
(詳細については、ipmitoolのマニュアルページを参照してください。)
STONITH のインストール
次のコマンドを実行して、LifeKeeper がインストールされ、すべてのサーバーへのコミュニケーションパスが構成されている 各サーバー に LifeKeeper STONITH スクリプトをインストールします。
# /opt/LifeKeeper/samples/STONITH/stonith-install
/opt/LifeKeeper/config/stonith.conf の更新
クラスター内の各サーバーの stonith.conf ファイルにエントリーを追加します。
# LifeKeeper STONITH configuration # # Example: <host> ipmitool -l <interface> -H <ip> -U root -P secret power off minute-maid ipmitool -I lanplus -H 192.168.0.1 -U root -P secret power off kool-aid ipmitool -I lanplus -H 192.168.0.2 -U root -P secret power off
このトピックへフィードバック