[Ocfs2-users] Fencing options

Angelo McComis angelo at mccomis.com
Wed Jan 13 12:23:59 PST 2010


Some more about my setup, which started the discussion...

Version info, mount options, etc. are herein.

If there are recommended changes to this, I'm open to suggestions
here. This is mostly an "out of the box" configuration.

We are not running Oracle DB, just using this for a shared place for
transaction files between application servers doing parallel
processing.

So - Do we want the mount "datavolume, noatime" added to just _netdev
and heartbeat=local?  Will that help or hurt?  Also, do we want to
turn up the number of HEARTBEAT_THRESHOLD?



BEERGOGGLES1:~# modinfo ocfs2
filename:       /lib/modules/2.6.16.60-0.42.5-smp/kernel/fs/ocfs2/ocfs2.ko
license:        GPL
author:         Oracle
version:        1.4.1-1-SLES
description:    OCFS2 1.4.1-1-SLES Wed Jul 23 18:33:42 UTC 2008 (build
f922955d99ef972235bd0c1fc236c5ddbb368611)
srcversion:     986DD1EE4F5ABD8A44FF925
depends:        ocfs2_dlm,jbd,ocfs2_nodemanager
supported:      yes
vermagic:       2.6.16.60-0.42.5-smp SMP gcc-4.1

BEERGOGGLES1:~# modinfo ocfs2_dlm
filename:
/lib/modules/2.6.16.60-0.42.5-smp/kernel/fs/ocfs2/dlm/ocfs2_dlm.ko
license:        GPL
author:         Oracle
version:        1.4.1-1-SLES
description:    OCFS2 DLM 1.4.1-1-SLES Wed Jul 23 18:33:42 UTC 2008
(build f922955d99ef972235bd0c1fc236c5ddbb368611)
srcversion:     FDB660B2EB59EF106C6305F
depends:        ocfs2_nodemanager
supported:      yes
vermagic:       2.6.16.60-0.42.5-smp SMP gcc-4.1
parm:           dlm_purge_interval_ms:int
parm:           dlm_purge_locks_max:int

BEERGOGGLES1:~# modinfo jbd
filename:       /lib/modules/2.6.16.60-0.42.5-smp/kernel/fs/jbd/jbd.ko
license:        GPL
srcversion:     DCCDE02902B83F98EF81090
depends:
supported:      yes
vermagic:       2.6.16.60-0.42.5-smp SMP gcc-4.1

BEERGOGGLES1:~# modinfo ocfs2_nodemanager
filename:
/lib/modules/2.6.16.60-0.42.5-smp/kernel/fs/ocfs2/cluster/ocfs2_nodemanager.ko
license:        GPL
author:         Oracle
license:        GPL
author:         Oracle
version:        1.4.1-1-SLES
description:    OCFS2 Node Manager 1.4.1-1-SLES Wed Jul 23 18:33:42
UTC 2008 (build f922955d99ef972235bd0c1fc236c5ddbb368611)
srcversion:     B87371708A8B5E1828E14CD
depends:        configfs
supported:      yes
vermagic:       2.6.16.60-0.42.5-smp SMP gcc-4.1

BEERGOGGLES1:~# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Heartbeat dead threshold = 31
  Network idle timeout: 30000
  Network keepalive delay: 2000
  Network reconnect delay: 2000
Checking O2CB heartbeat: Active

BEERGOGGLES1:~# mount | grep ocfs2
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
/dev/evms/prod_app on /opt/VendorApsp/sharedapp type ocfs2
(rw,_netdev,heartbeat=local)

BEERGOGGLES1:~# cat /etc/sysconfig/o2cb
#
# This is a configuration file for automatic startup of the O2CB
# driver.  It is generated by running /etc/init.d/o2cb configure.
# On Debian based systems the preferred method is running
# 'dpkg-reconfigure ocfs2-tools'.
#

# O2CB_ENABLED: 'true' means to load the driver on boot.
O2CB_ENABLED=true

# O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
O2CB_BOOTCLUSTER=ocfs2

# O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.
O2CB_HEARTBEAT_THRESHOLD=

# O2CB_IDLE_TIMEOUT_MS: Time in ms before a network connection is
considered dead.
O2CB_IDLE_TIMEOUT_MS=

# O2CB_KEEPALIVE_DELAY_MS: Max time in ms before a keepalive packet is sent
O2CB_KEEPALIVE_DELAY_MS=

# O2CB_RECONNECT_DELAY_MS: Min time in ms between connection attempts
O2CB_RECONNECT_DELAY_MS=

# O2CB_HEARTBEAT_MODE: Whether to use the native "kernel" or the "user"
# driven heartbeat (for example, for integration with heartbeat 2.0.x)
O2CB_HEARTBEAT_MODE="kernel"



More information about the Ocfs2-users mailing list