<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Oracle Linux on the bin</title><link>https://thebin.net/tags/oracle-linux/</link><description>Recent content in Oracle Linux on the bin</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 04 Mar 2013 00:00:00 +0000</lastBuildDate><atom:link href="https://thebin.net/tags/oracle-linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Oracle Linux 6: Create an OCFS2 Cluster and Filesystem</title><link>https://thebin.net/2013/03/oracle-linux-6-create-an-ocfs2-cluster-and-filesystem/</link><pubDate>Mon, 04 Mar 2013 00:00:00 +0000</pubDate><guid>https://thebin.net/2013/03/oracle-linux-6-create-an-ocfs2-cluster-and-filesystem/</guid><description>&lt;p&gt;Today we are going to go through the process of creating a clustered file system on a pair of Oracle Linux 6.3 nodes.  This exercise is not very resource intensive.  I am using two VMs each with 1GB of RAM a single CPU and a shared virtual disk file in addition to the OS drivers.&lt;/p&gt;&#10;&lt;h2 id="the-basic-concepts"&gt;The Basic Concepts&lt;/h2&gt;&#10;&lt;p&gt;Now why is a clustered file system important?  So basically if you have the need to have a shared volume between two hosts, you can provision the disk to both machines, and everything could appear to work, however in the event that writes ever happened to the same areas of the disk at the same time you will end up with data corruption.  Now the key here is that you need a way to track locks from multiple nodes.  This is called a Distributed Locking Manager or DLM.  Now to get this DLM functionality working then it will create a cluster.  Valid cluster nodes can then mount the disk and interact with it as a normal disk.  So as part of OCFS2 we have two file systems which are created /sys/kernel/config and /dlm the prior is used for the cluster configurations, and the latter is for the distributed lock manager&lt;/p&gt;</description></item></channel></rss>