All pastes #561014 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-12 09:20 UTC
rendered paste body
cluster:
        name = ocfs2
        node_count = 2

node:
        name = sles1
        cluster = ocfs2
        number = 0
        ip_address = 192.168.234.129
        ip_port = 7777

node:
        name = sles2
        cluster = ocfs2
        number = 1
        ip_address = 192.168.234.130
        ip_port = 7777
sles1:~ # /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
Checking O2CB heartbeat: Not active

sles1:~ # 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.
# Please use that method to modify this file
#

# O2CB_ENABELED: '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=7

# 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="user"