※ リポジトリは、pm-diskd ブランチが https://github.com/linux-ha-japan/pm_diskd-1.0 へ、pm-diskd-2.0ブランチが https://github.com/linux-ha-japan/pm_diskd へ移行しました。
Pacemaker 対応ディスク故障監視機能。
Pacemaker-1.0公式リポジトリのクローンに対し、パッチ作成用のブランチを作成して管理する。
ブランチ名: pm-diskd
初回 hg clone 実行後は、hg update -r pm-diskd を実行すること。
Heartbeat-2.1.4 用 hb-diskd(*) のPacemaker対応版
(*) http://sourceforge.jp/projects/linux-ha/releases/?package_id=10555
Revision | ca3f47634fb1e40d2d1234b1e92f407e74ff5cf7 (tree) |
---|---|
Time | 2010-02-24 00:46:48 |
Author | Andrew Beekhof <andrew@beek...> |
Commiter | Andrew Beekhof |
Low: cts: Make LogAudit less verbose during normal operation
@@ -81,13 +81,13 @@ | ||
81 | 81 | watch_pref = self.CM.Env["LogWatcher"] |
82 | 82 | if watch_pref == "any" or watch_pref == "syslog": |
83 | 83 | self.CM.Env["LogWatcher"] = "syslog" |
84 | - self.CM.log("Testing for %s logs" % self.CM.Env["LogWatcher"]) | |
84 | + if watch_pref == "any": self.CM.log("Testing for %s logs" % self.CM.Env["LogWatcher"]) | |
85 | 85 | watch_syslog = CTS.LogWatcher(self.CM.Env, self.CM.Env["LogFileName"], patterns, "LogAudit", 30) |
86 | 86 | watch_syslog.setwatch() |
87 | 87 | |
88 | 88 | if watch_pref == "any" or watch_pref == "remote": |
89 | 89 | self.CM.Env["LogWatcher"] = "remote" |
90 | - self.CM.log("Testing for %s logs" % self.CM.Env["LogWatcher"]) | |
90 | + if watch_pref == "any": self.CM.debug("Testing for %s logs" % self.CM.Env["LogWatcher"]) | |
91 | 91 | watch_remote = CTS.LogWatcher(self.CM.Env, self.CM.Env["LogFileName"], patterns, "LogAudit", 30) |
92 | 92 | watch_remote.setwatch() |
93 | 93 |
@@ -101,7 +101,7 @@ | ||
101 | 101 | self.CM.Env["LogWatcher"] = "syslog" |
102 | 102 | watch_result = watch.lookforall() |
103 | 103 | if not watch.unmatched: |
104 | - self.CM.log ("Continuing with %s-based log reader" % (self.CM.Env["LogWatcher"])) | |
104 | + if watch_pref == "any": self.CM.log ("Continuing with %s-based log reader" % (self.CM.Env["LogWatcher"])) | |
105 | 105 | return 1 |
106 | 106 | |
107 | 107 | if watch_remote: |
@@ -109,7 +109,7 @@ | ||
109 | 109 | self.CM.Env["LogWatcher"] = "remote" |
110 | 110 | watch_result = watch.lookforall() |
111 | 111 | if not watch.unmatched: |
112 | - self.CM.log ("Continuing with %s-based log reader" % (self.CM.Env["LogWatcher"])) | |
112 | + if watch_pref == "any": self.CM.log ("Continuing with %s-based log reader" % (self.CM.Env["LogWatcher"])) | |
113 | 113 | return 1 |
114 | 114 | |
115 | 115 | if watch_syslog and not watch_syslog.unmatched: |