I have been thinking again. Am I right in saying that an Xgrid
Cluster could only be harmed through the use of a Shell Script? So
things like Distributed Builds in Xcode couldnt be harmful to the
Client Computer running the job?
QLE Internet Services.
The Open Cluster Project.
NetReal Network Integrated Services.
On 13 Apr 2006, at 18:28, James Reynolds wrote:
Cool. I just learned PHP.
Xgrid jobs can be submitted several ways. One is the Batch/XML
format way. The xgrid man page shows the syntax:
So, what you do, is you write a webpage that collects the necessary
parameters need to run a job:
- the job name
- the command to run (and have the ability to upload files if needed)
Then store this in mysql, then notify the admin. The admin would
check out the stuff submitted (mainly the command specified, and
the file uploaded) and then approve it. When it is approved, then
make an xml file and send that to the xgrid command.
Now that I think of it, my perl xml stuff is totally overkill. It
can be done much easier. Anyway, the way to do it in php is to
create some function that converts a named array (hash, dictionary,
whatever) into a plist (which is xml formatted). It would be a
piece of cake, and I wouldn't mind writing that part.
The xml file, and sending it to the xgrid command are the most
trivial pieces IMO. In other words, the actual Xgrid portions are
trivial. Perhaps I'm just speaking for myself. Anyway, I would be
more than happy to help with those portions. The rest is where my
eyes glaze over...
I am currently a PHP guy, so would favor using that. Should be ok
because PHP has easy access to Shell.
I dont think that those articles will really help me, so am going to
look into writing an XML parser or try to find one already made.
I am not entirely sure what you mean by Batch/XML Format. Could you
explain what this is?
Do not post admin requests to the list. They will be ignored.
Xgrid-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden