I looked around, found older post which seems not applicable anymore. I have a cluster of 2 nodes right now, which has 3 OCFS2 file systems. All the file systems were formatted with 4 node slots. I added the two news nodes (by hand, by ocfs2console and o2cb_ctl), so my /etc/ofcfs/cluster.conf looks right: node: ip_port = 7777 ip_address = 192.168.201.1 number = 0 name = dbcl1n1 cluster = dbcl1 node: ip_port = 7777 ip_address = 192.168.201.2 number = 1 name = dbcl1n2 cluster = dbcl1 node: ip_port = 7777 ip_address = 192.168.201.3 number = 2 name = dbcl1n3 cluster = dbcl1 node: ip_port = 7777 ip_address = 192.168.201.4 number = 3 name = dbcl1n4 cluster = dbcl1 cluster: node_count = 4 name = dbcl1 But is there a way to get node 0 and 1 to dynamically accept the addition of node 2 and 3? Everything I find seems to indicate I have to unmount, run /etc/init.d/ocfs2 stop, /etc/init.d/o2cb restart and then /etc/init.d/ocfs2 start. Is there no way of telling o2cb there are two new nodes? Like a /etc/init.d/o2cb reconfigure? --------------------------------------------------------------------- ATC-Onlane Inc., T: 650-532-6382, F: 650-532-6441 4600 Bohannon Drive, Suite 100, Menlo Park, CA 94025 ---------------------------------------------------------------------
FAQ has information on this. Ulf Zimmermann wrote:> I looked around, found older post which seems not applicable anymore. I > have a cluster of 2 nodes right now, which has 3 OCFS2 file systems. All > the file systems were formatted with 4 node slots. I added the two news > nodes (by hand, by ocfs2console and o2cb_ctl), so my > /etc/ofcfs/cluster.conf looks right: > > node: > ip_port = 7777 > ip_address = 192.168.201.1 > number = 0 > name = dbcl1n1 > cluster = dbcl1 > > node: > ip_port = 7777 > ip_address = 192.168.201.2 > number = 1 > name = dbcl1n2 > cluster = dbcl1 > > node: > ip_port = 7777 > ip_address = 192.168.201.3 > number = 2 > name = dbcl1n3 > cluster = dbcl1 > > node: > ip_port = 7777 > ip_address = 192.168.201.4 > number = 3 > name = dbcl1n4 > cluster = dbcl1 > > cluster: > node_count = 4 > name = dbcl1 > > But is there a way to get node 0 and 1 to dynamically accept the > addition of node 2 and 3? Everything I find seems to indicate I have to > unmount, run /etc/init.d/ocfs2 stop, /etc/init.d/o2cb restart and then > /etc/init.d/ocfs2 start. Is there no way of telling o2cb there are two > new nodes? Like a /etc/init.d/o2cb reconfigure? > > --------------------------------------------------------------------- > ATC-Onlane Inc., T: 650-532-6382, F: 650-532-6441 > 4600 Bohannon Drive, Suite 100, Menlo Park, CA 94025 > --------------------------------------------------------------------- > > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >
Do: o2cb_ctl -C -i -n dbcl1n5 -t node -a number=4 -a ip_address=192.168.201.5 -a ip_port=7777 -a cluster=dbcl1 on all nodes. It automaticaly updates cluster.conf e add on-the-fly the nodes. Check faq and make sure you understand all command line options. Rgds ./npf On Sunday 08 July 2007 04:18:51 Ulf Zimmermann wrote:> I looked around, found older post which seems not applicable anymore. I > have a cluster of 2 nodes right now, which has 3 OCFS2 file systems. All > the file systems were formatted with 4 node slots. I added the two news > nodes (by hand, by ocfs2console and o2cb_ctl), so my > /etc/ofcfs/cluster.conf looks right: > > node: > ip_port = 7777 > ip_address = 192.168.201.1 > number = 0 > name = dbcl1n1 > cluster = dbcl1 > > node: > ip_port = 7777 > ip_address = 192.168.201.2 > number = 1 > name = dbcl1n2 > cluster = dbcl1 > > node: > ip_port = 7777 > ip_address = 192.168.201.3 > number = 2 > name = dbcl1n3 > cluster = dbcl1 > > node: > ip_port = 7777 > ip_address = 192.168.201.4 > number = 3 > name = dbcl1n4 > cluster = dbcl1 > > cluster: > node_count = 4 > name = dbcl1 > > But is there a way to get node 0 and 1 to dynamically accept the > addition of node 2 and 3? Everything I find seems to indicate I have to > unmount, run /etc/init.d/ocfs2 stop, /etc/init.d/o2cb restart and then > /etc/init.d/ocfs2 start. Is there no way of telling o2cb there are two > new nodes? Like a /etc/init.d/o2cb reconfigure? > > --------------------------------------------------------------------- > ATC-Onlane Inc., T: 650-532-6382, F: 650-532-6441 > 4600 Bohannon Drive, Suite 100, Menlo Park, CA 94025 > --------------------------------------------------------------------- > > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users