Owner's Manual

Configuring Database Storage on the Host 57
Configuring Shared Storage Disks for Oracle Clusterware, Database,
and Recovery Files Using OCFS2
On the
first node
:
1
Log in as
root
.
2
Perform the following steps:
a
Start the X Window System by typing:
startx
b
Generate the OCFS2 configuration file
/etc/ocfs2/cluster.conf
with a
default cluster name of ocfs2. Type the following in a terminal
window:
ocfs2console
c
From the menu, click
Cluster
C
onfigure Nodes
.
If the cluster is offline, the console starts it. A message window
displays the information. Close the message window.
The
Node Configuration
window appears.
d
To add nodes to the cluster, click
Add
. Type the node name (same as
the host name) and the private IP. Retain the default value of the port
number. After typing all the details, click
OK
.
Repeat step d to add all the nodes to the cluster.
e
After all the nodes are added, click
Apply
and then click
Close
in the
Node Configuration
window.
NOTE: If you get the error message: Unable to access cluster
service
, when you perform step e , delete the file /etc/ocfs2/cluster.conf
and try again.
f
From the menu, click
Cluster
Propagate Configuration
.
The Propagate Cluster Configuration
window appears. Wait until
the message
Finished
appears in the window. Click
Close
.
g
Select
File
Quit
.
3
On
all the nodes
, enable the cluster stack on startup by typing:
/etc/init.d/o2cb enable
Lnx_Stnwt.book Page 57 Jeudi, 16. juillet 2009 1:36 13