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

Re: [Linux-cluster] Starting with DLM



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.


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