Datasheet

6
Chapter 1
Using Oracle ASM
3. Perform any Microsoft Windowsspecific configuration.
4. Start the ASM instance.
5. Create the ASM server parameter file (spfile).
Lets look at each of these steps in a bit more detail.
Step 1: Creating Directories for the ASM Instance
An ASM instance is almost always called +ASM. An exception exists in RAC environments
where the ASM instance will be called +ASM1, +ASM2, and so on. Create the admin direc-
tories for the instance using Oracle’s OFA standards. In the following examples, we assume
that you have defined the
ORACLE_BASE parameter.
The following are examples of the commands you might issue:
For Unix
mkdir -p $ORACLE_BASE/admin/+ASM/bdump
mkdir -p $ORACLE_BASE/admin/+ASM/cdump
mkdir -p $ORACLE_BASE/admin/+ASM/hdump
mkdir -p $ORACLE_BASE/admin/+ASM/pfile
mkdir -p $ORACLE_BASE/admin/+ASM/udump
For Microsoft Windows
mkdir %ORACLE_BASE%\admin\+ASM\bdump
mkdir %ORACLE_BASE%\admin\+ASM\cdump
mkdir %ORACLE_BASE%\admin\+ASM\hdump
mkdir %ORACLE_BASE%\admin\+ASM\pfile
mkdir %ORACLE_BASE%\admin\+ASM\udump
Of course, you could use a tool such as Windows Explorer to create the directories.
Step 2: Creating the Instance Parameter File
The ASM instance will require a parameter file, just as any other Oracle instances does.
The number of parameters that you will need to set for an ASM instance is relativity small,
so the parameter file typically is smaller than that of a normal Oracle database. You will
also find that some parameters that you will set are unique to ASM. Lets look at a sample
parameter file, and then we will discuss ASM-specific parameters and what they are for.
First, here is an example ASM parameter file:
##############################################
# ASM Parameter File - Unix
# Note, the ASM_DISKGROUPS parameter is commented out for now.
# ASM_DISKGROUPs=’DISK GROUP_ROB1’
##############################################
95134c01.indd 6 1/28/09 9:43:40 AM