Deployment Guide

34 Deployment Guide
7
Ty p e :
mke2fs -j /dev/sdb1
mke2fs -j /dev/sdc1
8
Modify the
/etc/fstab
file by adding an entry for the newly created file system.
9
Ty p e :
mount /dev/sdb1 /opt/oracle/oradata
mount /dev/sdc1 /opt/oracle/recovery
10
Ty p e :
chown oracle.dba oradata recovery
Configuring Shared Storage Using ASM
The partitions can be configured as raw devices or can be configured using the ASMLib software. It is
assumed that you have two storage devices (sdb and sdc) available to create a disk group for the database
files, and a disk group to be used for flashback recovery and archive log files, respectively.
Configuring Shared Storage Using ASMLib
1
To configure your cluster using ASM, perform the following steps on
all the nodes
:
a
Log in as
root
.
b
Configure the ASM kernel module by typing:
/etc/init.d/oracleasm configure
The following message appears on the screen:
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM
library driver. The following questions will determine whether
the driver is loaded on boot and what permissions it will have.
The current values will be shown in brackets ('[]'). Hitting
<ENTER> without typing an answer will keep that current value.
Ctrl-C will abort.
A message appears prompting you to enter the default user owning the driver interface.
Ty p e
oracle
as mentioned below:
Default user to own the driver interface []: oracle
A message appears prompting you to enter the default group owning the driver interface.
Ty p e
dba
as mentioned below:
Default group to own the driver interface []: dba