Deployment Guide
44 Deployment Guide
3
Stop all the database instances by typing the following command as the user
oracle
on one of
the existing nodes:
srvctl stop database -d <database name>
4
Stop CRS and unmount all the OCFS2 partitions by typing the following command on
all the nodes
:
/etc/init.d/init.crs stop
umount -a -t ocfs2
5
To add the new node to the OCFS2 configuration file
/etc/ocfs2/cluster.conf
, perform the following
steps on one of the
existing nodes
:
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 by typing the following in a terminal window:
ocfs2console
c
From the menu, click
Cluster
→
Configure Nodes
.
If the cluster is offline, the console will start it. A message window appears displaying that infor-
mation. Close the message window.
The
Node Configuration Window
appears.
d
To add a node to the cluster, click
Add
. Enter the new node name (same as the host name) and the
private IP. Retain the default value of the port number. After entering all the details mentioned,
click
OK
.
e
Click
Apply
and then click
Close
in the
Node Configuration Window
.
f
From the menu, click
Cluster
→
Propagate Configuration
.
Propagate Cluster Configuration Window
appears. Wait until the message
Finished
appears
on the window and then click
Close
.
g
Select
File
→
Quit
.
6
On the
new node
, enable the cluster stack on startup by typing:
/etc/init.d/o2cb enable
7
Change the O2CB_HEARTBEAT_THRESHOLD value on the
new node
using the following steps:
a
Stop the O2CB service on
all the nodes
by typing:
/etc/init.d/o2cb stop
b
Edit the O2CB_HEARTBEAT_THRESHOLD value in
/etc/sysconfig/o2cb
to
61
on
all the nodes
.
c
Start the O2CB service on
all the nodes
by typing:
/etc/init.d/o2cb start