Many thanks for your help Sunil. One more question my final intention is to do 
it in a silent mode. Can the ocfs2console step be replaced with a sequence of 
commands?

I mean, my final goal is add a node to an existing Oracle RAC automatically. Do 
you think that it is possible from the ocfs perspective?

Best regards,


Llorenç Vanaclocha 


-----Mensaje original-----
De: Sunil Mushran [mailto:[EMAIL PROTECTED] 
Enviado el: sábado, 11 de marzo de 2006 0:29
Para: Vanaclocha Llorens, Jose Lorenzo
CC: [email protected]
Asunto: Re: [Ocfs2-users] Add a new node to ocfs cluster

One can add nodes dynamically. Run ocfs2console on
all existing nodes to add the new node. Note adding on
one and propagating to others will not work. One needs
to add on each active node via ocfs2console.

Once added, the new node should show up in
/config/cluster/<clustername>/nodes. Ensure you see the
new node on all active nodes.

Then copy the updated cluster.conf to the new node and
start the cluster and mount.

Vanaclocha Llorens, Jose Lorenzo wrote:
>
> 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:
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED] ~]# 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:
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED] ~]# 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:
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED] ~]# 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:
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED] ~]# /etc/init.d/o2cb disable
>
> Writing O2CB configuration: OK
>
> [EMAIL PROTECTED] ~]# /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:
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [EMAIL PROTECTED] ~]# 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ç
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> [email protected]
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>   

_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to