Vineeth Thampi
2012-Oct-02 17:03 UTC
[Ocfs2-users] o2cb_ctl -C -i does not update conf files across cluster nodes
Hi All, Just started playing around with the ocfs FS, it works great :) I got blocked with one issue though. I have set up where in I have two Xenservers running 3.3.0.xs1.5.50.51.28, configured ocfs on both with /etc/ocfs2/cluster.conf as follows: node: ip_port = 7777 ip_address = 10.81.32.11 number = 11 name = node11 cluster = ocfs2 node: ip_port = 7777 ip_address = 10.81.32.12 number = 12 name = node12 cluster = ocfs2 cluster: node_count = 2 name = ocfs2 When I add one more node with "o2cb_ctl -C -n node13 -t node -a cluster=ocfs2 -a ip_address=10.81.32.13 -a ip_port=7777 -a number=13" from NODE node11, I could see the change in cluster.conf in NODE node11, but not in node12. Is there a setting that I need to enable to propagate node addition info to all nodes in the cluster. Thanks in advance, Vineeth -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20121002/b9746dc0/attachment.html
srinivas eeda
2012-Oct-02 17:23 UTC
[Ocfs2-users] o2cb_ctl -C -i does not update conf files across cluster nodes
On 10/2/2012 10:03 AM, Vineeth Thampi wrote:> Hi All, > > Just started playing around with the ocfs FS, it works great :) > > I got blocked with one issue though. I have set up where in I have two > Xenservers running 3.3.0.xs1.5.50.51.28, configured ocfs on both with > /etc/ocfs2/cluster.conf as follows: > > node: > ip_port = 7777 > ip_address = 10.81.32.11 > number = 11 > name = node11 > cluster = ocfs2 > > node: > ip_port = 7777 > ip_address = 10.81.32.12 > number = 12 > name = node12 > cluster = ocfs2 > > cluster: > node_count = 2 > name = ocfs2 > > When I add one more node with "o2cb_ctl -C -n node13 -t node -a > cluster=ocfs2 -a ip_address=10.81.32.13 -a ip_port=7777 -a number=13" > from NODE node11, I could see the change in cluster.conf in NODE > node11, but not in node12. > > Is there a setting that I need to enable to propagate node addition > info to all nodes in the cluster.Above command adds entries to cluster.conf on the node you ran it from. You have to run this on all other nodes or copy modified cluster.conf to other nodes. After the changes, you will have to restart o2cb cluster stack on all nodes since you are adding new node as offline.> > Thanks in advance, > > Vineeth > > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20121002/704b24c6/attachment.html
Lars Marowsky-Bree
2012-Oct-03 10:30 UTC
[Ocfs2-users] o2cb_ctl -C -i does not update conf files across cluster nodes
On 2012-10-02T18:03:30, Vineeth Thampi <vineeth.thampi at gmail.com> wrote:> When I add one more node with "o2cb_ctl -C -n node13 -t node -a > cluster=ocfs2 -a ip_address=10.81.32.13 -a ip_port=7777 -a number=13" from > NODE node11, I could see the change in cluster.conf in NODE node11, but not > in node12. > > Is there a setting that I need to enable to propagate node addition info to > all nodes in the cluster.This happens automatically when you use a pacemaker/corosync-integrated cluster, since then the cluster details are not configured in cluster.conf but derived automatically from the rest of the stack. For o2cb, I think csync2 might be a friend for you. Regards, Lars -- Architect Storage/HA SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend?rffer, HRB 21284 (AG N?rnberg) "Experience is the name everyone gives to their mistakes." -- Oscar Wilde