OCFS2…

I’m nearing the end of my “I wonder what RAC is like on other platforms?” phase. I ran through a basic setup of a cluster file system using OCFS2, just to prove it worked:

OCFS2 On Linux

As I say in the article, the only reason to use it as far as I can see is to provide a shared location or UTL_FILE and external table operations. I can’t see the point in using it for the OCR location or voting disk as raw devices work fine and it’s not recommended for sharing datafiles…

I guess it’s nice to know it’s there if I ever need it 🙂

Cheers

Tim…

ASM with ASMLib or Raw Devices?

I’ve been trying to figure out if it’s better to run ASM on Linux using ASMLib or raw devices. Some of the Oracle documentation claims ASMLib gives better performance that raw devices with 10g Release 2, while other sources claim it only affects candidate disk discovery time…

Whilst setting up a test I wrote this article:

ASM using ASMLib and Raw Devices

I’m sure the configuration information will be useful to others, but my first performance test only convinced me that using VMware on my kit at home is pointless for performance tests. You don’t say!!! 🙂

Cheers

Tim…

FC5 Update… Again…

Over the last few weeks I’ve received lots of comments relating to the Oracle 10gR2 on FC5 issue. Recently, most of these have been people commenting on the success of the installation. As a result, I revisited the article based on all the comments and made the following changes:

  • There was a typo on my amendment on the gennttab script. It’s now corrected.
  • I originally used the source rather than the binary of the openmotif21 package. I now use the binary.
  • I was originally installing from an early download of 10gR2, the one that extracts to give a “./db/Disk1/runInstaller” structure. I downloaded a later release that extracts to “./database/runInstaller”. I now use this later release.

I ran through the installation again this morning and it worked perfectly. I don’t know which of the three changes made the difference and to be totally frank, I don’t care. So as it stands, the installation works fine and I hope this is the last time I’ll have to use FC5.

Thanks to everyone who helped in the production of the final article. All your comments were appreciated. 🙂

Cheers

Tim…

PS. The document has been released, so it is now listed as a new article. You gotta laugh 🙂

10g RAC on Linux…

I spent the Bank Holiday weekend playing with 10g RAC on Linux. I don’t have a FireWire disk, and I didn’t want to destroy my NAS, so I decided to user VMware Server to fake it. That process resulted in this:

Oracle Database 10g Release 2 (10.2.0.1) RAC Installation On CentOS 4 Using VMware Server

It’s got about 100 screen shots, so it’s a bit on the large side 🙂

I’ve been using RAC (9i and 10g) on Tru64 for a few years, but until this weekend I had never installed it on any other operating system. Suffice to say, the process is almost identical.

I suppose I should repeat the exercise on Windows 2003, but I’m not sure I can be bothered. Windows is such a drag 🙂

Cheers

Tim…

Fedora Core 5 (FC5) Update…

A lot has been said about Fedora Core 5 (FC5) recently, so I thought I would pull together a few things of interest.

Q. Where can you get it from?
A. Try here: http://fedoraproject.org/wiki/Distribution/Download

Q. What is it like?
A. I like the review by Howard Rogers.
Q. Can I install Oracle Database 10g Release 2 on it?
A. There has been a lot of hot air produced (mostly by me) this week about this question, but the answer seems to be NO! Here is a draft installation guide I wrote against a beta version of FC5, but so far I’ve had no luck getting this installation to work on the final release of FC5. I’ve decided to leave the article on my site as a testament to my failure 🙂 Please add to the comments if you have any workarounds.

Q. Can I install Oracle AS10g Release 3 on it?
A. Strangely enough, this seems to work fine. I wrote this installation guide against a beta version of FC5 and it works fine against the final release also. Miracles never cease 🙂 Of course, installing and being stable are two very different things!

Q. Can I use FC5 as a VMware Server host or client?
A. Yes you can, but it’s not exactly straight forward and reliable. The VMware forums will help you get it sorted, specifically these threads (host, client).

Q. What do you think about, FC5 Tim? (Asking yourself a question is kinda freaky :))
A. I don’t like it. My main interest is in server software and FC5 seems to break just about everything it touches, so CentOS4 (a Red Hat clone) is the obvious choice for me.

I hope this information will make life a bit quicker and easier for anyone reading.

Cheers

Tim…

Taking Linux Window-Shots…

I been capturing a large number of window-shots on Linux servers recently. To do this I’ve been doing a screen-shot by hitting the “Print Screen” key (or Actions > Take Screenshot…), then manually chopping out the relevant window from the screen-shot. Needless to say it’s a complete pain in the butt.

After wasting quite some time doing this I thought I’d google round for a quicker solution. Almost instantly I hit upon the ImageMagick package. It’s on the RedHat/CentOS/Fedora CDs and if you have the “Graphics” option installed you probably have it already.

The two command line options of interest to me were:

import -window root /mypath/screenshot.jpg
import /mypath/windowshot.jpg

The first option captures the whole screen and saves it as the specified. The second option captures the contents of the next window you click on and saves it as the specified file. The window frame is not captured, just the contents.

Unfortunately, I’ve completed most of my current batch of window-shots, but next time around life will be alot easier and quicker 🙂

Cheers

Tim…

Installation frenzy…

I’ve modified my “Linux Articles” page to show a matrix of all my installation articles. It makes finding stuff a little easier than reading the text long-hand. For the most part, these are installations I’ve practiced for work, or needed for home, so I doubt I’ll try too hard to fill in the gaps.

There are a couple of draft articles for Fedora Core 5 (FC5). It’s still in beta, so these will need some amendments by the time the final version is released.

Fun, fun, fun 🙂

Cheers

Tim…