Re: [CentOS] Consecutive Jobs

2010-04-08 Thread Bowie Bailey
Joseph L. Casale wrote: >> This isn't a complete answer, but a possible approach: I'd use a named pipe >> on the destination host. Here's a little experiment to demonstrate. >> >> [u...@dhost temp]$ mkfifo pipe >> [u...@dhost temp]$ while true ; do ` < pipe` ; done >> >> Now, in another xterm: >> >

Re: [CentOS] Consecutive Jobs

2010-04-08 Thread Joseph L. Casale
>This isn't a complete answer, but a possible approach: I'd use a named pipe >on the destination host. Here's a little experiment to demonstrate. > >[u...@dhost temp]$ mkfifo pipe >[u...@dhost temp]$ while true ; do ` < pipe` ; done > >Now, in another xterm: > >[u...@dhost temp]$ echo date > pipe >

Re: [CentOS] Consecutive Jobs

2010-04-08 Thread JohnS
On Thu, 2010-04-08 at 07:34 -0500, Les Mikesell wrote: > A very long time ago I did some generic job queueing stuff by hooking scripts > into the unix lpr print spooler which had the advantage that they could be > submitted from windows boxes through samba by going through the motions of > pri

Re: [CentOS] Consecutive Jobs

2010-04-08 Thread Les Mikesell
JohnS wrote: > On Wed, 2010-04-07 at 07:33 -0500, Les Mikesell wrote: >> Joseph L. Casale wrote: Are you looking for a real job scheduler? If so, it might be overkill, but you might want to look into software like Sun Grid Engine, Torque, or Condor (there are quite a few other sched

Re: [CentOS] Consecutive Jobs

2010-04-08 Thread JohnS
On Wed, 2010-04-07 at 07:33 -0500, Les Mikesell wrote: > Joseph L. Casale wrote: > >> Are you looking for a real job scheduler? If so, it might be overkill, > >> but you might want to look into software like Sun Grid Engine, Torque, > >> or Condor (there are quite a few other schedulers out there

Re: [CentOS] Consecutive Jobs

2010-04-08 Thread Les Bell
"Joseph L. Casale" wrote: >> It really is as simple as I wrote out earlier, multiple servers ssh a background job at nearly the same time consisting of an rsync command. The destination host for this target gets overwhelmed with more than one at a time... << This isn't a complete answer, but a

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Joseph L. Casale
>cssh (ClusterSSH) anybody? Nope, this is for the exact opposite scenario. I am not replicating the same command to many, I am job queuing multiple different commands. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/cen

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Bob Taylor
please take this email address off your mail list. Bob has died so he will no longer use this sitethank you ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Rajagopal Swaminathan
Greetings, On Thu, Apr 8, 2010 at 12:38 AM, Joseph L. Casale wrote: cssh (ClusterSSH) anybody? Regards, Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Joseph L. Casale
>This could be of some help: >http://www.theillien.com/Sys_Admin_v12/html/v14/i08/a8.htm Chris, After looking everything over, I'd love to use a high power scheduler for this but it's such overkill. The fifo idea fits perfectly, and it seems this script has done the heavy lifting already. Thank

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread m . roth
jlc wrote: > John wrote: >>If you could explain a bit more in detail it would be a lot clearer on >>what you really want. The drawback is if you cron job it on every node >>you must have a precise time server for ntp on the local subnet or your >>effectively PPPing in the wind. > > They all mirror

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Les Mikesell
Joseph L. Casale wrote: >> Are you looking for a real job scheduler? If so, it might be overkill, >> but you might want to look into software like Sun Grid Engine, Torque, >> or Condor (there are quite a few other schedulers out there). If those >> aren't what you're hoping for, perhaps you could

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Mihai T. Lazarescu
On Wed, Apr 07, 2010 at 11:47:10AM +, Joseph L. Casale wrote: > >If you could explain a bit more in detail it would be a lot clearer on > >what you really want. The drawback is if you cron job it on every node > >you must have a precise time server for ntp on the local subnet or your > >effec

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Joseph L. Casale
>If you could explain a bit more in detail it would be a lot clearer on >what you really want. The drawback is if you cron job it on every node >you must have a precise time server for ntp on the local subnet or your >effectively PPPing in the wind. John, They all mirror to this one file server b

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Christoph Neuhaus
> Anyone know how to submit jobs to at or anything else that allows jobs > submitted to a queue to be executed consecutively? This could be of some help: http://www.theillien.com/Sys_Admin_v12/html/v14/i08/a8.htm Chris ___ CentOS mailing list CentOS@c

Re: [CentOS] Consecutive Jobs

2010-04-07 Thread Mihai T. Lazarescu
On Wed, Apr 07, 2010 at 03:57:14AM +, Joseph L. Casale wrote: > Anyone know how to submit jobs to at or anything else that allows jobs > submitted to a queue to be executed consecutively? > > I have a series of servers that submits a job via an ssh background > job but I can only have one exe

Re: [CentOS] Consecutive Jobs

2010-04-06 Thread JohnS
On Wed, 2010-04-07 at 05:17 +, Joseph L. Casale wrote: > >Are you looking for a real job scheduler? If so, it might be overkill, > >but you might want to look into software like Sun Grid Engine, Torque, > >or Condor (there are quite a few other schedulers out there). If those > >aren't what

Re: [CentOS] Consecutive Jobs

2010-04-06 Thread Joseph L. Casale
>Are you looking for a real job scheduler? If so, it might be overkill, >but you might want to look into software like Sun Grid Engine, Torque, >or Condor (there are quite a few other schedulers out there). If those >aren't what you're hoping for, perhaps you could give more details about >what y

Re: [CentOS] Consecutive Jobs

2010-04-06 Thread Keith Keller
On Wed, Apr 07, 2010 at 03:57:14AM +, Joseph L. Casale wrote: > Anyone know how to submit jobs to at or anything else that allows jobs > submitted to a queue to be executed consecutively? > > I have a series of servers that submits a job via an ssh background > job but I can only have one exec

[CentOS] Consecutive Jobs

2010-04-06 Thread Joseph L. Casale
Anyone know how to submit jobs to at or anything else that allows jobs submitted to a queue to be executed consecutively? I have a series of servers that submits a job via an ssh background job but I can only have one execute at any given time. Possibly some clever bash work? Thanks! jlc ___