The UNIX Forums  

Go Back   The UNIX Forums > OS Specific Forums > AIX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to upload a file into 2 servers at the same time. kcpriya UNIX for Dummies Questions & Answers 7 04-10-2008 12:20 AM
script to change passwords for the same user on multiple servers stolz Shell Programming and Scripting 6 12-18-2007 09:08 AM
change time anhtt SUN Solaris 3 12-17-2007 07:13 AM
change the time in AIX rocker40 UNIX for Dummies Questions & Answers 1 03-15-2007 07:39 AM
How To change time? Sirius Linux 4 12-15-2005 11:37 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Jun 2007
Posts: 11
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
How to change time on servers

Hi all
We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Mar 2008
Location: In the middle of Europe
Posts: 47
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
That depends on your application(s). E.g. databases tend to crash when an operation finishes before it started. That would happen if your server is running ahead of time and you set it back during a DB operation is running. If your server's time is behind real time you may simply
# smitty date
for setting date and time and
# smitty chtz
for setting TZ
If you are unsure change both settings only with your apps stopped.
Reply With Quote
  #3 (permalink)  
Old 05-15-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,221
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
daylight savings time DOES NOT change the clock running in UTC, which is how the internal clock keeps time. It just changes how the values provided by the clock get translated into human readable form.

This affects log timestamps, etc. It also means that cron entries may run twice - this happens going from DST to standard time. Or may run not at all - this happens going to DST from standard time.

So for example, if you want to change to DST, and you do it on a Sunday at 2:00am
you can check for problem cron entries maybe this way:
Code:
 crontab -l |   perl -lane 'print "@F" if $F[1] =~ m/2/'
Hyphens or other special syntax may cause an early morning job to run with no "2" in the hours field. So the above may need changing. For Fall you need to look for "1"
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
UNIX Forum Content Copyright ©1993-2008 SilkRoad Asia All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

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