- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Check NTP Server/Clients
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
01-30-2003 10:57 AM
01-30-2003 10:57 AM
I was asked to setup NTP on a few new servers that we recently received; we already have NTP server/clients using NTP on other systems. My question is, how do I find out which ones are the servers? Because from what I am reading you have a NTP Time Server Hierarchy (One Stratum 1 Server going out to an external clock, which is how I believe they have set this up)
My other question is how do I fully test and make sure the clients are working property with the NTP servers.
Thanks in advance for all your help.
ekelley
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 11:04 AM
01-30-2003 11:04 AM
Solution1) Check an NTP client's /etc/ntp.conf file. It'll list it's servers in there. Of course your server will be a client to an external source(s) & it's ntp.conf file will list them.
2) To check whether it's working on the clients A) run #ps -ef | grep ntp to see whether xntpd daemon is running B) Check /etc/rc.config.d/netdaemons & insure XNTPD=1 to make sure it starts at boot C) Check the clients /etc/ntp.conf file for the proper config D) Check the syslog.log to see the adjustments E) Compare it's time to your NTP server - should not be more than 128 ms difference.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 11:16 AM
01-30-2003 11:16 AM
Re: Check NTP Server/Clients
One quick way to test timestamps on other servers, provided you have 'rexec' trust between them, is to do:
date; rexec
You will get back two date/time stamps. If NTP is running correctly, and you don't have horrendous network delays or extremely busy servers, you should see them identical (to the second), or at most one second difference (depending on rounding functions and timing of your command).
Later... --bmr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 11:32 AM
01-30-2003 11:32 AM
Re: Check NTP Server/Clients
One of the easist ways to check the viability of a NTP setup is to use 'ntpq'. See the man pages for more information. Run 'ntpq -pn' or drop the 'n' flag to resolve IPAddress to DNS name (as available).
For more information on 'xntp' (NTP) and 'ntpq' see chapter-7 of "Installing and Administering Internet Services":
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 02:18 PM
01-30-2003 02:18 PM