[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A proposal for a General Clustering Framework
Thanks for the PDFs! I hadn't gotten around to installing StarOffice on my
Debain box at home yet.
After having looked at the paper, I see the purpose of the previouse
xmlrpc/soap discussion. :-)
So, now that I know you are actually going to use XML as your interprocess
interchange format, I feel strongly that using the smallest subset of XML
that is compatible with XMLRPC would greatly benefit the overall project.
XMLRPC is a pretty simple representation, and it doesn't have all the
extra bells and whistles that SOAP has. But what it does have is language
bindings for just about every language out there.
http://xmlrpc-c.sourceforge.net/xmlrpc-howto/xmlrpc-howto.html
I see in the paper where you talk about the need for a way to configure
each module, and having standards for configuration. In XMLRPC there are
the beginnings of a standard for "introspection". In other words, a way
for an XMLRPC client to figure out which methods an XMLRPC server
supports. See http://xmlrpc.usefulinc.com/doc/reserved.html
So far from what I have seen, everybody that uses XML uses expat.
http://www.expat.org
It's not really that big:
xeon:/opt/ali-client/lib# ls -l *expat*
-rw-r--r-- 1 root root 318738 Jun 3 01:04 libexpat.a
-rwxr-xr-x 1 root root 653 Jun 3 01:04 libexpat.la
lrwxrwxrwx 1 root root 17 Jun 3 01:04 libexpat.so ->
libexpat.so.0.0.1
lrwxrwxrwx 1 root root 17 Jun 3 01:04 libexpat.so.0 ->
libexpat.so.0.0.1
-rwxr-xr-x 1 root root 270786 Jun 3 01:04 libexpat.so.0.0.1
But given the lightweight-edness of the XMLRPC spec (see below), it would
be relatively straightforward to write a lightweight/fast XML parser
specifically for doing XMLRPC. And I would rather see that happen than see
Yet Another XML Standard :-)
As for the XMLRPC spec, it is pretty simple. Here is an example procedure
call:
POST /RPC2 HTTP/1.0
User-Agent: Frontier/5.1.2 (WinNT)
Host: betty.userland.com
Content-Type: text/xml
Content-length: 181
<?xml version="1.0"?>
<methodCall>
<methodName>examples.getStateName</methodName>
<params>
<param>
<value><i4>41</i4></value>
</param>
</params>
</methodCall>
And here is the spec for xmlrpc: http://www.xmlrpc.com/spec
--
Michael Brown
On Mon, 4 Jun 2001, Alan Robertson wrote:
> Alan Robertson wrote:
> >
> > Hi,
> >
> > I've talked off-list to many of you about the prospects for creating a
> > general clustering framework - usable for many or all HA (and HPC) clusters.
> >
> > I'm currently in the process of writing a paper on these framework ideas.
> > If any of you are interested in providing me feedback on a VERY EARLY
> > version of the paper, you can find a copy of it in StarOffice format here:
> >
> > http://www.linux-ha.org/framework/HAFramework.sdw
>
> OK. At the request of a couple of folks, I've provided PS and PDF and HTML
> versions of the document in this same directory,
> http://www.linux-ha.org/framework/
>
> Let's continue this discussion on linux-cluster, and *not* on the other
> lists, to avoid giving everyone a multi-cross-post-headache.
>
> I'll be continuing my discussion and replies to mails about this proposal on
> that list - ONLY. Please subscribe if you haven't already done so. Here's
> what I did to subscribe. Majordomo-heads can shorten this or correct it no
> doubt, (I'm a mailman-user myself ;-)).
>
> Subject: subscribe linux-cluster
> To: majordomo@nl.linux.org
>
> subscribe linux-cluster
>
> If you can't get subscribed to this list somehow, then send mail directly to
> me.
>
>
> Thanks!
>
> -- Alan Robertson
> alanr@unix.sh
>
> ------------------------------------------------------------------------------
> Linux HA Web Site:
> http://linux-ha.org/
> Linux HA HOWTO:
> http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html
> ------------------------------------------------------------------------------
>
>
Linux-cluster: generic cluster infrastructure for Linux
Archive: http://mail.nl.linux.org/linux-cluster/