Back to articles
Configuring a Cluster File System on OCI using OCFS2
How-ToDevOps

Configuring a Cluster File System on OCI using OCFS2

via Dev.toNirjas Jakilim

Setting up a shared file system across multiple virtual machines in the cloud can be tricky, but Oracle Cluster File System Version 2 (OCFS2) makes it straightforward. If you are running instances on Oracle Cloud Infrastructure (OCI) and need multiple VMs to read and write to the same block volume simultaneously, this guide will walk you through the process on Ubuntu. Prerequisites Before we begin the configuration, ensure you have the following infrastructure in place: At least Two Ubuntu VMs provisioned: For this guide, we will use server1 (IP: 10.0.1.85) and server2 (IP: 10.0.1.235). A Block Volume created and attached to both VMs. The access type for the block volume must be set to Read/write - shareable. Once these resources are ready, you can proceed to configure the cluster file system. Step 1: Configure Security Rules OCFS2 nodes need to communicate with each other over specific ports. You must update your OCI Virtual Cloud Network (VCN) security lists to allow internal traffic

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles