[Ocfs2-users] Add a new node to ocfs cluster
Vanaclocha Llorens, Jose Lorenzo
lvanaclocha at gasnatural.com
Fri Mar 10 06:00:10 CST 2006
Hi everybody,
My problem is that I want to add a new node to an existing RAC with ocfs2, without stop the database.
If I add a new node to an existing ocfs cluster, do I need to stop the ocfs in the others nodes of the cluster?
I've tried to do it without stop the ocfs in the others nodes but I get the following error:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root at raclab3 ~]# mount.ocfs2 /dev/mapper/eva_d1 /u01/app/oracle
mount.ocfs2: Transport endpoint is not connected while mounting /dev/mapper/eva_d1 on /u01/app/oracle
------------------------------------------------------------------------------------------------------------------------------------------------------------------
I've three nodes: raclab3, raclab4 and raclab5. I'm trying to add raclab3 to the existing cluster formed by raclab4 and raclab5.
In the raclab3 I have the following folder:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root at raclab3 ~]# ls -l /config/cluster/ocfs2/node/
total 0
drwxr-xr-x 2 root root 0 Mar 10 11:53 raclab3
drwxr-xr-x 2 root root 0 Mar 10 11:47 raclab4
drwxr-xr-x 2 root root 0 Mar 10 11:47 raclab5
------------------------------------------------------------------------------------------------------------------------------------------------------------------
But in the raclab4 and raclab5 I have:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root at raclab5 ~]# ls -l /config/cluster/ocfs2/node/
total 0
drwxr-xr-x 2 root root 0 Mar 10 12:47 raclab4
drwxr-xr-x 2 root root 0 Mar 10 12:47 raclab5
------------------------------------------------------------------------------------------------------------------------------------------------------------------
If I execute in both nodes:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root at raclab5 ~]# /etc/init.d/o2cb disable
Writing O2CB configuration: OK
[root at raclab5 ~]# /etc/init.d/o2cb enable
Writing O2CB configuration: OK
Loading module "configfs": OK
Mounting configfs filesystem at /config: OK
Loading module "ocfs2_nodemanager": OK
Loading module "ocfs2_dlm": OK
Loading module "ocfs2_dlmfs": OK
Mounting ocfs2_dlmfs filesystem at /dlm: OK
Starting cluster ocfs2: OK
------------------------------------------------------------------------------------------------------------------------------------------------------------------
I get information of raclab3:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[root at raclab5 ~]# ls -l /config/cluster/ocfs2/node/
total 0
drwxr-xr-x 2 root root 0 Mar 10 12:51 raclab3
drwxr-xr-x 2 root root 0 Mar 10 12:51 raclab4
drwxr-xr-x 2 root root 0 Mar 10 12:51 raclab5
------------------------------------------------------------------------------------------------------------------------------------------------------------------
And finally I can mount my file system in the raclab3 node.
Summarizing, is it possible to add a new node without stop the ocfs in all the cluster nodes?
Any help or comment will be welcome.
Best regards,
Llorenç
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20060310/6bf65e67/attachment.html
More information about the Ocfs2-users
mailing list