I actually did the below command (for node 2 and 3), it added it to the /etc/ocfs2/cluster.conf but as far I could tell, it didn't allow me to actually mount then on node 2 or 3. But as I had to do some other work (resize another volume) I ended up rebooting and got them added that way.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:ocfs2-users- > [EMAIL PROTECTED] On Behalf Of Nuno Fernandes > Sent: Monday, July 09, 2007 02:58 > To: [email protected] > Subject: Re: [Ocfs2-users] Adding new nodes to OCFS2? > > 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 > > [email protected] > > http://oss.oracle.com/mailman/listinfo/ocfs2-users > > _______________________________________________ > 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
