Saturday, December 18, 2010

Installing Oracle on OEL 5 Update 5 using Virtualbox 3.2.12 with ASM

Here are some notes regarding the installation:

Create a VM.
Install OEL5.
Shutdown VM.
Add a new disk to VM. Settings, and select SATA controller and right click and Add new Disk.
start the VM.
As root, check ls sd*, the new disk should be like sdb.
fdisk /dev/sdb, sequence should be n,p,1,return,return,p,w

Then configure oracleasm utility.

#oracleasm configure -i
then input should be oracle,dba,y,y

/usr/sbin/oracleasm init

/usr/sbin/oracleasm createdisk DISK1 /dev/sdb1

/usr/sbin/oracleasm scandisks

/usr/sbin/oracleasm listdisks

Now first install grid infrastructure. Its in zipfile 3 of 7.

Start grid infrastucture installation.

On screen create ASM DISK Group, if you dont see any candidate disk,

then click on Change Discovery Path, and set the path like:

/dev/* or /dev/sd?1 and set the permissions to your device /dev/sdb to

775, and it should show your candidate disk like /dev/sdb1.

If you get physcial memory error during pre requiste check, just click ignore all and click next.

Then install the Oracle database in separate home.

Here are some useful links in this regard:

Check this one to see the full installation process, though it doesn't describe the pre-installation steps with clarity, but all in all a good start.

Check this link to create ASM disks:

No comments: