Sponsored Content
Full Discussion: Ntp
Operating Systems Solaris Ntp Post 302254866 by incredible on Wednesday 5th of November 2008 10:45:50 AM
Old 11-05-2008
Notes
Network Time Protocol (NTP):
- When setting up an NTP config file it is important to reference these machines by
their aliases and not their canonical names. This allows you to transparently move
the NTP servers to other machines in the future.
- The public domain xntp daemon (which uses NTP) is used to sync computer clocks.
- The xtnp daemon reads the file /etc/inet/ntp.conf at startup.
It can be run periodically as a cron job.
- date and rdate can be used on systems that do not use NTP.
- Config NTP Server:
1. Copy /etc/inet/ntp.server to /etc/inet/ntp.conf
2. Edit the file /etc/inet/ntp.conf to point to an ntp server.
3. Change to the /etc/inet.d dir and start the xntd daemon
- Config Client (same):
1. Copy /etc/inet/ntp.server to /etc/inet/ntp.conf
2. Edit the file /etc/inet/ntp.conf to point to an ntp server.
3. Change to the /etc/inet.d dir and start the xntd daemon
- To sync the date and time with another system use:
rdate <remote host>
- ntpq can be used to show the status of ntp.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NTP and 11.i .....

Hi there! Does anybody know if HP-UX 11.i supports NTP? If yes, what version on NTP should be used? Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies

2. IP Networking

Ntp

How can I install ntp on AIX (4.3-5.1) ? thnx (1 Reply)
Discussion started by: Gismo
1 Replies

3. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

4. IP Networking

about NTP reconfiguration..

Most services can re-load/re-read their configuration file through the command "service xxxx reload", which is usually implemented by "kill -HUP service_pid" . for NTPD service, "service ntpd restart" and "service ntpd reload" are identical in /etc/rc.d/init.d/ntpd. what's more, "kill -HUP... (1 Reply)
Discussion started by: aaronwong
1 Replies

5. UNIX for Advanced & Expert Users

NTP errors

im getting errors on all of my NTP clients. Oct 27 14:44:15 cms2 ntpd: synchronisation lost Oct 27 15:08:25 cms2 ntpd: time reset 0.688591 s Oct 27 15:08:25 cms2 ntpd: synchronisation lost Oct 27 15:28:45 cms2 ntpd: time reset 0.462257 s i checked several things: ntpq> rv status=0644... (3 Replies)
Discussion started by: modcan
3 Replies

6. UNIX for Dummies Questions & Answers

Ntp Error

Hi everybody. I'm not sure where to post this, so I hope here is OK. I have 4 name servers and on one of the slaves, my log files are filling up with this error: ntpd: sendto() (fd=20): Invalid argument It is always the same IP, and only on this name server. A quick google revealed that the... (1 Reply)
Discussion started by: Gumball Dad
1 Replies

7. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

8. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

9. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
ntptrace(1)						      General Commands Manual						       ntptrace(1)

NAME
ntptrace - trace a chain of NTP servers back to the primary source SYNOPSIS
ntptrace [ -vdn ] [ -r retries ] [ -t timeout ] [ server ] DESCRIPTION
ntptrace determines where a given Network Time Protocol (NTP) server gets its time from, and follows the chain of NTP servers back to their master time source. If given no arguments, it starts with localhost . Here is an example of the output from ntptrace : % ntptrace localhost: stratum 4, offset 0.0019529, synch distance 0.144135 server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid On each line, the fields are (left to right): the host name, the host stratum, the time offset between that host and the local host (as measured by ntptrace ; this is why it is not always zero for " localhost "), the host synchronization distance, and (only for stratum-1 servers) the reference clock ID. All times are given in sec- onds. Note that the stratum is the server hop count to the primary source, while the synchronization distance is the estimated error rela- tive to the primary source. These terms are precisely defined in RFC-1305. OPTIONS
-d Turns on some debugging output. -n Turns off the printing of host names; instead, host IP addresses are given. This may be useful if a nameserver is down. -r retries Sets the number of retransmission attempts for each host (default = 5). -t timeout Sets the retransmission timeout (in seconds) (default = 2). -v Prints verbose information about the NTP servers. BUGS
This program makes no attempt to improve accuracy by doing multiple samples. SEE ALSO
More documentation is available in the package ntp-doc. AUTHOR
David L. Mills <mills@udel.edu> ntp 4.1.1b-r5 ntptrace(1)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy