04-07-2008
What do you mean by "point to"? The alias in /etc/hosts will let you refer to the server by the name you put in /etc/hosts instead of the IP address but this is not strictly necessary; you could simply set up your NTP client to connect by IP address, although of course it's a good habit to have a name for the server.
If you have an ntp client running continuously then it will likely need to be nudged to reread its configuration. Many daemons have a way to reinitialize without having to actually shut it down completely, often by sending a SIGUSR1, but read the documentation for whatever you are running.
You seem to be missing the step where you find out what NTP client software you are running, and read its documentation to see how you tell it which NTP server to use. That should also give some hints for your third question.
If you have ntpdate, it can be run with a diagnostic option which tells you which server it connected to and what the result was. If you are on Debian or Ubuntu, note the difference between ntpdate and ntpdate-debian
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi.
i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
Discussion started by: souldier
3 Replies
2. Linux
RH 7.2
I have 2 unrelated questions -
1.) I have been able to configure and run ntp but cannot figure out how to start the service upon reboot. I have read the man pages for ntsysv - this is a manual action, but I want to drop a tarball of config files on a new installation and cannot... (1 Reply)
Discussion started by: jalburger
1 Replies
3. Solaris
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
Hello Guys,
i have a problem my local server is not getting synchronized with ntpd server.
1)ntpq -p is giving the following output
remote refid st t when poll reach delay offset jitter
==============================================================================
... (9 Replies)
Discussion started by: mannam srinivas
9 Replies
5. Red Hat
Hi All....
I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server?
Can anyone give me as many information as... (1 Reply)
Discussion started by: Amol21
1 Replies
6. Linux
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
7. Linux
Hi folks, I have developed a Linux server for my customer. After migrating the server to my customer site, I was trying to sync its time to the NTP time servers at my customer site.
Below is the ntp.conf:
% vi /etc/ntp.conf
# Permit time synchronization with our time source, but do not
# permit... (2 Replies)
Discussion started by: kimurayuki
2 Replies
8. HP-UX
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
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
10. Linux
Hello
I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu "
I tried before Ubuntu but some of device not detect the server
Need your recommendation
Thank you (2 Replies)
Discussion started by: moudmm
2 Replies
LEARN ABOUT SUNOS
ntptrace
ntptrace(1M) System Administration Commands ntptrace(1M)
NAME
ntptrace - trace a chain of NTP hosts back to their master time source
SYNOPSIS
/usr/sbin/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.
OPTIONS
The following options are supported:
-d Turns on some debugging output.
-n Turns off the printing of host names; instead, host IP addresses are given. This may be necessary if a nameserver is down.
-r retries Sets the number of retransmission attempts for each host.
-t timeout Sets the retransmission timeout (in seconds); default = 2.
-v Prints verbose information about the NTP servers.
EXAMPLES
Example 1: Sample Output From the ntptrace Command
The following example shows the output from the ntptrace command:
% ntptrace
localhost: stratum 4, offset 0.0019529, synch distance 0.144135
server2.bozo.com: stratum 2, offset 0.0124263, synch distance 0.115784
usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'
On each line, the fields are (left to right):
o The server's host name
o The server's stratum
o The time offset between that server and the local host (as measured by ntptrace; this is why it is not always zero for localhost)
o The host's synchronization distance
o The reference clock ID (only for stratum-1 servers)
All times are given in seconds. Synchronization distance is a measure of the goodness of the clock's time.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWntpu |
+-----------------------------+-----------------------------+
SEE ALSO
xntpd(1M), attributes(5)
BUGS
This program makes no attempt to improve accuracy by doing multiple samples.
SunOS 5.10 19 Mar 1998 ntptrace(1M)