Oracle Cluster File System 2

Contents

14.1. O2CB Cluster Service
14.2. Disk Heartbeat
14.3. In-Memory File Systems
14.4. Management Utilities and Commands
14.5. OCFS2 Packages
14.6. Creating an OCFS2 Volume
14.7. Mounting an OCFS2 Volume
14.8. Additional Information

Oracle Cluster File System 2 (OCFS2) is a general-purpose journaling file system that is fully integrated in the Linux 2.6 kernel and later. OCFS2 allows you to store application binary files, data files, and databases on devices in a SAN. All nodes in a cluster have concurrent read and write access to the file system. A distributed lock manager helps prevent file access conflicts. OCFS2 supports up to 32,000 subdirectories and millions of files in each directory. The O2CB cluster service (a driver) runs on each node to manage the cluster.

OCFS2 was added to SUSE Linux Enterprise Server 9 to support Oracle Real Application Cluster (RAC) databases and its application files, Oracle Home. In SUSE Linux Enterprise Server 10 and later, OCFS2 can be used for any of the following storage solutions:

In addition, it is fully integrated with Heartbeat 2.

As a high-performance, symmetric, parallel cluster file system, OCFS2 supports the following functions:

OCFS2 also provides the following capabilities:

O2CB Cluster Service

The O2CB cluster service is a set of modules and in-memory file systems that are required to manage OCFS2 services and volumes. You can enable these modules to be loaded and mounted during system boot. For instructions, see Section 14.6.2, “Configuring OCFS2 Services”.

Table 14.1. O2CB Cluster Service Stack

Service

Description

Node Manager (NM)

Keeps track of all the nodes in the /etc/ocfs2/cluster.conf file

Heartbeat (HB)

Issues up/down notifications when nodes join or leave the cluster

TCP

Handles communications between the nodes with the TCP protocol

Distributed Lock Manager (DLM)

Keeps track of all locks and their owners and status

CONFIGFS

User space configuration file system. For details, see Section 14.3, “In-Memory File Systems”

DLMFS

User space interface to the kernel space DLM. For details, see Section 14.3, “In-Memory File Systems”