Hi
<br />
<br />I have:
<br />  SLES 10 SP2 (2.6.16.60-0.21-smp)
<br />  ocfs2-tools-1.4.0-0.3
<br />  ocfs2console-1.4.0-0.3
<br />
<br />and I can&#39;t change &quot;heartbeat dead threshold&quot; value.
<br />
<br />Content of /etc/sysconfig/o2cb:
<br />
<br /># O2CB_ENABLED: &#39;true&#39; means to load the driver on boot.
<br />O2CB_ENABLED=true
<br />
<br /># O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
<br />O2CB_BOOTCLUSTER=ocfs2
<br />
<br /># O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.
<br />O2CB_HEARTBEAT_THRESHOLD=151
<br />
<br /># O2CB_IDLE_TIMEOUT_MS: Time in ms before a network connection is considered dead.
<br />O2CB_IDLE_TIMEOUT_MS=10000
<br />
<br /># O2CB_KEEPALIVE_DELAY_MS: Max time in ms before a keepalive packet is sent
<br />O2CB_KEEPALIVE_DELAY_MS=5000
<br />
<br /># O2CB_RECONNECT_DELAY_MS: Min time in ms between connection attempts
<br />O2CB_RECONNECT_DELAY_MS=2000
<br />
<br /># O2CB_HEARTBEAT_MODE: Whether to use the native &quot;kernel&quot; or the &quot;user&quot;
<br /># driven heartbeat (for example, for integration with heartbeat 2.0.x)
<br />O2CB_HEARTBEAT_MODE=&quot;kernel&quot;
<br />
<br />
<br />so, O2CB_HEARTBEAT_THRESHOLD is 151.
<br />
<br />Then I have restart service o2cb or even reboot server and...:
<br />
<br /># service o2cb status
<br />Module &quot;configfs&quot;: Loaded
<br />Filesystem &quot;configfs&quot;: Mounted
<br />Module &quot;ocfs2_nodemanager&quot;: Loaded
<br />Module &quot;ocfs2_dlm&quot;: Loaded
<br />Module &quot;ocfs2_dlmfs&quot;: Loaded
<br />Filesystem &quot;ocfs2_dlmfs&quot;: Mounted
<br />Checking O2CB cluster ocfs2: Online
<br />Heartbeat dead threshold = 31
<br />  Network idle timeout: 10000
<br />  Network keepalive delay: 5000
<br />  Network reconnect delay: 2000
<br />Checking O2CB heartbeat: Not active
<br />
<br />so, Heartbeat dead threshold is 31!!!
<br />
<br />ok. I&#39;ll try use configure...
<br />
<br /># service o2cb configure
<br />
<br />Load O2CB driver on boot (y/n) [y]:
<br />Cluster to start on boot (Enter &quot;none&quot; to clear) [ocfs2]:
<br />Specify heartbeat dead threshold (&gt;=7) [151]: 151
<br />Specify network idle timeout in ms (&gt;=5000) [10000]:
<br />Specify network keepalive delay in ms (&gt;=1000) [5000]:
<br />Specify network reconnect delay in ms (&gt;=2000) [2000]:
<br />Use user-space driven heartbeat? (y/n) [n]:
<br />Writing O2CB configuration: OK
<br />O2CB cluster ocfs2 already online
<br />
<br />so, we see that &quot;Specify heartbeat dead threshold&quot; get my current value (151) from /etc/sysconfig/o2cb.
<br />
<br />but again we have:
<br /># service o2cb status
<br />...
<br />Heartbeat dead threshold = 31
<br />...
<br />
<br />trying check file from configfs:
<br /># cat /sys/kernel/config/cluster/ocfs2/heartbeat/dead_threshold
<br />31
<br />
<br /># echo 151 &gt; /sys/kernel/config/cluster/ocfs2/heartbeat/dead_threshold
<br /># cat /sys/kernel/config/cluster/ocfs2/heartbeat/dead_threshold
<br />31
<br />
<br /># ls -l /sys/kernel/config/cluster/ocfs2/heartbeat/dead_threshold
<br />-rw-r--r-- 1 root root 4096 2009-11-13 17:42 /sys/kernel/config/cluster/ocfs2/heartbeat/dead_threshold
<br />
<br />what&#39;s a problem?