[Ocfs2-users] removing old nodes manually

Jim Okken jim at jokken.com
Thu Nov 30 12:43:24 PST 2017


hi list,

I am using ocfs2 on Ubuntu 16.04.3 Linux servers. The ocfs2 packages
provided by apt-get includes the "o2cb_ctl" and "ocfs2console" utilities.

my Ubuntu servers do not have a GUI so I can't use the graphical "ocfs2console"
utility.

I can use the "o2cb_ctl" -C option to add nodes to the cluster config.

       -C     Create an object in the OCFS2 Cluster Configuration.

But it seems the "o2cb_ctl" -D option, to remove a node, is not implemented
in this version of the tool

       -D     Delete an object from the existing OCFS2 Cluster
Configuration.

root at node-9:~# o2cb_ctl -D -n node-6 -u
o2cb_ctl: Not yet supported

But I need to remove a number of old nodes that no longer exist. I was just
leaving the old nodes in there and adding in new nodes, but now I need to
add a node which has the same ip address as one of the old nodes.... so, I
need to delete that old node.


it seems to me there would be a manual way to do this. change the
cluster.conf file and apply the changes on the fly. I need to keep the
ocfs2 filesystem up while removing old nodes on a number of servers.

can anyone tell me the manual steps to do this on each of my servers?



The rest of my environment needs to run on Ubuntu 16, otherwise I would try
ocfs2 on a different OS.

I see there is a newer tool, named O2CB (NewO2CBTool), which may help me
out, but is there source code for it? and will it compile on Ubuntu 16.04.3?


thanks!

-- Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20171130/9ad4e848/attachment.html 


More information about the Ocfs2-users mailing list