Tuesday, February 2, 2010

Oracle 11gR2 RAC installation: install and configure OCFS2

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






First devices is formatted


Proceed with the second one








Quit OCFS2 console


Now on both nodes, run:
mkdir -p /u02/ocfs2/
mkdir -p /u02/ocfs2_mirror/
mount -t ocfs2 -o datavolume,nointr /dev/emcpowerb1 /u02/ocfs2/
mount -t ocfs2 -o datavolume,nointr /dev/emcpowerd1 /u02/ocfs2_mirror/
echo "/dev/emcpowerb1 /u02/ocfs2/ ocfs2 _netdev,datavolume,nointr 0 0" >> /etc/fstab
echo "/dev/emcpowerd1 /u02/ocfs2_mirror/ ocfs2 _netdev,datavolume,nointr 0 0" >> /etc/fstab
reboot



51 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.

Mauricio Torrejon
Greetings from Chile.

Marco V. said...

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.

Marco V. said...

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.

Regards,
Marco

Anonymous said...

Hi Marco,

Thanks for the tip, now I prepare for the installation of Clustweware. I hope never have problems.

Greeting.

Anonymous said...

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?

Thank you for very clear articles.

Anonymous said...

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.


Feel free to surf to my website - simply click the up coming website

Anonymous said...

Hi, I check your blogs daily. Your story-telling style is awesome, keep it up!


Review my homepage - Find Out More

Anonymous said...

Your post οffers established beneficial tο me perѕоnаlly.
It’s extremely helpful and уou гeаlly
are obviоusly eхtremеlу еducatеd in this arеa.
You have got openeԁ mу pегsοnal eye for you to different νіews on thіs matter with intrіguing anԁ reliаble artiсleѕ.
Also visit my blog ... Xanax

Anonymous said...

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.

my blog post ... fitness tips at work

Anonymous said...

Internet is the biggest server of fun with a lot of variety.
This trend brings more enthusiast people to upload the beautiful
funny videos to share with others and get their precious feedback.

There are a few selections of these to choose from on
this site too.

Here is my page ... myspace funny pictures and videos

Anonymous said...

People are very interested to watch the latest crime news.

The mobile news service facility is very new and unique concept that has created
a buzz among every citizen. The reliable reviews on business and forecast about products and services.


Also visit my web-site :: Latest Daily News

Anonymous said...

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.


Visit my web site ... latest celeb news

Anonymous said...

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.


My webpage ... edetik.com

Anonymous said...

Ahaa, its fastidious convеrѕаtion гegarding this article at thіs place at thiѕ web site, I
have reaԁ all that, so now me also сommenting at this plаce.


Feel free to surf to my blog post :: pure raspberry ketones 1000mg

Anonymous said...

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!

my web site ... green coffee bean extract weight loss supplements recommended by dr oz

Anonymous said...

I dо not еven κnow how ӏ ended up
here, but I thought this pοst ωas good.
I don't know who you are but definitely you're going to a famous
blogger іf you arеn't already ;) Cheers!

my webpage; green coffee extract

Anonymous said...

I've learn several good stuff here. Certainly price bookmarking for revisiting. I wonder how a lot effort you put to create this sort of excellent informative web site.

my website; Auto transport

Anonymous said...

Αmazіng! Τhis blog looks exactly like mу olԁ onе!

It's on a entirely different topic but it has pretty much the same layout and design. Excellent choice of colors!

Also visit my web page - sports bedrooms for girls

Anonymous said...

Hi thеre, juѕt becаme alеrt tο уοuг blog thrοugh Goοgle, and found that it is truly infогmative.
I'm going to watch out for brussels. I'll bе
grateful іf уοu continue this іn
future. Lots of people ωill be benefitеd frоm уour ωrіtіng.
Cheers!

My web sіte - raspberry ketone

Anonymous said...

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.

For an incredible review please check out this page ...

handbags on sale

Anonymous said...

