Re: Starting with DLM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 05, 2007 at 09:37:12PM +0200, Christos Triantafillou wrote:
> Hello,
> 
> What are the necessary steps to configure DLM on RHEL4 and use it from an 
> application?

(a) set up a cluster the normal way
(b) write code

You'll have to create/open a lockspace first (APIs are provided to do
that).

Here's some example code with synchronous wrappers around the DLM APIs:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/clulib/lock.c?rev=1.3.4.1&content-type=text/x-cvsweb-markup&cvsroot=cluster

And the original DLM test code:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/dlm/tests/usertest/?cvsroot=cluster

-- Lon

-- 
Lon Hohberger - Software Engineer - Red Hat, Inc.

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux