Links
🌙 Lab
🗒️ Tutorial
Details
Oracle Cluster File System 2 (OCFS2) is a general-purpose clustered file system used in clustered environments to increase storage performance and availability. In Oracle Cloud Infrastructure, you can deploy OCFS2 clustered file systems through Read/Write - shareable block storage attached to an instance.
Note: For optimal OCFS2 file system performance, reduce the number of files with the OCFS2 filesystem. Applications like Oracle e-Business Suite (EBS) or Oracle WebCenter Content (WCC) should leverage a separate NFS file system for directories containing large amounts of temporary files. During runtime, system administrators should actively archive, purge, remove, delete, and move any non-current files to one or more separate subdirectories or filesystems while regularly monitoring the OCFS2 filesystem file/inode usage.
This tutorial provides instructions on using ocfs2-tools
to deploy and test a two-node Oracle Cluster File System version 2 (OCFS2) on Oracle Cloud Infrastructure.
Objectives
- Prepare for an OCFS2 configuration
- Configure security list
- Create and attach a block volume
- Install or upgrade the software required for OCFS2
- Configure the cluster layout
- Configure and start the O2CB cluster stack service
- Create an OCFS2 volume
- Mount an OCFS2 volume
Prerequisites
Two Oracle Linux systems running the UEK kernel
Each system should have Oracle Linux installed and configured with:
- a non-root user with sudo permissions
Attach a single 50GB block volume to each instance using iSCSI as read-write and shareable for use with OCFS2
OCI Ingress Rules allowing TCP and UDP traffic on port 7777
Security lists control the traffic in and out of the various subnets associated with the VCN. When configuring an OCFS2 cluster, you must add an ingress rule allowing access to instances through TCP and UDP port 7777.