File: calendar_conf.html

package info (click to toggle)
gridengine 6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 51,532 kB
  • ctags: 51,172
  • sloc: ansic: 418,155; java: 37,080; sh: 22,593; jsp: 7,699; makefile: 5,292; csh: 4,244; xml: 2,901; cpp: 2,086; perl: 1,895; tcl: 1,188; lisp: 669; ruby: 642; yacc: 393; lex: 266
file content (221 lines) | stat: -rw-r--r-- 7,700 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<HTML>
<BODY BGCOLOR=white>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
NAME
     calendar_conf - Grid Engine calendar configuration file for-
     mat

DESCRIPTION
     <I>calendar</I>_<I>conf</I> reflects the format of the Grid Engine  calen-
     dar  configuration.  The  definition of calendars is used to
     specify "on duty" and  "off  duty"  time  periods  for  Grid
     Engine  queues  on a time of day, day of week or day of year
     basis.  Various  calendars  can  be  implemented   and   the
     appropriate  calendar definition for a certain class of jobs
     can be attached to a queue.

     <I>calendar</I>_<I>conf</I> entries can be added, modified  and  displayed
     with  the  -<I>Acal</I>,  -<I>acal</I>,  -<I>Mcal</I>,  -<I>mcal</I>,  -<I>scal</I>  and -<I>scall</I>
     options to <B><A HREF="../htmlman1/qconf.html">qconf(1)</A></B> or with the calendar configuration  dia-
     log  of the graphical user interface <B><A HREF="../htmlman1/qmon.html">qmon(1)</A></B>.  The format of
     the calendar configuration entries is defined as follows:

FORMAT
  calendar_name
     The name of the calendar to be used  when  attaching  it  to
     queues or when administering the calendar definition.

  year
     The queue status definition on a day of the year basis. This
     field  generally  will  specify on which days of a year (and
     optionally at which times on those days) a queue,  to  which
     the  calendar  is  attached, will change to a certain state.
     The syntax of the year field is defined as follows:

     year:=
         {year_day_range_list=daytime_range_list[=state]
         |year_day_range_list=[daytime_range_list=]state
        |state} ...

     Where

     <B>o</B>  at least one of  year_day_range_list,  daytime_range_list
        and state always have to be present,

     <B>o</B>  all day long is assumed if daytime_range_list is omitted,

     <B>o</B>  switching the queue  to  "off"  (i.e.  disabling  it)  is
        assumed if state is omitted,

     <B>o</B>  the queue is assumed  to  be  enabled  for  days  neither
        referenced      implicitly      (by      omitting     the
        year_day_range_list) nor explicitly

     and the syntactical components are defined as follows:

       year_day_range_list := {yearday-yearday|yearday},...
       daytime_range_list :=  hour[:minute][:second]-
                              hour[:minute][:second],...
       state :=     {on|off|suspended}
       year_day :=  month_day.month.year
       month_day := {1|2|...|31}
       month :=     {jan|feb|...|dec|1|2|...|12}
       year :=      {1970|1971|...|2037}

  week
     The queue status definition on a day of the week basis. This
     field  generally  will  specify on which days of a week (and
     optionally at which times on those days) a queue,  to  which
     the  calendar  is  attached, will change to a certain state.
     The syntax of the week field is defined as follows:

     week:=
         {week_day_range_list[=daytime_range_list][=state]
         |[week_day_range_list=]daytime_range_list[=state]
         |[week_day_range_list=][daytime_range_list=]state} ...

     Where

     <B>o</B>  at least one of  week_day_range_list,  daytime_range_list
        and state always have to be present,

     <B>o</B>  every day in the week is assumed  if  week_day_range_list
        is omitted,

     <B>o</B>  syntax and semantics of daytime_range_list and state  are
        identical  to  the  definition  given  for the year field
        above,

     <B>o</B>  the queue is assumed  to  be  enabled  for  days  neither
        referenced      implicitly      (by      omitting     the
        week_day_range_list) nor explicitly

     and where week_day_range_list is defined as

       week_day_range_list := {weekday-weekday|weekday},...
       week_day :=  {mon|tue|wed|thu|fri|sat|sun}

     with week_day ranges the week_day identifiers must  be  dif-
     ferent.

SEMANTICS
     Successive entries to the year and week fields (separated by
     blanks) are combined in compliance with the following rule:

     <B>o</B>  "off"-areas  are  overridden  by  overlapping  "on"-  and
        "suspended"-areas and "suspended"-areas are overridden by
        "on"-areas.

     Hence an entry of the form

       week  12-18 tue=13-17=on

     means that queues referencing the corresponding calendar are
     disabled the entire week from 12.00-18.00 with the exception
     of Tuesday between 13.00-17.00 where the queues  are  avail-
     able.


     <B>o</B>  Area overriding occurs only within a year/week basis.  If
        a year entry exists for a day then only the year calendar
        is taken into account and no area overriding is done with
        a possibly conflicting week area.


     <B>o</B>  the second time specification in a daytime_range_list may
        be  before the first one and treated as expected. Thus an
        entry of the form

          year  12.03.2004=12-11=off

        causes the queue(s) be disabled 12.03.2004 from  00:00:00
        - 10:59:59 and 12:00:00 - 23:59:59.

EXAMPLES
     (The following  examples  are  contained  in  the  directory
     $SGE_ROOT/util/resources/calendars).

     <B>o</B>  Night, weekend and public holiday calendar:

        On public holidays "night" queues are explicitly enabled.
        On  working  days  queues  are  disabled between 6.00 and
        20.00. Saturday and  Sunday  are  implicitly  handled  as
        enabled times:

          calendar_name  night
          year           1.1.1999,6.1.1999,28.3.1999,30.3.1999-
          31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
          .12.1999=on
          week           mon-fri=6-20


     <B>o</B>  Day calendar:

        On public holidays "day"-queues are disabled. On  working
        days  such  queues  are  closed  during the night between
        20.00 and 6.00, i.e. the queues are also closed on Monday
        from  0.00  to 6.00 and on Friday from 20.00 to 24.00. On
        Saturday and Sunday the queues are disabled.

          calendar_name  day
          year           1.1.1999,6.1.1999,28.3.1999,30.3.1999-
          31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
          .12.1999
          week           mon-fri=20-6 sat-sun


     <B>o</B>  Night, weekend and public holiday calendar  with  suspen-
        sion:

        Essentially the same scenario as the  first  example  but
        queues are suspended instead of switching them "off".

          calendar_name  night_s
          year           1.1.1999,6.1.1999,28.3.1999,30.3.1999-
          31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
          .12.1999=on
          week           mon-fri=6-20=suspended


     <B>o</B>  Day calendar with suspension:

        Essentially the same scenario as the second  example  but
        queues are suspended instead of switching them "off".

          calendar_name  day_s
          year           1.1.1999,6.1.1999,28.3.1999,30.3.1999-
          31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
          .12.1999=suspended
          week           mon-fri=20-6=suspended sat-sun=suspend
          ed


SEE ALSO
     <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B>, <B><A HREF="../htmlman1/qconf.html">qconf(1)</A></B>, <B><A HREF="../htmlman5/queue_conf.html">queue_conf(5)</A></B>.

COPYRIGHT
     See <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B> for a full statement of rights and  permis-
     sions.














</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>