Oracle Cluster File System (OCFS2) User’s Guide

Oracle Cluster File System (OCFS2) User’s Guide. 1. Introduction. A Cluster File System allows all nodes in a cluster to concurrently access a device via …

More PDF Content

Oracle Cluster File System (OCFS2) User’s Guide
Page 1
Oracle Cluster File System (OCFS2) User’s Guide 1. Introduction A Cluster File System allows all nodes in a cluster to concurrently access a device via the standard  file system interface. This allows for easy management of applications that need to run across a  cluster. OCFS (Release 1) was released in December 2002 to enable Oracle Real Application Cluster  (RAC) users to run the clustered database without having to deal with RAW devices. The file  system was designed to store database related files, such as data files, control files, redo logs,  archive logs, etc. OCFS2 is the next generation of the Oracle Cluster File System. It has been designed to be a  general­purpose cluster file system. With it, one can store not only database related files on a  shared disk, but also store Oracle binaries and configuration files (shared Oracle home) making  management of RAC even easier. 2. Installation The OCFS2 distributions comprises of two sets of packages. Namely, the kernel module and the  tools.  The kernel module is available for download from http://oss.oracle.com/projects/ocfs2/files/ and  the tools from http://oss.oracle.com/projects/ocfs2­tools/files/. Download the appropriate packages. For the kernel module, download the one that matches the  distribution, platform, kernel version and the kernel flavor (smp, hugemem, psmp, etc). For tools,  simply match the platform and distribution. The tools packages are split into two. ocfs2­tools includes the command line tools, whereas,  ocfs2console includes the GUI front­end for the tools. One does not have to install the console,  though it is recommended for ease­of­use.
Page 2
Install the packages using the rpm ­­install or rpm ­­upgrade command on each node that will be  part of an OCFS2 cluster.
Page 3
3. Configuration OCFS2 has one configuration file, namely, /etc/ocfs2/cluster.conf. In it, one needs to specify all the  nodes in the cluster. This file should be the same on all the nodes in the cluster. Whereas one can  add new nodes to the cluster dynamically, any other change, like name, ip address, requires the  cluster to be restarted for the changes to take effect. Users are strongly recommended to use ocfs2console to setup and propagate the cluster.conf to all  the nodes in the cluster. This needs to be done only on one of the nodes in the cluster. After this  step, users will see the same /etc/ocfs2/cluster.conf on all nodes in the cluster. Please note that  differing cluster.conf(s) will lead to unpredictable behavior. Start ocfs2console and click on menu item Cluster followed by Configure Nodes. If the cluster is  offline, the console will start it and display a message to that effect. If cluster.conf is not present,  the console will create one with a default cluster name ocfs2.
Page 4
Click on Add to add nodes to the cluster. One needs to enter the node name (same as the hostname),  the IP Address and Port. The console assigns node numbers sequentially from 0 to 254. Once all the nodes are added, one can propagate the configuration to all the nodes by clicking on  menu item Cluster followed by Propagate Configuration.The console uses ssh to propagate the  configuration file. If the nodes have not been setup for automatic ssh login authentication (refer ssh

Download Oracle Cluster File System (OCFS2) User's Guide pdf from oss.oracle.com, 19 pages, 1209.05KB.
Related Books

Leave a Reply