1GLITE-LB-BKPURGE-OFFLINE(1)Logging & Bookkeeping UtilGsLITE-LB-BKPURGE-OFFLINE(1)
2
3
4

NAME

6       glite-lb-bkpurge-offline - emergency utility for removing inactive jobs
7       from the L&B database
8
9
10

SYNOPSIS

12       glite-lb-bkpurge-offline [OPTIONS]
13
14
15

DESCRIPTION

17       glite-lb-bkpurge-offline is a utility for removing inactive  jobs  from
18       the  L&B  database.  By  default, it removes jobs that reached CLEARED,
19       ABORTED and CANCELED state and also OTHER and DONE jobs that are  inac‐
20       tive for a specific (rather long) period of time. It calls SQL database
21       commands directly.
22
23       This utility is provided for  emergency  and  expert  use  only.  Exact
24       semantics  of  job  age  are  slightly different from regular glite-lb-
25       bkpurge, there is no synchronization with  running  L&B  server  and/or
26       proxy  when  jobs receive new events while being purged, and error han‐
27       dling is minimal.
28
29
30

OPTIONS

32       -a NNN[smhd]
33              Purge ABORTED jobs  older  than  NNN  seconds/minutes/hours/days
34              (only  one  number  and  one letter allowed). If the time is not
35              specified, the default timeout is determined by the server.
36
37
38       -c NNN[smhd]
39              Purge CLEARED jobs older than the given age.
40
41
42       -d NNN[smhd]
43              Purge DONE jobs older than the given age.
44
45
46       -h     Display help.
47
48
49       -m BKSERVER
50              L&B server machine name. If not specified, the environment vari‐
51              able EDG_WL_QUERY_SERVER is checked for hostname and port.
52
53
54       -M {singleshot|staged}
55              Cleaning method (default=staged).
56
57
58       -n NNN[smhd]
59              Purge CANCELED jobs older than the given age.
60
61
62       -o NNN[smhd]
63              Purge  OTHER  jobs  (i.e.,  jobs  in  states other than ABORTED,
64              CLEARED or CANCELED) older than the given age.
65
66
67       -p     Purge L&B proxy database (default: L&B server DB).
68
69
70       -t     Free unused space if using MyISAM DB engine. Note that MyISAM is
71              not used by default in L&B deployments.
72
73
74

ENVIRONMENT

76       EDG_WL_QUERY_SERVER
77              If  $EDG_WL_QUERY_SERVER  is  set,  its  value  is  used  as the
78              bkserver address.
79
80
81

BUGS

83       Please report all bugs to CESNET gLite L&B issue tracker  available  at
84       https://github.com/CESNET/glite-lb/issues
85
86
87

AUTHORS

89       L&B Product Team, CESNET.
90
91
92

SEE ALSO

94        glite-lb-purge(1)
95
96
97
98CESNET                             Jun 2014        GLITE-LB-BKPURGE-OFFLINE(1)
Impressum