Re: [Pacemaker] Newcomer's question - API?

2011-11-07 Thread Lars Ellenberg
On Tue, Nov 01, 2011 at 04:52:42PM -, Tim Ward wrote: > > You can try tooking at LCMC as that is a Java-based GUI that > > should at least get you going. > > I did find some Java code but we can't use it because it's GPL, and I > didn't want to study it in case I accidentally copied some of i

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 10:05 PM, Tim Ward wrote: >> From: Andrew Beekhof [mailto:and...@beekhof.net] >> >> For a Java based GUI, you could poke around at >> http://hg.clusterlabs.org/pacemaker/gui which I apparently >> forgot to add a license to :-) Its not been updated for many >> moons and so ma

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Tim Ward
> From: Andrew Beekhof [mailto:and...@beekhof.net] > > For a Java based GUI, you could poke around at > http://hg.clusterlabs.org/pacemaker/gui which I apparently > forgot to add a license to :-) Its not been updated for many > moons and so may or may not work anymore, but it did at one > poin

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 2:33 PM, Tim Serong wrote: > On 11/02/2011 08:34 AM, Florian Haas wrote: >> >> On 2011-11-01 21:30, Andrew Beekhof wrote: >>> >>> On Wed, Nov 2, 2011 at 7:04 AM, Florian Haas  wrote: On 2011-11-01 17:52, Tim Ward wrote: >> >> You can try tooking at LCMC as

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 8:22 PM, Tim Ward wrote: > Thanks all for the help so far. > >> One wonders why you want to write something from scratch in Java, > though. > > Well, we don't, of course. The ideal would be to use an existing, > documented, non-GPL, interface library. LGPL? What license wo

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 8:34 AM, Florian Haas wrote: > On 2011-11-01 21:30, Andrew Beekhof wrote: >> On Wed, Nov 2, 2011 at 7:04 AM, Florian Haas wrote: >>> On 2011-11-01 17:52, Tim Ward wrote: > You can try tooking at LCMC as that is a Java-based GUI that > should at least get you going.

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Tim Ward
Thanks all for the help so far. > One wonders why you want to write something from scratch in Java, though. Well, we don't, of course. The ideal would be to use an existing, documented, non-GPL, interface library. As we have not yet identified any such thing we have been considering other options

Re: [Pacemaker] Newcomer's question - API?

2011-11-02 Thread Rasto Levrinc
On Tue, Nov 1, 2011 at 12:29 PM, Tim Ward wrote: > I have found documentation on how to drive Pacemaker from the command > line, but nothing about how to drive it from code, specifically Java. > > Clearly there must be some such mechanism, as I see mention of GUI > managers which do just that. As

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Tim Serong
On 11/02/2011 08:34 AM, Florian Haas wrote: On 2011-11-01 21:30, Andrew Beekhof wrote: On Wed, Nov 2, 2011 at 7:04 AM, Florian Haas wrote: On 2011-11-01 17:52, Tim Ward wrote: You can try tooking at LCMC as that is a Java-based GUI that should at least get you going. I did find some Java co

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Florian Haas
On 2011-11-01 21:30, Andrew Beekhof wrote: > On Wed, Nov 2, 2011 at 7:04 AM, Florian Haas wrote: >> On 2011-11-01 17:52, Tim Ward wrote: You can try tooking at LCMC as that is a Java-based GUI that should at least get you going. >>> >>> I did find some Java code but we can't use it becau

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Andrew Beekhof
On Wed, Nov 2, 2011 at 7:04 AM, Florian Haas wrote: > On 2011-11-01 17:52, Tim Ward wrote: >>> You can try tooking at LCMC as that is a Java-based GUI that >>> should at least get you going. >> >> I did find some Java code but we can't use it because it's GPL, and I >> didn't want to study it in c

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Florian Haas
On 2011-11-01 17:52, Tim Ward wrote: >> You can try tooking at LCMC as that is a Java-based GUI that >> should at least get you going. > > I did find some Java code but we can't use it because it's GPL, and I > didn't want to study it in case I accidentally copied some of it in > recreating it.

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Tim Ward
have the experience (and bandwidth) to take > on the SWIG task? What is SWIG? Tim Ward Brett Ward Limited - www.brettward.co.uk > -Original Message- > From: Florian Haas [mailto:flor...@hastexo.com] > Sent: 01 November 2011 15:34 > To: The Pacemaker cluster resource manage

Re: [Pacemaker] Newcomer's question - API?

2011-11-01 Thread Florian Haas
On 2011-11-01 12:29, Tim Ward wrote: > I have found documentation on how to drive Pacemaker from the command > line, but nothing about how to drive it from code, specifically Java. > > Clearly there must be some such mechanism, as I see mention of GUI > managers which do just that. Believe it or

[Pacemaker] Newcomer's question - API?

2011-11-01 Thread Tim Ward
I have found documentation on how to drive Pacemaker from the command line, but nothing about how to drive it from code, specifically Java. Clearly there must be some such mechanism, as I see mention of GUI managers which do just that. So where should I be looking for the API documentation please