Owner's Manual

Deployment Guide 25
19
On
each node
, perform the following steps:
a
Determine which database instance exists on that node by typing:
srvctl status database -d <database name>
b
Add the ORACLE_SID environment variable entry in the
oracle
user profile by typing:
echo "export ORACLE_SID=racdbx" >> /home/oracle/.bash_profile
source /home/oracle/.bash_profile
where
racdbx
is the database instance identifier assigned to the node.
This example assumes that
racdb
is the global database name that you defined in
DBCA.
Creating the Seed Database Using ASM
Perform the following steps to create the seed database using Oracle ASM:
1
On
node 1
, as user
oracle
, type
dbca &
to start the DBCA.
2
In the
Welcome
window, select
Oracle Real Application Cluster Database
and click
Next
.
3
In the
Operations
window, click
Create a Database
and click
Next
.
4
In the
Node Selection
window, click
Select All
and click
Next
.
5
In the
Database Templates
window, click
Custom Database
and click
Next
.
6
In the
Database Identification
window, enter a
Global Database Name
, such as
racdb
,
and click
Next
.
7
In the
Management Options
window, click
Next
.
8
In the
Database Credentials
window, click
Use the Same Password for All Accounts
,
complete password selections and entries, and click
Next
.
9
In the
Storage Options
window, click
ASM
and click
Next
.
10
In the
ASM Credentials
window, enter the password for user
SYS
, click
Create server
parameter file
, change the location to
/dev/raw/spfile+ASM.ora
, and then click
Next
.
11
When a message appears indicating that DBCA is ready to create and start the ASM instance,
click
OK
.
12
Under
Available Disk Groups
, click
Create New
.
13
Enter the information in the
Disk Group
window for the database files and click
OK
.
Enter a name for the disk group to be created, such as
databaseDG
, select
External
Redundancy
, and select the disks to include in the disk group (for example,
/dev/raw/ASM1
).
A window appears indicating that disk group creation is in progress.
14
Under
Available Disk Groups
, click
Create New
.