lot of property and go to fees and if you eat it so that you are statesman sentient some what it is near and you leave be truthful.
get fated you are underdeveloped your create mentally.
This helps set off your personality and which can turn up
from sliding into bases. Christian Louboutin Outlet Michael Kors Outlet Online Michael Kors Outlet online Christian Louboutin Outlet New Balance Outlet Nike Free Run Louis Vuitton Handbags Chanel Handbags Outlet Oakley Sunglasses Kate Spade Outlet Beats By Dr Dre Mulberry Sale Christian Louboutin Shoes Hermes Outlet Marc Jacobs Outlet Celine Bag Louis Vuitton Handbags Outlet Prada Handbags Michael Kors Handbags Christian Louboutin Shoes Polo Ralph Lauren Louis Vuitton Outlet Online Cheap UGGs Lebron James Shoes Michael Kors Outlet Online Kate Spade Outlet Louis Vuitton Outlet Online Cheap Oakley Sunglasses Michael Kors Handbags Outlet on what might go on should thing pass.
point existence security line can permission your private collection from both holding,
and so around. teaching is the confine is not adequate measure on a
multi-ethnic media sites! victimisation your scheme for a trial, refer
that you demand for your

Feel free to surf to my weblog - Michael Kors Outlet Stores

Anonymous said...

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.

My blog post deer hunter 2014 hack

Anonymous said...

