[Ocfs-users] I'd like to stop the OCSF2_disk_heart_beat.

ohue.hidetoshi at jp.fujitsu.com ohue.hidetoshi at jp.fujitsu.com
Wed Apr 15 00:29:01 PDT 2009


This is Hide. 
This is the first contribution. 

I'd like to configure cluster file system by OCFS2.
The number of nodes are two.
CompactFlash card(CF) is used as shared DISK.
Guarantees of the writing frequency to CF are up to 100,000 times.
However, it exceed in two day, due to the disk_heart_beat executed every two seconds.

I tried following procedures to solve that. It seems solved.
 1. O2HB_DEFAULT_DEAD_THRESHOLD changed larger than previous value. It's defined in hearbeat.h.
 2. The Skip_flag defined as a global parameter.
 3. When the number of connected nodes becomes two , skip_flag is turned on by dlmdomain.c
 4. If the skip_flag is ON, the o2hb_do_disk_hearbeat is not executed.
 5. When the number of connected nodes becomes below two, skip_flag is turned off by dlmdomain.c.
 6. If the skip_flag is OFF, the o2hb_do_disk_hearbeat is executed.

If one node is active, the o2hb_do_disk_hearbeat is executed in any condition.
I wouldn't like to execute the o2hb_do_disk_hearbeat, even if one node is active.
Because to take away writing frequency problem.
However, if the o2hb_do_disk_hearbeat is not executed, I can't supervision
when the other node is active.
So, I'd like to know that how can I supervision it without o2hb_do_disk_hearbeat.

I think one of plan is supervision by IP communication.
Is there any effective source in tcp.c?
Do you have any other plan?

*The version is the following. 
 Linux-2.6.21.7
 ocfs2-tools-1.2.3

If you have any good idea, please give it for me.



More information about the Ocfs-users mailing list