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