- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP client question
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
06-28-2005 08:58 PM
06-28-2005 08:58 PM
I configured a system as a ntp client. It is necessary to execute the command "ntpdate
I want to do the synchronization slowly, not in one step, ¿How can do it?
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 10:04 PM
06-28-2005 10:04 PM
Re: NTP client question
ntpd will slowly synchronize.
ntpdate at service startup should be a good thing, cause if offset is too big, xntpd won't synchronize. Script to start xnptd on /sbin/init.d should usr ntpdate first.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2005 10:20 PM
06-28-2005 10:20 PM
Re: NTP client question
- configure the ntp client
- start xntpd in the client??
Does this synchronize slowly the time in the client?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:32 AM
06-29-2005 02:32 AM
Re: NTP client question
Try using ntpq -p on client system to check if client system is sycrnonized or still syncronizing.
If system is syncronized you would see a leading "*" on line where client is syncronized
root@leo [/]
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
ntp1.ien.it 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
ntp2.ien.it 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
*virgo.pippo ntp2.ien.it 2 u 23 64 377 0.53 -4.910 0.34
LOCAL(0) LOCAL(0) 10 l 14 64 377 0.00 0.000 10.01
+virgo.pippo ntp2.ien.it 2 u 11 64 377 0.43 -4.841 0.82
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:43 AM
06-29-2005 02:43 AM
Re: NTP client question
Have the /etc/ntp.conf file modified to the settings for your environment. This can be as simple or as complex as need be. At the very least you should have 1 line that specifies the ntp server.
Start the ntp daemon
/sbin/init.d/xntpd start
Check
ntpq -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:53 AM
06-29-2005 02:53 AM
Solutionyou can do ntpdate "ntp_server" if you do not have apps/program that very time dependant or can be shutdown for a while.
Also xntpd will exit, if offset is too large to adjust for ntp. You can check it with ntpq -p "server"
You can also use ntpdate -B command to adjust ot slowly. (this is turn uses time() call)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:57 AM
06-29-2005 02:57 AM
Re: NTP client question
COnfigure the NTP Client by modifying /etc/ntp.conf file.
Ensure that you have set XNTPD=1 (/etc/rc.config.d/ntdamons) to start the deamon during system startup.
When the system boots up, the command npdate get executed.
If the offset is big, xntpd will take long time to synhronise. It is better to use ntpdate a this time. But before that ensure that you don't have any time sensiive critical applications, cron jobs etc.are running in the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 08:15 PM
06-30-2005 08:15 PM
Re: NTP client question
`ntpdate` is there to set the time now. This is to be compared with setting the time with the `date` command. This actually sets the time, either by skipping or doubling time. This can cause cron-tab entries to not execute or execute double.
`ntp`, `ntpd`, `xntpd` (or what name it has) is the deamon to keep the time in sync, if possible up to milisecond level. This drifts to the time by stretching or squeezing the timesteps. Every minute (maybe even every second) is stepped on only once.
Most startup scripts (and even current xntpd implementations) start with a step as ntpdate does and then keep in sync by drifting.
btw: see http://www.pool.ntp.org/ for general public clocks.