Thread: [Queue-developers] Fwd: Queue Question
Brought to you by:
wkrebs
From: W. G. K. <wer...@ya...> - 2000-08-05 01:21:03
|
Yes, you posted a similar question to queue-developers; I'll answer your more extensive email here. GNU Queue transmits a number of environmental factors to the server. These include things such as current working directory and the environment variables. These are stored in the Job Control File, the format of which is described in the recently published Internet Draft white paper, http://www.ietf.org/internet-drafts/draft-krebs-gnuqueue-protocol-00.txt (see previous message). This describes 1.20.1, 1.12.9 is a bit dated at this point. The code for all of this is in queue.c and later read by handle.c, which writes this information to the file (or to a socket, really). Just look at the code, it is fairly well commented. It would be nice to know what sort of functionality you are adding to GNU Queue. This helps reduce duplication of effort if someone else is making similar changes. OpenSource works best if developers contribute their modifications to the general project. You can submit your modifications as patches to the Patch archive on SourceForge (or just post them here if they are small.) ----- Forwarded message from Monica Lau <ml...@al...> ----- Date: Thu, 3 Aug 2000 10:55:34 -0700 (PDT) From: Monica Lau <ml...@al...> Reply-To: Monica Lau <ml...@al...> Subject: Queue Question To: wer...@ya... Hi Mr. Krebs, I am working on a project that involves adding more functionality to the Queue software. I have an important problem that I'm stuck on, and I can't move forward with this project until I figure this out. I know that you're very busy, but I really hope that you can help me with this problem. I am currently using Queue 1.12.9, but my question is quite general. In a nutshell, this is what I'm asking: if I want to run queue on host "grape" with the environment of host "apple," is this possible? So, if I enter "queue -- pwd" on grape, the result should be the pwd of apple, not the pwd of grape. Or if I enter "queue -- ls" on grape, the result should be the directory listing of apple, not grape. Is this possible? How do I pass apple's environment to grape? The reason why I'm asking is because I have a central server that accepts connections from clients. So, if a client enters "queue -- pwd," this information would get to the central server. This central server would then fork off a child process to run queue with the environment of the client. What I have tried doing is sending the client's "arge" array to the central server via a socket, and then the server does an exeve("queue", ..., arge). Unfortunately, this does not work. So, I'm not sure how else to pass the client's environment to the server. I mean, when I specify that queue run as batch mode on host "orange," the queue daemon somehow knows about orange's environment. How does the queue daemon know about orange's environment? If I can figure out how the queue daemon knows about the client's environment, then I can hopefully move forward with my project. Thank you for your help. I truly appreciate it. Sincerely, Monica ----- End forwarded message ----- |
From: Lee B. <le...@se...> - 2000-08-05 02:38:09
|
On Fri, Aug 04, 2000 at 09:06:04PM -0400, W. G. Krebs wrote: > It would be nice to know what sort of functionality you are adding to GNU Queue. > This helps reduce duplication of effort if someone else is making similar > changes. OpenSource works best if developers contribute their modifications to > the general project. You can submit your modifications as patches to the Patch > archive on SourceForge (or just post them here if they are small.) Thanks for answering Monica's questions. She's trying to add support for tools that require software licenses (such as those managed by the flexlm license manager). We've talked about sending a description of her plans to you or the mailing list, but she hasn't had time to write anything yet. We'd like to make sure her modifications (or something similar) are acceptable to the queue community so that they will be included in future versions of the software. -- Lee Bradshaw le...@se... (preferred) Alantro Communications le...@al... |
From: W. G. K. <wer...@ya...> - 2000-08-05 14:48:51
|
My own personal take on this is that anything that makes Open Source software more useful (without creating legal headaches for the software) is a good thing. I'm in the Eric Raymond camp that believes commercial software will never totally go away for various economic reasons. Some influential members of the Open Source community automatically oppose anything that "would encourage the use of commercial software" on strong ideological grounds. They don't even want the names of commercial software products mention in program documentation (asside from the names of operating systems). So, I'm not supposed to mention the existance of "flexlm" in program documentation. So, I suppose if your modifications merely grudingly tolerate commercial software rather than encourage its proliferation, you're OK with everyone. :) Your modication might be aimed more at controlling the total number of copies that can run simultaneously in a cluster for organization global resource allocation purposes. (This has even been a requested feature; it has been suggested that there would be a central MySQL server that would keep track of statistics and resource usage on running jobs.) So, perhaps you might want to add hooks for a MySQL (or Perl DBI) based GNU "license manager" that would check with the central database and would limit global resource usage. This would make it more palatiable to some in the GNU community. Note that write access to the CVS repository is available for developers. Quoting Lee Bradshaw <le...@se...>: > On Fri, Aug 04, 2000 at 09:06:04PM -0400, W. G. Krebs wrote: > > It would be nice to know what sort of functionality you are adding to GNU > Queue. > > This helps reduce duplication of effort if someone else is making similar > > changes. OpenSource works best if developers contribute their modifications > to > > the general project. You can submit your modifications as patches to the > Patch > > archive on SourceForge (or just post them here if they are small.) > > Thanks for answering Monica's questions. She's trying to add support > for tools that require software licenses (such as those managed by the > flexlm license manager). We've talked about sending a description of > her plans to you or the mailing list, but she hasn't had time to write > anything yet. We'd like to make sure her modifications (or something > similar) are acceptable to the queue community so that they will be > included in future versions of the software. > > -- > Lee Bradshaw le...@se... (preferred) > Alantro Communications le...@al... > > _______________________________________________ > Queue-developers mailing list > Que...@li... > http://lists.sourceforge.net/mailman/listinfo/queue-developers > |