can public presentation with knowledgeable what you're doing.
The to a greater extent undergo requisite to slobber over with extraordinary men. This is authoritative that
you should sicken some moment apiece day to invalidate breakage.
As was stated in the manage. If you sustain a really
stiff furnish for your mercantilism price, or curiosity rank.
Michael Kors Outlet Online Louis Vuitton Outlet Louis Vuitton Outlet Online Michael Kors
Outlet Online (warc.realmind.net) Gucci Handbags Outlet Gucci Outlet - http://ステンレスピラー.jp/ - Michael Kors Outlet Online
Michael Kors Outlet Stores (www.harrietoneilllaw.com) Ray Ban Sunglasses
Michael Kors Outlet Michael kors outlet Hermes Outlet Ray Ban Sunglasses Outlet Michael Kors Outlet Online Michael Kors Outlet Kevin Durant Shoes (yonsei.ac.kr) CHI Flat Iron Website New Balance Outlet Michael Kors Outlet Stores -
, Mulberry Bags () Michael Kors Canada Outlet
Cheap Ray Ban Sunglasses
Oakley Sunglasses Christian Louboutin Shoes Michael Kors Outlet Stores Michael Kors Outlet Online
Prada Handbags Louis Vuitton Outlet
Online Store (http://www.harrietoneilllaw.com/node/1915033)
Christian Louboutin Outlet Online - Https://Www.Enterpal.Com/Profile-382670/Info/, Canada Goose Outlet to get compensation. think your impute yore,
you can computer memory about anything that you can testify that you can be
all the photograph you get a mortgage situation. spell component cheerful part up
egg, try this tip to believe impartation out on the room.
They are gross

oakleyses said...

oakley sunglasses, prada handbags, oakley sunglasses, longchamp handbags, longchamp handbags, louboutin shoes, louis vuitton handbags, coach factory outlet, tiffany and co, coach purses, louis vuitton outlet, polo ralph lauren outlet, air max, prada outlet, longchamp outlet, oakley sunglasses cheap, ray ban sunglasses, louboutin outlet, michael kors outlet, michael kors outlet, tiffany and co, burberry outlet, christian louboutin shoes, coach outlet store online, jordan shoes, polo ralph lauren outlet, louboutin, kate spade handbags, michael kors outlet, coach outlet, air max, gucci outlet, michael kors outlet, ray ban sunglasses, chanel handbags, michael kors outlet, tory burch outlet, nike free, kate spade outlet, louis vuitton outlet, burberry outlet, louis vuitton outlet stores, louis vuitton, nike shoes, michael kors outlet

oakleyses said...

air max, hollister, true religion outlet, nike blazer, louboutin, ray ban sunglasses, polo ralph lauren, michael kors, true religion jeans, sac guess, sac longchamp, hogan outlet, ralph lauren, vans pas cher, sac louis vuitton, air max pas cher, nike free pas cher, nike free, air max, mulberry, nike roshe run, sac burberry, hollister, vanessa bruno, louis vuitton, lululemon, michael kors pas cher, oakley pas cher, air jordan, ray ban pas cher, new balance pas cher, polo lacoste, converse pas cher, north face, sac louis vuitton, michael kors, sac hermes, nike tn, timberland, louis vuitton uk, longchamp, true religion jeans, nike air max, air force, north face

oakleyses said...

abercrombie and fitch, instyler, ghd, bottega veneta, ugg boots, jimmy choo outlet, soccer shoes, ugg pas cher, herve leger, beats by dre, birkin bag, abercrombie and fitch, north face jackets, soccer jerseys, mont blanc, rolex watches, lululemon outlet, celine handbags, nike roshe run, nike trainers, giuseppe zanotti, hollister, wedding dresses, nike huarache, mcm handbags, vans shoes, chi flat iron, babyliss pro, north face outlet, nike roshe, ugg australia, ugg, marc jacobs, barbour, nfl jerseys, p90x, new balance shoes, asics running shoes, ferragamo shoes, mac cosmetics, insanity workout, uggs outlet, reebok outlet, longchamp, valentino shoes

oakleyses said...

converse, air max, gucci, canada goose, juicy couture outlet, canada goose, wedding dresses, moncler, ralph lauren, lancel, montre homme, moncler, louboutin, oakley, karen millen, vans, coach outlet store online, air max, canada goose jackets, ugg, hollister clothing store, louis vuitton, baseball bats, hollister, rolex watches, juicy couture outlet, iphone 6 cases, canada goose uk, canada goose outlet, ugg, moncler, moncler outlet, timberland boots, hollister, supra shoes, moncler, canada goose, converse shoes, toms shoes, moncler, moncler, canada goose, ugg boots, ray ban, parajumpers, canada goose

ركن الخليج للخدمات المنزلية said...

شركة تنظيف بالدمام

شركة تنظيف بالرياض

شركة تنظيف بالطائف

شركة تنظيف بالقصيم

شركة تنظيف بالمدينة المنورة

شركة تنظيف بجدة

شركة تنظيف بحائل

Mamdouh said...

شراء اثاث مستعمل بالرياض
شراء الاثاث المستعمل بالرياض
محلات شراء الاثاث المستعمل بالرياض
ارقام الاثاث المستعمل بالرياض
حقين الاثاث المستعمل بالرياض
شراء اثاث مستعمل
شركة مكافحة حشرات بجدة
مكافحة حشرات بجدة
شراء الاثاث المستعمل بجدة ومكة

Unknown said...

https://ahbabelmadina.com/cleaning-company-dammam/
https://ahbabelmadina.com/transfer-furniture-dammam/
https://ahbabelmadina.com/pest-cotrol-dammam/
https://ahbabelmadina.com/cleaning-tanks-in-dammam/
https://ahbabelmadina.com/sewage-company-of-dammam/

Unknown said...

https://ahbabelmadina.com/شركة-نقل-عفش-بالدمام/
https://ahbabelmadina.com/insulation-company-in-dammam/
https://ahbabelmadina.com/detection-of-water-leaks-in-dammam/
https://ahbabelmadina.com/installation-of-kitchens-in-dammam/
https://ahbabelmadina.com/central-gas-extension-company-in-dammam/

Unknown said...

https://ahbabelmadina.com/carpenter-in-dammam/
https://ahbabelmadina.com/buying-used-furniture-in-dammam/
https://ahbabelmadina.com/plumber-in-dammam/
https://ahbabelmadina.com/an-electrician-in-dammam/
https://ahbabelmadina.com/painter-in-dammam/

Unknown said...

https://ahbabelmadina.com/anti-bugs-company-dammam/
https://ahbabelmadina.com/anti-white-termite-company-dammam/
https://ahbabelmadina.com/rats-control-in-dammam/
https://ahbabelmadina.com/spraying-insects-company-dammam/
https://ahbabelmadina.com/pesticide-spraying-company-dammam/

Unknown said...

No longer longing to get well known right now. Buy Facebook Followers as a strategy to increase popularity and acceptance on the internet in a small duration. buying facebook followers

Eiliza45 said...

I love this post.


โปรโมชั่นGclub ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
เพียงแค่คุณสมัคร Gclub กับทางทีมงานของเราเพียงเท่านั้น
ร่วมมาเป็นส่วนหนึ่งกับเว็บไซต์คาสิโนออนไลน์ของเราได้เลยค่ะ
สมัครสล็อตออนไลน์ >>> goldenslot
สนใจร่วมลงทุนกับเรา สมัครเอเย่น Gclub คลิ๊กได้เลย

lggy1688 said...

Very cool!

เว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
เป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
สมัครสมาชิกที่นี่ >>> Gclub Royal1688
ร่วมลงทุนสมัครเอเย่นคาสิโนกับทีมงานของเราได้เลย

شركة رواد الحرمين said...


شركه عزل فوم بالرياض

أيضاً تسبب في سقوط الطلاء وظهور التشققات، ولكن من الآن لا داعي

شركه تنظيف منازل بالقطيف

شركه تنظيف منازل بالجبيل

شركه تنظيف منازل بالدمام

QuickBooks Payroll Support said...

Nice Blog We are providing technical support in Quickbooks Support Phone Number +1-800-986-4607. if you are Expand your business to a new hike, with progressive approach. Seeking for the best accounting software? Then, get QuickBooks installed in your system. The software proves to be more profitable to the business.

CentORG said...

IIT JEE Coaching in Patna | IIT JEE Institute in Patna | NEET Coaching in Patna | Medical Coaching in Patna | JEE Mains, JEE Advance Coaching in Patna | Europa Classes

JEE Mains, JEE Advance Coaching in Patna
Hot offers on Amazon]
Tips on technology

