- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Time Synch on Oracle
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
Discussions
Discussions
Forums
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
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
тАО11-12-2002 04:34 AM
тАО11-12-2002 04:34 AM
I have been informed that my plan to synchonize a bunch of boxes using NTP may run afoul of Oracle.
Specifically, that Oracle has an internal timeclock independent of the system clock.
If this is true I need to know how to bring Oracle into my synch plans. If not, then we need to have a good laugh at my expense.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 04:38 AM
тАО11-12-2002 04:38 AM
SolutionThe only way to run amuck (as far as I know) is to start running xntpd when your Oracle server's time is ahead of the source to which you are going to synchronize. In that case, xntpd will step the clock *backwards* which is not kind to database journaling should a recovery/rollback be necessary.
You can circumvent these problems by stopping your database and stepping the clock or by slewing the clock gently with 'date -a' [see the man pages] or specifying a "slew" with the '-x' option to the 'xntpd' daemon.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 04:40 AM
тАО11-12-2002 04:40 AM
Re: Time Synch on Oracle
I find that very hard to believe - how would Oracle, which is just a software program, keep track of time when it (Oracle) is not running?
I'll be following this thread with interest.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 04:41 AM
тАО11-12-2002 04:41 AM
Re: Time Synch on Oracle
Oracle uses the system clock.
sync system clock should be fine.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 04:46 AM
тАО11-12-2002 04:46 AM
Re: Time Synch on Oracle
Oracle has no own internal timeclock (as I know).
Oracle uses SCN's (system change numbers) to synchronize the internal jobs.
We uses ntp for a long time on oracle-servers and had no problems
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 04:51 AM
тАО11-12-2002 04:51 AM
Re: Time Synch on Oracle
Presuming your servers are HP-UX 11.x then why don't you use 'date -a' to drift the system clock to (almost) the correct time before you implement synchronisation. This will mean that your clock will never be adjusted by any large amount of time.
Oracle does use the system clock for generating date/time fields etc.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 05:26 AM
тАО11-12-2002 05:26 AM
Re: Time Synch on Oracle
i.e. the system had a time of 10:30pm, it was readjusted to 10:15pm, you needed to recover to 10:25pm. The question would be "which 10:25pm?". All is not lost yet, you could identify the appropiate scn number and recover to that point, if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 05:46 AM
тАО11-12-2002 05:46 AM
Re: Time Synch on Oracle
We've had all our Unix boxes running ntp for a long time, with lots of Oracle instances all over the place, and we've never had a problem with the time syncs and Oracle. My understanding is that the ntp machinery will adjust the time gradually as needed. If your time is very far off, you'll need to do what others have mentioned and stop the databases while you set the correct time. Otherwise, I'd say setup ntp and don't worry about it.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 06:29 AM
тАО11-12-2002 06:29 AM
Re: Time Synch on Oracle
Here's your as requested in your other question about ntp setup in W2000.
Kind regards,
Robert-jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2002 06:38 AM
тАО11-12-2002 06:38 AM
Re: Time Synch on Oracle
One other idea: Slip ntpdate into an rc script that preceeds the startup of ntpd and Oracle. That way at boot time, any large corrections will be made straightaway. From that point on, ntpd can keep things in check. That's what we do in our shop.
Cheers,
Jim