segunda-feira, 16 de maio de 2011

[EN] - OEL 5.2 + rawdevices

well, rawdevices aren't directly supported on OEL 5.x. So there must be some tricks executed to allow a database to run on these. This was a requirement from the client prior to the upgrade to 11g and r12.
Note Linux 2.6 Kernel Deprecation of Raw Devices [ID 357492.1] instructs how to setup the environment ("Script to Migrate Raw to Block Devices")

In a nutshell:
- you create the  /etc/sysconfig/rawdevices since there isn't one in OEL 5.x;
- you create symbolink links (in the note using a perl script which reads theto the devices with /dev/raw/raw<number>  names;
- and voilá.

2 Problems:
1 - if you're installing a RAC (like I am), the OUI doesn't support this method. So you have to get another solutions (we used OCFS2 :http://www.oracle-base.com/articles/linux/OCFS2OnLinux.php);

2 - every time your node reboots, you must create the symbolic links again. They are not persistent. This is quite annoying.

Sem comentários:

Enviar um comentário