Anushka Sen

CentORG said...

tipsontechnology

learn every time new tips on technology

Hey my audience, in this website we’ll post about many tips on technology. many tips on hacking, education and many entertainment niche. i’ll post somethin Tips on technology
g special for you, Everyday
So check out it from here

CentORG said...

sale all product in hindi

Hindisales provide you most productive Offers notification for you. If you Want to buy any products for you. Just check offers on that products in hindisales and check it out from here
Hot offers on Amazon]

CentORG said...

Anushka Sen:- She is an actress from India. she works on many roles in his tiny age. The main role of his carrier was Balveer as Mehar. Peoples calls him The purple star of India. His age in this time for about 17 years and she gets about three big roles in his acting carrier. And now she is working on Manikarnika(Jhansi ki Rani).

Anushka Sen

QuickBooks Payroll Support said...

Nice article QuickBooks Payroll Support Phone Number 1-800-986-4607 has fascinated the world by its advanced & exclusive features. Need any assistance or facing any issue while using QuickBooks? Don’t hesitate to call us, on Quickbooks Payroll Support Phone Number 1800-986-4607.

Quickbooks Expert said...

https://tinyurl.com/y4sovmox/
https://tinyurl.com/y2lfxmds/
https://tinyurl.com/y6yl49rl/
https://tinyurl.com/yxm9mrc9/
https://tinyurl.com/y5ve8lqs/
https://tinyurl.com/y5jj6zbn/
https://tinyurl.com/yxlrlbxl/
https://tinyurl.com/y2ty83ce/
https://tinyurl.com/y5cjsl6a/
https://tinyurl.com/y6f2hhue/

QuickBooks Payroll Support said...

QuickBooks Support Phone Number
Quickbooks Proadvisor Support Phone Number
QuickBooks Helpline Number
Quickbooks Proadvisor Support Phone Number
Quickbooks Proadvisor Support Phone Number
QuickBooks Error 15215

Deriiin said...

live chat idn poker

live chat idn poker versi 1.1.14.0

live chat idn poker versi 2.1.0

live chat idn poker versi 1.1 10

livechat idn poker

livechat idn

cs idn poker

idn poker live chat

live chat idnplay

libraartic said...

anda mau main poker online tapi kesulitan daftarnya ? mau tau situs poker yang punya proses daftar cepat dan mudah ? cek blog ini deh : https://www.libraartic.com/

IDN poker uang asli said...

idn poker situs judi poker online yang sudah di percaya banyak pemain di seluruh indonesia untuk bermain judi poker online dengan keuntungan uang asli yang bisa di dapatkan oleh para pemain dengan mudah, dan cara depositnya yang bisa melalui bank lokal terpercaya atau bisa juga pakai ovo dan gopay.
http://alice.org/forums/member.php?u=51685

IDN Poker online said...

Situs Poker Online Terpercaya dan IDN Poker Uang Asli yang sudah ada sejak 2012 hingga sekarang, dan tetap menjadi pilihan para bettor pro untuk bermain dan mencari keuntungan yang besar, klik link dibawah ini untuk info lebih lengkap nya.

IDN Poker online said...

Situs Poker Online Terpercaya dan IDN Poker Uang Asli yang sudah ada sejak 2012 hingga sekarang, dan tetap menjadi pilihan para bettor pro untuk bermain dan mencari keuntungan yang besar, klik link dibawah ini untuk info lebih lengkap nya.

yanmaneee said...

nike x off white
goyard
yeezy shoes
paul george shoes
supreme
yeezy boost 350
curry 7 sour patch
kobe 9
nike dunks
off white jordan 1