Owner's Manual
39
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 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 this step to add all the nodes to the cluster.
e
When 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
, 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 and then click
Close
.
g
Select
File
→
Quit
.
3
On
all the nodes
, enable the cluster stack on startup by typing:
/etc/init.d/o2cb enable
4
Change the O2CB_HEARTBEAT_THRESHOLD value on all the nodes
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 81 on all the nodes.