- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- timezone configuration change
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 04:45 AM
03-17-2011 04:45 AM
In turkey timezone changes will be done with one day latency. ( in spite of March 27, it will be on March 28.
changing tztab will be ok. but if you look at the output of fuser /usr/lib/tztab, a lot of processes like oracle,cimserver and other system processes opened it.
will it be ok, if i change inode number of tztab after editing ? or should i have to reboot ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 05:13 AM
03-17-2011 05:13 AM
SolutionYou will need to restart any processes that was already running at the time of the alteration. This would include the 'cron' daemon, oracle processes, etc. A shutdown and reboot might be the quickest, most sweeping way.
That said, you have another issue to consider. If you leave the modified 'tztab' in place, the next time you attempt to apply a standard patch for ' tztab' that updates timezone information, regardless of whether or not it impacts the stanza you modified, the update will _not_ fully complete. That is, 'swinstall' will detect that you modified 'tztab' and leave the new, standard version in 'the /usr/new' directory. Caveat emptor.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 07:26 AM
03-17-2011 07:26 AM
Re: timezone configuration change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 07:32 AM
03-17-2011 07:32 AM
Re: timezone configuration change
This is what I did in every year. just check the ntp server is up and running ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 07:36 AM
03-17-2011 07:36 AM
Re: timezone configuration change
ntp server just gives you utp time. if you change timezone in ntp server, clients do not change time. if you change time manually in ntp server, in the next check in clients, they will see 1 hour difference, so they aborts them without updating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 08:01 AM
03-17-2011 08:01 AM
Re: timezone configuration change
Stop and restart cron, and then try rerunning your job.
# /sbin/init.d/cron stop
# /sbin/init.d/cron start
Then try scheduling a job to run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 08:04 AM
03-17-2011 08:04 AM
Re: timezone configuration change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 08:05 AM
03-17-2011 08:05 AM
Re: timezone configuration change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2011 08:18 AM
03-17-2011 08:18 AM
Re: timezone configuration change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2011 12:07 PM
03-18-2011 12:07 PM
Re: timezone configuration change
There is code is libc to detect that the mmapped file has changed but I'm not sure how robust the detection is.
>In turkey timezone changes will be done with one day latency.
How long has this change been proposed, years? Have you asked HP to provide a patch for this?
>and there are thousands of server.
Right and syslog runs on local time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2011 08:52 PM
03-18-2011 08:52 PM
Re: timezone configuration change
that said changing inode numbers will affect caching tztab file. i tested but nothing changed on cron, etc..
it'll be just for 2011.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2011 01:41 AM
03-19-2011 01:41 AM
Re: timezone configuration change
OK, on my understanding you (and others) know something that I don t know OR I never used ..
I have 30 servers of HP unix and linux in my customer network, and I do not need to change time zone just ntp server adjust the clock (it is out of network,mean external) ,when it updates all servers updated , all databases we use (not Oracle by the way..) without problem, accept the change even though clocks put 1 hrs ahead ,they will updated.
when I check the server I can see the status, with the command "ntpq -p"
regards.
Hakki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2011 03:23 AM - last edited on 08-17-2011 09:19 AM by Kevin_Paul
03-19-2011 03:23 AM - last edited on 08-17-2011 09:19 AM by Kevin_Paul
Re: timezone configuration change
Hi again,
Ok, probably two different method direct adjustment with passive TZ (my setup) and auto TZ based adjustment available,
I guess, they are incompatible
for example in my example TZ is disabled somehow:
# echo $TZ
EET-2EETDST
so we are ntp based clock adjustment ,but you need to update tztab
http://h30499.www3.hp.com/t5/System-Administration/Where-does-usr-lib-tztab-log-the-time-of-change/m-p/5104607#M444812
if you use HP-UX 11iv1 server need to be sure patch applied before changed :
PHCO_39172
But remember the fact that time doesn't change actually,but changes for how it is displayed :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2011 10:47 AM
03-19-2011 10:47 AM
Re: timezone configuration change
we have already ntp server oriented clients. and they all adjusting the time according to the time passed from 1970. ntp server and clients are adjusting their time to the timezone value. we will change this value so that it will change on monday instead of sunday. that was the problem.thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2011 12:41 PM
03-20-2011 12:41 PM
Re: timezone configuration change
-Stop all clients ntp daemon on Saturday :
# /sbin/init.d/xntpd stop
-then solve the problem on ntp servers on Sunday after midnight ? (maybe adjust manually?)
-then start ntp clients:
# /sbin/init.d/xntpd start
Actually ,the second step to be solved somehow .. I know it is not easy way but just a workaround.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2011 01:05 PM
03-20-2011 01:05 PM
Re: timezone configuration change
> Hakki : I see, you are talking to ntp server TZ modification
That's an oxymoron. NTP works with, and only with, UTC (GMT) in the number of seconds since the Unix Epoch (January 1, 1970 at 00:00:00 UTC).
What you (or your server) perceives as the correct time is based on a +- offset from UTC. This offset is what is known as "localtime". The rules for the amount of offset from UTC to apply during any given period of a year is defined in HP-UX in '/usr/lib/TZTAB'. This information if read and cached by the libC libraries is why I advised Kenan to restart long-running processes if the 'tztab' is modified. Re-read what I originally wrote.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2011 04:03 AM
03-21-2011 04:03 AM