How to use Ntpdate to slew the time?


 
Thread Tools Search this Thread
Operating Systems Solaris How to use Ntpdate to slew the time?
# 1  
Old 06-06-2007
How to use Ntpdate to slew the time?

Hi experts,

I've a master server which sync to ntp time server daily by using xntpd daemon. Then my client servers will use ntpdate through cron job to synchronize the time hourly. (By using ntpupdate -s -B 'master server')

My question is, now I'll need to synchronize to a oracle server which running on oracle 9i. As we don't want to affect the service of oracle, we intend to use 'ntpupdate -s -B 'master server', the problem is by using '-B' option, althought the slew time may slowly update the time accordingly, in fact of using '-b' to update the time immdiately.

However we are thinking the time to be sync still very fast, if possible we would like to sync the time to oracle server in backgroup and maybe take 1 month to switch back to normal time. Now the time differece is around 10mins.

Hence I'd like to know is it possible to set the slew time by using 'ntpupdate -B', or can any expert give me an better idea.

Your help is greatly appreciated.
Thanks.
# 2  
Old 06-06-2007
If you are worried that using the -B option for ntpdate you can run the xntpd deamon in the background. It will slowly adjust the time to your master server. Howerver, xntpd might not adjust the time if your client machine is way too behind. You should need to check the documentation on your respective machine.
# 3  
Old 06-06-2007
Quote:
Originally Posted by encrypted
If you are worried that using the -B option for ntpdate you can run the xntpd deamon in the background. It will slowly adjust the time to your master server. Howerver, xntpd might not adjust the time if your client machine is way too behind. You should need to check the documentation on your respective machine.

Thanks for the reply. May i know is that any way to make the time slow adjust back (eg 14days to 1 month) to normal actual time by using xntpd daemon? What's the option i can use?

Quite confuse that by using 'ntpdate -B', can i change the 'adjtime' value? It seems like for a 15 mins different of time, it just take a day to sync back to actual time which is not fit to our requirement.

Thank you.

Regards,
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ntpdate not synching with w32time on Windows XP

Hi all. I'm new to this forum and Linux in general. Last month I ran into a problem at work and never got around to solving it. We have an old Linux workstation that synchs its time to a Windows XP machine running w32time. The version of ntpdate is 4.2.0.a running on Linux kernel 2.6.17.6. It... (0 Replies)
Discussion started by: rathauneek
0 Replies

2. Solaris

Is ntpdate command dependent on ntpd?

Hi, Could someone Please clarify me here: Is ntpdate command a part of ntpd, i mean does ntpdate command a dependent on ntpd? and can ntpdate be run in absence of ntpd service. (5 Replies)
Discussion started by: aksijain
5 Replies

3. Solaris

Execute the ntpdate command only when NTP daemon is stopped?

Hi, Could somebody please explain me. why is it necessary to execute the "ntpdate" command only when ntp daemon is stopped , and also the probabale solution to reduce the high offset value. Thanks !! Laxxi (4 Replies)
Discussion started by: Laxxi
4 Replies

4. Shell Programming and Scripting

How to replace ntpdate

Hi there, Hi have a group of computers + a server (all debians) connected to each other on a LAN. For some reasons that I've not decided and that I can't change, the computers cannot connect to the net. Moreover, the server has no ntp service. Though, I need to find a way of setting all... (4 Replies)
Discussion started by: chebarbudo
4 Replies

5. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies

6. SCO

ntpdate problem in Unixware

Hi Guys, A weird problem. I have disabled ntpd daemon on a HP server and placed ntpdate in crontab instead and redirected the log to a file. This command in cron synchronizes the server with a local time server every 15 minutes. The weird part is that on 3 specific times (5:00 am, 10:00 am,... (2 Replies)
Discussion started by: Verifone
2 Replies

7. UNIX for Advanced & Expert Users

How To Provide Time Sync Using Nts-150 Time Server On Unix Network?

can anybody tel lme,how to instal NTS -150 on a unix network,it needs some patch to fetch time frm serve,,?? (2 Replies)
Discussion started by: pesty
2 Replies

8. UNIX for Dummies Questions & Answers

NTPDATE Command help

I would like to setup date / time sync on Solaris 8 using the command ntpdate. How do I set it up? Thanks Mark (1 Reply)
Discussion started by: miredale
1 Replies
Login or Register to Ask a Question