• R/O
  • SSH

pm_kvm_tools: コミット

※ リポジトリは、https://github.com/linux-ha-japan/pm_kvm_tools-1.0 へ移行しました。
仮想環境監視連携機能とSTONITH機能。KVM版。


コミットメタ情報

リビジョン20a37f9988a718ec9e16fc021ff5515b3e4a9e5d (tree)
日時2012-11-07 08:03:58
作者Kazunori INOUE <inouekazu@inte...>
コミッターKazunori INOUE

ログメッセージ

Compatibility patch to Pacemaker 1.0.12 or higher

変更サマリ

差分

diff -r 7ec33ab16f96 -r 20a37f9988a7 plugins/vm-stonith
--- a/plugins/vm-stonith Thu Sep 15 16:49:46 2011 +0900
+++ b/plugins/vm-stonith Wed Nov 07 08:03:58 2012 +0900
@@ -129,7 +129,7 @@
129129 getinfo-xml)
130130 cat <<VMSTONITHXML
131131 <parameters>
132-<parameter name="hostlist" unique="1" required="1">
132+<parameter name="hostlist" unique="0" required="1">
133133 <content type="string" />
134134 <shortdesc lang="en">
135135 Host Map
diff -r 7ec33ab16f96 -r 20a37f9988a7 resources/vm-anything
--- a/resources/vm-anything Thu Sep 15 16:49:46 2011 +0900
+++ b/resources/vm-anything Wed Nov 07 08:03:58 2012 +0900
@@ -47,8 +47,8 @@
4747
4848 # Initialization:
4949 : ${OCF_RESKEY_login_shell:="true"}
50-: ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/resource.d/heartbeat}
51-. ${OCF_FUNCTIONS_DIR}/.ocf-shellfuncs
50+: ${OCF_FUNCTIONS_DIR=${OCF_ROOT}/lib/heartbeat}
51+. ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs
5252
5353 getpid() {
5454 grep -o '[0-9]*' $1
@@ -59,7 +59,7 @@
5959 then
6060 if pid=`getpid $pidfile` && [ "$pid" ] && kill -s 0 $pid
6161 then
62- return $OCF_RUNNING
62+ return $OCF_SUCCESS
6363 else
6464 # pidfile w/o process means the process died
6565 return $OCF_ERR_GENERIC
旧リポジトリブラウザで表示