Revision 89907375 doc/admin.rst
b/doc/admin.rst | ||
---|---|---|
1344 | 1344 |
There are two queues for jobs: the *current* and the *archive* |
1345 | 1345 |
queue. Jobs are initially submitted to the current queue, and they stay |
1346 | 1346 |
in that queue until they have finished execution (either successfully or |
1347 |
not). At that point, they can be moved into the archive queue, and the |
|
1348 |
ganeti-watcher script will do this automatically after 6 hours. The |
|
1349 |
ganeti-cleaner script will remove the jobs from the archive directory |
|
1347 |
not). At that point, they can be moved into the archive queue using e.g. |
|
1348 |
``gnt-job autoarchive all``. The ``ganeti-watcher`` script will do this |
|
1349 |
automatically 6 hours after a job is finished. The ``ganeti-cleaner`` |
|
1350 |
script will then remove archived the jobs from the archive directory |
|
1350 | 1351 |
after three weeks. |
1351 | 1352 |
|
1352 |
Note that only jobs in the current queue can be viewed via the list and |
|
1353 |
info commands; Ganeti itself doesn't examine the archive directory. If |
|
1354 |
you need to see an older job, either move the file manually in the |
|
1355 |
top-level queue directory, or look at its contents (it's a |
|
1356 |
JSON-formatted file). |
|
1353 |
Note that ``gnt-job list`` only shows jobs in the current queue. |
|
1354 |
Archived jobs can be viewed using ``gnt-job info <id>``. |
|
1357 | 1355 |
|
1358 | 1356 |
Special Ganeti deployments |
1359 | 1357 |
-------------------------- |
Also available in: Unified diff