Error ORA-15260 when attempting to issue an alter diskgroup command.

The ORA-15260 error when attempting ot issue an alter diskgroup command is a permissions issue. It will generally be because you are logged in as SYSDBA rather than SYSASM. Prior to 11gR2 you could log in and administer diskgroups with SYSDBA privileges but this changed with 11.2.   SQL> ALTER DISKGROUP DATA add disk ‘/dev/oracleasm/disks/DISK2’;ALTER …

Read more

How to install OEL6 on Virtualbox

Virtualbox is Oracle’s solution to visualization and as such it is very powerful. It is similar to VMware as it has much the same capabilities and you can run servers through it on an enterprise level. For the purposes of experimenting with operating systems and learning Oracle, it gives us some amazing benefits and makes …

Read more

Cleaning up a failed Oracle 11g grid infrastructure install.

Unfortunately, the installer or more specifically the root.sh script for the Oracle 11g grid (Clusterware) installer can be very flaky.   If it fails and you need to fix something or rerun it for any reason, it will fail the next time if you have not cleaned up the install by de-configuring CRS. I also …

Read more

Using files on a shared drive as disks for ASM (on RedHat Linux)

Firstly, you need to create files padded to the required disk size. So if you want 4 1Gb files you could execute the below commands on shared storage: dd if=/dev/zero of=/SHAREDDISK/asmDisk1-1 bs=1024k count=1000 dd if=/dev/zero of=/SHAREDDISK/asmDisk1-2 bs=1024k count=1000 dd if=/dev/zero of=/SHAREDDISK/asmDisk1-3 bs=1024k count=1000 dd if=/dev/zero of=/SHAREDDISK/asmDisk1-4 bs=1024k count=1000 dd creates your file, ‘if’=/dev/zero gets null …

Read more

Error PRVF-5472 during an Oracle Grid infrastructure install

This is a problem with the config of the NTP daemon (ntpd) which synchronizes time across the cluster. The specific error is to do with the boot time behavior of the daemon and needing the ‘Slewing’ option enabled. If you need to enable slewing, you can do it by typing ‘ntpd -x’, however, the grid …

Read more

Oracle Direct NFS

Features embedded in Oracle Kernel Improves performance and manageability for NFS drives Configuring: NFS file system should be mounted and available. Direct NFS does not mount drives Direct NFS client uses either: configuration file called ‘oranfstab’ mount file tab – /etc/mtab First: $ ORACLE_HOME/ dbs/oranfstab which would specify the Direct NFS Client settings for a single database. Then /etc/oranfstab …

Read more

Oracle ASM

A brief discussion on Oracle ASM and some of its advantages over other file systems.     Notes: Database centric file system only used for managing database files High performance Requires a certain amount of tuning Not suitable for all applications Current recommendation is to allow ASM handle raid mirroring rather than let hardware handle it Probably …

Read more

Manually upgrading to 11g

You can directly upgrade an Oracle database from version 9.2.0.4 or higher, directly to 11g Upgrade Process. Open database in Upgrade mode:      startup upgrade Pre-Upgrade information tool:      utlu111i.sql Precursor to the upgrade. Generated report on required  and recommended changes to make.. Generally increasing tablespace sizes or remove parameters. Upgrade script:   …

Read more