ocfs2.confd 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # Put your cluster names here, separated by space, ie.
  4. # OCFS2_CLUSTER="cluster1 admincluster cluster2"
  5. OCFS2_CLUSTER="home"
  6. # Some heartbeat tweaks to prevent self-fencing quite so much during heavy load.
  7. # http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html
  8. # How long to wait before a node is considered dead from lack of network activity.
  9. OCFS2_IDLE_TIMEOUT_MS="30000"
  10. # How often we should attempt to send heartbeats.
  11. OCFS2_KEEPALIVE_DELAY_MS="2000"
  12. OCFS2_RECONNECT_DELAY_MS="2000"
  13. # How often we should attempt to send heartbeats.
  14. # How many interations before a node is considered dead from lack of IO activity.
  15. # (dead_threshold - 1) * 2s
  16. OCFS2_DEAD_THRESHOLD="61"
  17. # Default: "-fy" (force check on double-unmounted boot). I beleave this is best.
  18. # Native way is "-y", but once I have twice reboot/powerOFF with bad result...
  19. # Affected only fstab.
  20. OCFS2_FSCK="-fy"
  21. # http://oss.oracle.com/projects/ocfs2-tools/news/article_8.html
  22. # starting from 1.4.3, fsck.ocfs2 "aggressively cache the metadata blocks"
  23. # this is useful on lots of free memory, but I have heavy slowdown on x86_64
  24. # with 1G of RAM.
  25. # "yes" will "swapoff -a" & "swapon -a" around fsck to avoid caching over swap
  26. OCFS2_FSCK_SWAPOFF="yes"
  27. # Signal to kill processes on stop/umount on busy device (empty to not kill)
  28. #OCFS2_UMOUNT_KILL="KILL"
  29. # "yes" to force stop
  30. #OCFS2_FORCE_STOP="no"