All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] Magma; Magma-plugins
@ 2006-08-10 20:04 Zelikov_Mikhail
  2006-08-10 20:07 ` David Teigland
  2006-08-10 20:28 ` Lon Hohberger
  0 siblings, 2 replies; 10+ messages in thread
From: Zelikov_Mikhail @ 2006-08-10 20:04 UTC (permalink / raw)
  To: cluster-devel.redhat.com

I was looking for any documentation on Magma API or any Red Hat cluster
suite API. So far I was only able to find a man page on clu_connect,
clu_disconnect and clu_get_event. However there many more defined in magma.h
and magma-build.h. It also looks like there is a draft version of Magma man
page at the end of magma.h. 
I am interested in writing a cluster aware application as well as defining
my own cluster resource.
Any help would be really appreciated.
     Thank you,
     Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060810/18cc9490/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Blank Bkgrd.gif
Type: image/gif
Size: 145 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060810/18cc9490/attachment.gif>

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Cluster-devel] Magma; Magma-plugins
@ 2006-08-10 20:19 Zelikov_Mikhail
  2006-08-10 20:29 ` Lon Hohberger
  2006-08-10 20:30 ` David Teigland
  0 siblings, 2 replies; 10+ messages in thread
From: Zelikov_Mikhail @ 2006-08-10 20:19 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Dave, thank you for the reply.
Magma is used in the latest release of CS and GFS. I was wondering if I use
this (openais) API will it work within the currently existing cluster
infrastructure on RHEL4.3? Or is it the future supported API?
	Mike

-----Original Message-----
From: David Teigland [mailto:teigland at redhat.com] 
Sent: Thursday, August 10, 2006 4:08 PM
To: Zelikov, Mikhail
Cc: linux-cluster at redhat.com; cluster-devel at redhat.com
Subject: Re: [Cluster-devel] Magma; Magma-plugins

On Thu, Aug 10, 2006 at 04:04:11PM -0400, Zelikov_Mikhail at emc.com wrote:
> I was looking for any documentation on Magma API or any Red Hat 
> cluster suite API.

Magma was only a temporary lib used in RHEL4, we're not using it any longer.
You should look at libcman or any of the other libraries available in
openais, http://developer.osdl.org/dev/openais/

Dave



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Cluster-devel] Magma; Magma-plugins
@ 2006-08-10 20:40 Zelikov_Mikhail
  2006-08-10 20:51 ` David Teigland
  0 siblings, 1 reply; 10+ messages in thread
From: Zelikov_Mikhail @ 2006-08-10 20:40 UTC (permalink / raw)
  To: cluster-devel.redhat.com

I can see that I have libcman and libdlm installed as the part of cman and
dlm packages. I looked at the cluster, dlm and cman project home pages - the
APIs are mentioned but there is no documentation I could find. Am I looking
at the wrong place?
	Mike

-----Original Message-----
From: Lon Hohberger [mailto:lhh at redhat.com] 
Sent: Thursday, August 10, 2006 4:30 PM
To: Zelikov, Mikhail
Cc: teigland at redhat.com; cluster-devel at redhat.com; linux-cluster at redhat.com
Subject: RE: [Cluster-devel] Magma; Magma-plugins

On Thu, 2006-08-10 at 16:19 -0400, Zelikov_Mikhail at emc.com wrote:
> Dave, thank you for the reply.
> Magma is used in the latest release of CS and GFS. I was wondering if 
> I use this (openais) API will it work within the currently existing 
> cluster infrastructure on RHEL4.3? Or is it the future supported API?
> 	Mike

It will work on RHEL4, but it will not work on RHEL5, FC5/6 or any future
release.  

The CMAN and DLM APIs work on all of the above.

-- Lon



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Cluster-devel] Magma; Magma-plugins
@ 2006-08-16 21:19 Zelikov_Mikhail
  0 siblings, 0 replies; 10+ messages in thread
From: Zelikov_Mikhail @ 2006-08-16 21:19 UTC (permalink / raw)
  To: cluster-devel.redhat.com

I can't seem to find a way to get a cluster node state information. In magma
API there are UP/DOWN/REMOVED states but in CMAN API I can only query
membership info and compare with the old one. Am I missing something?

Also I was wondering on the notification - it looks like I get a separate
event for each new node added and a single for many removed. How about
Up/DOWN information?

	Mike 

-----Original Message-----
From: David Teigland [mailto:teigland at redhat.com] 
Sent: Thursday, August 10, 2006 4:52 PM
To: Zelikov, Mikhail
Cc: lhh at redhat.com; cluster-devel at redhat.com; linux-cluster at redhat.com
Subject: Re: [Cluster-devel] Magma; Magma-plugins

On Thu, Aug 10, 2006 at 04:40:10PM -0400, Zelikov_Mikhail at emc.com wrote:
> I can see that I have libcman and libdlm installed as the part of cman 
> and dlm packages. I looked at the cluster, dlm and cman project home 
> pages - the APIs are mentioned but there is no documentation I could 
> find. Am I looking at the wrong place?

Download the source code from the "cluster" cvs tree.  The API's in the
RHEL4 cvs branch will be slightly different that those in the cvs HEAD (for
RHEL5).  Look at

cluster/cman/lib/libcman.h
cluster/dlm/lib/libdlm.h
cluster/dlm/doc/*



> -----Original Message-----
> From: Lon Hohberger [mailto:lhh at redhat.com]
> Sent: Thursday, August 10, 2006 4:30 PM
> To: Zelikov, Mikhail
> Cc: teigland at redhat.com; cluster-devel at redhat.com; 
> linux-cluster at redhat.com
> Subject: RE: [Cluster-devel] Magma; Magma-plugins
> 
> On Thu, 2006-08-10 at 16:19 -0400, Zelikov_Mikhail at emc.com wrote:
> > Dave, thank you for the reply.
> > Magma is used in the latest release of CS and GFS. I was wondering 
> > if I use this (openais) API will it work within the currently 
> > existing cluster infrastructure on RHEL4.3? Or is it the future
supported API?
> > 	Mike
> 
> It will work on RHEL4, but it will not work on RHEL5, FC5/6 or any 
> future release.
> 
> The CMAN and DLM APIs work on all of the above.
> 
> -- Lon



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-08-16 21:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10 20:04 [Cluster-devel] Magma; Magma-plugins Zelikov_Mikhail
2006-08-10 20:07 ` David Teigland
2006-08-10 20:28 ` Lon Hohberger
  -- strict thread matches above, loose matches on Subject: below --
2006-08-10 20:19 Zelikov_Mikhail
2006-08-10 20:29 ` Lon Hohberger
2006-08-10 20:30 ` David Teigland
2006-08-10 20:40 Zelikov_Mikhail
2006-08-10 20:51 ` David Teigland
2006-08-10 20:57   ` Zelikov_Mikhail
2006-08-16 21:19 Zelikov_Mikhail

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.