IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 4, 2005, 5:35:47 PM (21 years ago)
Author:
eugene
Message:

substantial dev work on scheduler/pcontrol/pclient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/doc/pcontrol.txt

    r3335 r4450  
    8080can set the CheckTask function to this hook (& unset it).
    8181
    82 
    8382---
    8483
     
    116115 status -queues
    117116
     117pcontrol may be given a timeout for each job.  pcontrol will monitor a
     118job and kill/crash it if the timeout expires.  the timeout only
     119governs how long it is allowed to execute, not how long it can sit in
     120the queue.  (the scheduler / operator should decide if a job has been
     121on pcontrol for too long -- this probably means there are no
     122appropriate machines ).
     123
     124pcontrol currently does not distinguish between multiple instances of
     125a single host.  all have the same name.  if you want to bring down a
     126host, you need to issue N host -down commands.  perhaps this is
     127silly.  a simple alternative would be for the host [-on -off -start
     128-stop] commands to apply to all defined entries which match the
     129hostname.  In this case, a command like 'host foo -off' would find and
     130halt all connections to the machine 'foo', while 'host foo -on' would
     131restart them all (or rather, given the functionality of pcontrol,
     132would allow pcontrol to attempt to bring them on).
     133
     134It is not clear why a user should be able to execute 'start' (down ->
     135idle) or 'stop' (idle -> down).  The transition down -> idle is
     136automatically performed by pcontrol for any machines which are
     137currently down, while the transition idle -> down is immediately
     138followed by an attempt by pcontrol to move the host from down -> idle.
     139
     140does it makes sense to kill all jobs on a host?  this would only have
     141the effect of clearing the host for a moment until pcontrol decided to
     142start another job on that host.  the desired effect is gained putting
     143the host to 'off'.
    118144 
     145currently the command 'host (hostname)' puts the host in 'down'
     146state.  pcontrol then immediately tries to connect to the host, moving
     147it to 'idle' state (and then 'busy' if any jobs are available).  it
     148might be useful to be able to add a host in 'off' state as a starting
     149point. 
     150
     151it is not obvious that the user should be able to run 'CheckHost',
     152unless this gets expanded to return state information on the host.
     153
    119154---
    120155
     
    137172PENDING -> BUSY    : StartJob
    138173PENDING -> DEL     : DelJob
    139 BUSY    -> EXIT    : CheckJob
    140 BUSY    -> CRASH   : CheckJob | KillJob
     174BUSY    -> DONE    : CheckBusyJob | KillJob
     175DONE    -> EXIT    : CheckDoneJob
     176DONE    -> CRASH   : CheckDoneJob
    141177BUSY    -> PENDING : CheckJob | CheckHost
    142178EXIT    -> DEL     : DelJob
Note: See TracChangeset for help on using the changeset viewer.