[GE users] Daylight savings time and calendars

Jeffrey Montesano jmontesano at aetheranetworks.com
Mon Apr 23 13:55:07 BST 2007


The problem was found to be that the qmaster host has "UTC=false" in the
/etc/sysconfig/clock file, while the exec hosts all have "UTC=true".

-----Original Message-----
From: Jeffrey Montesano [mailto:jmontesano at aetheranetworks.com] 
Sent: Tuesday, April 17, 2007 10:02 AM
To: users at gridengine.sunsource.net
Subject: RE: [GE users] Daylight savings time and calendars

I checked the messages file of the qmaster but it's difficult to tell if
they're an hour off, since the last message was posted at 3am.  Is there
any way to force a message to be written?

Also, when I changed the TZ variable I was able to see the submit time
change exactly as it did in the example provided below.  By default my
TZ variable is not set, which means that /etc/localtime is used, and I
believe this is pointing to EDT, since the "date" command returns EDT.

I'm suspecting that the problems occurred in response to a power failure
that happened during the night of April 16th.

-Jeff


-----Original Message-----
From: Andy Schwierskott [mailto:andy.schwierskott at sun.com] 
Sent: Tuesday, April 17, 2007 9:12 AM
To: users at gridengine.sunsource.net
Subject: Re: [GE users] Daylight savings time and calendars

Hi,

Grid Engine stores all times and dates in Unix time since epoch (i.e.
GMT
time). Whatever is the actual timezone setting on submit host and
qmaster
influences

I suspect there's sth. incorreclty set at your qmaster host. When the
job is
submitted qmaster get the current (GMT9 time andstores it as submit
time.
when qstat is getting the job it converts it to the local time - you can
verify it by using different TZ environment variable settings.

Is logging in the qmaster "messages" file also one hour off?

Example:

> setenv TZ MET ; date ; qsub -h jobs/sleeper.sh ; qstat -u as114086 ;
setenv TZ EST ; qstat -u as114086
MET
Tue Apr 17 15:11:45 MEST 2007
Your job 149312 ("sleeper.sh") has been submitted.
job-ID  prior   name       user         state submit/start at     queue
slots ja-task-ID 
------------------------------------------------------------------------
-----------------------------------------
  149312 0.00000 sleeper.sh as114086     hqw   04/17/2007 15:11:46
1 
job-ID  prior   name       user         state submit/start at     queue
slots ja-task-ID 
------------------------------------------------------------------------
-----------------------------------------
  149312 0.00000 sleeper.sh as114086     hqw   04/17/2007 08:11:46
1


Andy





On Tue, 17 Apr 2007, Jeffrey Montesano wrote:

> I have two queues setup called day and night.  Day is open from
8am-7pm,
> while night is open from 7pm-8am.  Since daylight savings came into
> effect however, the open times of the queues has shifted: day is now
> open from 9am-8pm, while night is open from 8pm-9am.  When I submit a
> job via qsub and query it with qstat, I see that the submission time
> reported by gridengine is one hour earlier than the actual time.  For
> example, when I submit a job at 8:30am to the day queue, qstat reports
> that the job was submitted at 7:30am.
>
>
>
> When I execute a "date" command in my LINUX terminal it says 8:30am
for
> the time.
>
>
>
> Does anyone know where gridengine gets its time from?  And how to
modify
> it to account for daylight savings time?
>
>
>
> Thanks,
>
> -Jeff
>
>
>
>
>
>
>
> Jeff Montesano
>
> Hardware Verification Engineer
>
> 1375 Trans Canada Hwy, Suite 610
>
> Dorval, Quebec, Canada
>
> Office : 514-684-2228
>
> jmontesano at aetheranetworks.com
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list