<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>From
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html">http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html</a><br>
</tt><font size="+1"><br>
19 - </font>How do I add a new node to an online cluster?<br>
<font size="+1"></font>
You can use the console to add a new node. However, you will need to
explicitly add
the new node on all the online nodes. That is, adding on one node and
propagating
to the other nodes is not sufficient. If the operation fails, it will
most likely
be due to <a href="http://oss.oracle.com/bugzilla/show_bug.cgi?id=741">bug#741</a>.
In that case, you can use the o2cb_ctl utility on all online nodes as
follows:
<pre>        # o2cb_ctl -C -i -n NODENAME -t node -a number=NODENUM -a ip_address=IPADDR -a ip_port=IPPORT -a cluster=CLUSTERNAME
</pre>
Ensure the node is added both in /etc/ocfs2/cluster.conf and in
/config/cluster/CLUSTERNAME/node
on all online nodes. You can then simply copy the cluster.conf to the
new (still offline) node
as well as other offline nodes. At the end, ensure that cluster.conf is
consistent on all the nodes.<font size="+1"><br>
<br>
20 - </font>How do I add a new node to an offline cluster?<br>
<font size="+1"><br>
</font>You can either use the console or use o2cb_ctl or simply hand
edit cluster.conf. Then
either use the console to propagate it to all nodes or hand copy using
scp or any other tool.
The o2cb_ctl command to do the same is:
<pre>        # o2cb_ctl -C -n NODENAME -t node -a number=NODENUM -a ip_address=IPADDR -a ip_port=IPPORT -a cluster=CLUSTERNAME
</pre>
Notice the "-i" argument is not required as the cluster is not online.
<p><a name="O2CB"></a></p>
<br>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering


</pre>
<br>
<br>
Tim Lank wrote:
<blockquote
 cite="mid:3520.67.62.123.58.1191152599.squirrel@www.timlank.com"
 type="cite">
  <pre wrap="">We have a test 10gR2 RAC cluster using ocfs2 filesystems for the
Clusterware files and the Database files.

We need to increase the node slots to accomodate new RAC nodes.  Is it
true that we will need to umount these filesystems for the upgrade (i.e.
Database and Clusterware also)?

We are planning to use the following command format to perform the node
slot increase:

# tunefs.ocfs2 �N 3 /dev/mapper/mpath1p1

_______________________________________________
Ocfs2-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a>
  </pre>
</blockquote>
</body>
</html>