Hi everyone. Does anyone know why the user-space heartbeat (linux-ha) patches from SuSE / Novell are not commited to the mainline ocfs2 source tree? Or are they? Is there an easy way (which does not break the distros package management) to apply these? Thanks, Christian
The patches have been reworked inorder for ocfs2 to work with any userspace cluster stack (and not just hb). These will be checked in, if not during 2.6.25, then during 2.6.26. Christian Lox wrote:> Hi everyone. > > Does anyone know why the user-space heartbeat (linux-ha) patches from > SuSE / Novell are not commited to the mainline ocfs2 source tree? Or > are they? > > Is there an easy way (which does not break the distros package > management) to apply these? > > > Thanks, > Christian > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users
I have an application I run on the nodes of a cluster. This application used the dlm for file locking between the nodes by calling o2dlm_initialize() to create a domain, and then o2dlm_lock() and o2dlm_unlock() to lock/unlock files. This works fine, and the locks are seen by the other nodes. I was wondering on the viability of two clusters accessing the same volume, and seeing each others locks. Say I have two (2 node) clusters, A and B. Each cluster is on a private network within itself, and they are identical. This means each cluster will have a system host1 on 10.1.1.1 and a system host2 on 10.1.1.2 . 1. first of all, would this configuration even work ? If not, would it work if the clusters had different cluster names, host names, ip addresses ? 2. can a node on cluster A see a dlm lock from cluster B ? note there is no IP connection between the clusters. 3. is there any way to make one cluster aware of a different cluster that is ip connected (one with a different cluster name, host names, ip addresses, same/different dlm domain names) ? Thank you, charlie
On Sat, Jan 05, 2008 at 07:52:46PM +0100, Christian Lox wrote:> Does anyone know why the user-space heartbeat (linux-ha) patches from SuSE > / Novell are not commited to the mainline ocfs2 source tree? Or are they? > > Is there an easy way (which does not break the distros package management) > to apply these?We looked at those patches and determined they weren't a flexible way to go forward. We've worked on it, and we think we have a scheme that will work for all userspace stacks. You can see the design documents at http://oss.oracle.com/osswiki/OCFS2/DesignDocs/UserspaceClustering. The attempt to use the SuSE patches with mainline is documented at http://oss.oracle.com/osswiki/OCFS2/CManUnderO2CB. The new scheme won't make mainline for a little while - we have some details to work out and some testing to do. You're welcome to try it from our GIT trees before then, of course. Regarding distro packages, the new scheme won't be in a distro package any time soon. Unfortunately, you cannot apply patches on top of a binary distro package (which is what I think you were asking). Joel -- Life's Little Instruction Book #314 "Never underestimate the power of forgiveness." Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127