- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- time synchronization with ntp during boot without ...
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
04-05-2007 02:16 AM
04-05-2007 02:16 AM
I want to synchronize clients two times per week - once with ntpdate in cron in the middle of the week, once during boot up.
I can perform synchronization during boot with /etc/rc.config.d/netdaemons, but then xntpd is running too.
How can I configure boot session that xntpd is stopped again after synchro?
Or only running ntpdate during boot up?
Any tipps?
Thanks
Volkmar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 02:25 AM
04-05-2007 02:25 AM
SolutionYou should configure and run 'xntpd' _ALL_ the time. At bootup, set your clock correctly by running 'ntpdate'. This is achieved by specifying:
NTPDATE_SERVER=yourtimeserver
...in '/etc/rc.config.d/netdaemons'.
In this fashion you will have accurate timekeeping ALL the time.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 02:29 AM
04-05-2007 02:29 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 02:31 AM
04-05-2007 02:31 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
for your information, don't run ntpdate if you have a lot of time desynchronisation, ntpdate will set the date/time immediately, this can have bad effects in your logs or applications, xntp will adjust the time by drifting the clock, transparently for your log and applications.
a solution (deprecated) for what you want:
i think it's not supported by HP but you can edit /sbin/init.d/xtnpd and comment:
/usr/sbin/xntpd $XNTPD_ARGS && echo "xntpd \c"
the effect is that ntpdate will synchronize your server at boot but the xntpd daemon will not start.
you can play with your crontab for xntp when you want.
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 02:54 AM
04-05-2007 02:54 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
What's about network traffic because of ntp?
I don't wanna create much traffic for this or a bigger server load.
There are 30 clients who need the correct time.
My clients have nothing important running at their own, but with a license program a too big difference of time makes problems (especially after boot up and a bad battery).
So two synchros per week should be enough.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 02:59 AM
04-05-2007 02:59 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
Reread what Clay said about the overhead of ntp. It's just a plain and simple little protocol. There is no reason not to run it on your system. Very low overhead, very low network footprint.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:04 AM
04-05-2007 03:04 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
There is absolutely no need to worry about network traffic. Normally polling of the timeserver occurs only every 512 or 1024 seconds. If you use an external clock (GPS) then that reduces to 64 seconds or less. The 'minpoll' variable determines the frequency.
NTP traffic will impose a drop-in-a-rainstorm worth of load.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:14 AM
04-05-2007 03:14 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
Can I define the polling period?
@ACS:
'..not necessary that xntpd be running on a client in order to use ntpdate'
Yes, but if I configure ntp at boot I have to configure netdaemons, (and this is for running xntpd and ntpdate before), haven't I?
@Cedrick:
At boot up there will be no problem with applications. Also not at night in the middle of the week, as no user applikation will run.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:57 AM
04-05-2007 03:57 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 04:55 AM
04-05-2007 04:55 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
Nice easter!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2007 04:44 AM
04-06-2007 04:44 AM
Re: time synchronization with ntp during boot without xntpd running permanently?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2007 01:54 PM
04-09-2007 01:54 PM
Re: time synchronization with ntp during boot without xntpd running permanently?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 02:04 AM
04-16-2007 02:04 AM