お世話になります。
先日と同様にHA関連の質問、ご容赦ください。
CentOS7にて、heartbeat+corosyncでのクラスタ環境を構築しております。
pcsコマンドを利用したstonith-helperリソースの追加でエラーが発生しました。
以下に実行したコマンドおよび出力したエラーを記載します。
Stonithプラグインはstonith-helperの他に、電源制御(ipmi)および保守員対応(meatware)も利用予定なのですが、同事象が想定されます。
出力したエラー内容を見るに"--force"オプションを付与し、無理やり(?)リソース登録するのが正しい形なのでしょうか。
Webで文献や実例を調査しましたが自力のみでは現在手詰まりとなっております。ご助力ください。よろしくお願いします
■実行コマンド&エラー
[root@prm1 ~]# pcs resource create Stonith-helper stonith:external/stonith-helper
priority="1"
stonith-timeout="80s"
hostlist="prm1"
dead_check_target=192.168.1.1
tandby_wait_time="15"
standby_check_command="/usr/sbin/pcs status resources | grep PrmSfex | grep -q hostname
"
op start interval="0" timeout="30" on-fail="restart"
op stop interval="0" timeout="30" on-fail="fence"
op monitor interval="0" timeout="30" on-fail="restart"
Error: Unable to create resource 'stonith:external/stonith-helper', it is not installed on this system (use --force to override)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。