table of contents
o2cb(7) | OCFS2 Manual Pages | o2cb(7) |
NAME¶
o2cb - Default cluster stack for the OCFS2 file system.DESCRIPTION¶
o2cb is the default cluster stack for the OCFS2 file system. It includes a node manager (o2nm) to keep track of the nodes in the cluster, a heartbeat agent (o2hb) to detect live nodes, a network agent (o2net) for intra-cluster node communication and a distributed lock manager (o2dlm) to keep track of lock resources. All these components are in-kernel. It also includes an in-memory file system, dlmfs, to allow userspace to access the in-kernel dlm.CONFIGURATION¶
The cluster layout is specified in /etc/ocfs2/cluster.conf. While it is easier to populate and propagate this configuration file using ocfs2console(8), one can also do it by manually as long as care is taken to format the file correctly.- 1. The node name needs to match the hostname. It does not need to include the domain name. For example, appserver.oracle.com can be appserver.
- 2. The IP address need not be the one associated with that hostname. As in, any valid IP address on that node can be used. O2CB will not attempt to match the node name (hostname) with the specified IP address.
- node_count
- Total number of nodes in the cluster
- name
- Name of the cluster
- ip_port
- IP port
- ip_address
- IP address
- number
- Unique node number from 0-254
- name
- Hostname
- cluster
- Name of the cluster
- Heartbeat Dead Threshold
- The Disk Heartbeat timeout is the number of two second
iterations before a node is considered dead. The exact formula used to
convert the timeout in seconds to the number of iterations is as follows:
- Network Idle Timeout
- The Network Idle timeout specifies the time in milliseconds
before a network connection is considered dead. It defaults to 30000 ms.
- Network Keepalive Delay
- The Network Keepalive specifies the maximum delay in
milliseconds before a keepalive packet is sent to another node to check
whether it is alive or not. If the node is alive, it will respond. Its
defaults to 2000 ms.
- Network Reconnect Delay
- The Network Reconnect specifies the minimum delay in milliseconds between connection attempts. It defaults to 2000 ms.
EXAMPLES¶
A sample /etc/ocfs2/cluster.conf.node_count = 3
name = webcluster
ip_port = 7777
ip_address = 192.168.0.107
number = 7
name = node7
cluster = webcluster
ip_port = 7777
ip_address = 192.168.0.106
number = 6
name = node6
cluster = webcluster
ip_port = 7777
ip_address = 192.168.0.110
number = 10
name = node10
cluster = webcluster
SEE ALSO¶
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) debugfs.ocfs2(8) ocfs2console(8)AUTHORS¶
Oracle CorporationCOPYRIGHT¶
Copyright © 2004, 2010 Oracle. All rights reserved.September 2010 | Version 1.6.4 |