[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Advice needed : Oracle and Debian Linux



On Fri, Jun 13, 2003 at 05:47:03PM -0300, Theo Cabrerizo Diem wrote:
> Hi,
> 
> I have to install an Oracle (and Progress) databases here ... but a
> question remains in my mind ;o) ... In Oracle's website they say that
> Oracle is supported only in a few rpm based distros ...
> 
> I know that Oracle <and Progress> run on Debian/Linux ... but what kind
> of problem I can expect doing this ?

Oracle needs to be linked at installation time (not compiled, that's
already done), so expect things to fail horribly at first try. You'll
have to fix some scripts that expect a certain version of some not
directly to linking related tools. Watch the logfiles of the installer,
make sure you know what a makefile looks like :-)

Well -- at least that's what happened last I tried, which was with
version 9.something.

> And what kind of solution (other
> than installing RedHat) can I try ?

You could put a RedHat-installation in a chroot, although that would be
a way of installing RedHat too, of course.

> Those database servers will serve a 'mid sized' network ..( will provide
> storage too .. to windows clients using samba). I was thinking to use
> NBD (Network Block Device) and RAID (5 by hardware and 1 by software) to
> mirror two servers using a 'crossover' gigabit link.

Wearing my NBD tools maintainer hat:

Bear in mind that
* the NBD tools in stable don't support exporting files sized over 2GB
  (on 32bit systems -- you know, the LFS thingy). That should be solved
  in the unstable and testing branches. For stable, you could either
  create as many 2GB files as necessary, make sure you specify all
  files in the same order *every time you run nbd-server*, and run
  nbd-server with the -m option, or you could compile the unstable
  version on stable.
* If the idea is to have two servers write to the same NBD device
  simultaneously, don't. NBD isn't written for that, and allows both
  servers to do write-caching, which will corrupt your block device
  after colliding writes; you'll want to use drbd (the 'Distributed RAID
  Block Device) for that. If, however, the idea is to mirror writes to
  another system (one that only runs nbd-server), but run Oracle on only
  one, there should be no problem, and you could use NBD (or ENBD, which
  is in Debian too, but requires you to build a custom kernel with
  kernel-patch-enbd applied).

-- 
Wouter Verhelst
Debian GNU/Linux -- http://www.debian.org
Nederlandstalige Linux-documentatie -- http://nl.linux.org
"An expert can usually spot the difference between a fake charge and a
full one, but there are plenty of dead experts." 
  -- National Geographic Channel, in a documentary about large African beasts.

Attachment: pgplxC_IlCoXR.pgp
Description: PGP signature


Reply to: