Tuesday, February 2, 2010

This post will describe how to install and configure OCFS2, the Oracle Cluster File System, a shared disk file system developed by Oracle Corporation and released under the GNU General Public License.First of all download and install on both nodes the requested rpm files from the Oracle website: http://oss.oracle.com/projects/ocfs2/files/

Then run the console using the following command as root just from one node:ocfs2console &

Then select Cluster->Configure Nodes... from menu

and the following window will appear

Press tha ADD button

And insert all details of your node (specifing the private IP address)

Again ADD button to add details for the second node

Click the APPLY button

The select Cluster->Propagate Configuration... from menu

Type YES and the root password when asked. When FINISHED! is showned, click on CLOSE button

Now from first node type:/etc/init.d/o2cb configure

Answer Y to load O2CB driver on boot, then use default value for cluster name, then 61 as heartbeat dead threshold and then accept all default values.

The same steps for the second node

Now it's time to format, selecting Tasks->Format from menu

A list of available devices will appear. Use a Volume label and then press OK. I will setup TWO devices to share disks

29 comments:

Anonymous
said...

Hi Marco.

I was watching the installation of OCFS2 and I have an important question for you. The IP must enter the IP must necessarily be private or public IP. I am writing this because I have seen other explanations that use the public IP also.

Hi Mauricio.Yes I know. Someone uses to configure them as public IP.Anyway there's a best practic pdf on Metalink that suggest to use them as private ip. Just let me found the exact doc id and I'll post here.

Ok.. I found it.. it was doc id 578036.1 on metalink (Error 'o2net_check_handshake ...' When Using Public Network Interface for OCFS2 [ID 578036.1])It says in few words:while OCFS2 does not take much bandwidth, it does require the nodes to be alive on the network and sends regular keepalive packets to ensure that they are. To avoid a network delay being interpreted as a node disappearing on the net which could lead to a node-self-fencing, a private interconnect is recommended and one could use the same interconnect for Oracle RAC and OCFS2.

Hi Marco, Can you explain how the /dev/emcpowerb1 appeared (at the formatting step). It appears to be ext3 - is it already shared or clustered across the 2 nodes? As it is in your san; are you using the san to share this ext3 filesystem even before ocfs2 is installed?

I want to test ocfs2 for shared oracle datafiles using just ordinary pc hardware (local disks of course). Can this be done using OCFS2? Do I need special h/w to share the disks?

People talk themselves out of exercising so easily, and the opposite can be so easy.

' The picture is just as worrying for youngsters - by 2010, it's predicted 22 per cent of girls and 19 per cent of boys between the ages of two and 15 will be obese, with girls under 11 at particular risk.Remember; there is a difference between a fattening diet and a healthy diet.

So, before you play, make sure you stretch the muscles used in swinging your golf club.Training with intensity does not mean training foolishly; you must always train within your limits by using an appropriate resistance and exercises that you are capable of doing. Take note also that you know how to perform the exercise well to avoid sickness and injuries in the future.

You will find the most updated news being uploaded or published in blogs and celeb news sites. Aamir Khan and Amitabh Bachchan had a rough battle, when the movies related to them were released at the same time. As a consequence it can be contended the media is directing many persons astray moving away from what should be its aim of presenting discerning news and analytic thinking of pressing topics for this celebrity frippery.

The advantage about the funny pictures is that you can watch them along with the family.

It is hard to imagine how athletes can do such entertaining and funny facial expressions, but apparently the desire to win is more important than image. A few young superstars have made their name just from being spread across the internet in videos and photos.

Hі there! Τhis blog poѕt couldn't be written much better! Going through this article reminds me of my previous roommate! He constantly kept talking about this. I most certainly will forward this article to him. Fairly certain he will have a very good read. Many thanks for sharing!

Thanks for every other informative web site.The place else could I am getting that type of info written in such an ideal method?I have a venture that I am simply now working on, and I have been at the glance out for such information.

Then load up the hack instrument, select your machine sort and click on ‘find machine'. Now you'll be able to select the quantity of Deer Hunter 2014 money and gold that you just require and click on generate.