- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP configuration in HPUX
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-28-2010 04:12 AM
01-28-2010 04:12 AM
I am using HP-UX 10.20, 11.00, 11.11, 11.23 adn 11.31.
Having folloing questions about configuring NTP on all above mentioned OS:
1)How to view if NTP is already configured?
2)Is there any difference in configuring NTP among above mentioned OS?
3)How to configure NTP?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 04:23 AM
01-28-2010 04:23 AM
Re: NTP configuration in HPUX
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 04:26 AM
01-28-2010 04:26 AM
Solutionntpq -p
2)Is there any difference in configuring NTP among above mentioned OS?
no
3)How to configure NTP?
edit /etc/rc.config.d/netdaemons and change XNTPD variable value to 1
edit /etc/ntp.conf and add ntp server entry
server
start xntpd service
/sbin/init.d/xntpd start
check the ntp sync status
ntpq -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 04:27 AM
01-28-2010 04:27 AM
Re: NTP configuration in HPUX
#ntpq -p -->This command will list you ntp servers,stratum delay time, offset & disp
2)Is there any difference in configuring NTP among above mentioned OS?
>>>NO
3)How to configure NTP?
>Edit /etc/ntp.conf (configuration file)
put ntp server entries in ntp.conf file.
drift file path
>Edit /etc/driftfile
put reuired value(as per the timezone)
>edit /etc/rc.config.d/netdaemons
XNTPD=1 (For start ntp daemon automatically at nextboot)
start daemons.
/sbin/init.d/xntpd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 04:49 AM
01-28-2010 04:49 AM
Re: NTP configuration in HPUX
As usual, if you consult the vast documentation stable at docs.hp.com you could easily answer these questions. For example:
http://docs.hp.com/en/B2355-91060/ch04.html
You should configure at least three (3) time sources for the best, most accurate timekeeping. The NTP "pool" is a wonderful source sink:
http://www.pool.ntp.org/en/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 07:31 AM
01-28-2010 07:31 AM
Re: NTP configuration in HPUX
Time zone is fetched from local (/etc/TIMEZONE) or remote server (NTP server)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 07:36 AM
01-28-2010 07:36 AM
Re: NTP configuration in HPUX
NTP is based on GMT/UTC time, as is the internal clock on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2010 07:37 AM
01-28-2010 07:37 AM
Re: NTP configuration in HPUX
> Time zone is fetched from local (/etc/TIMEZONE) or remote server (NTP server)?
No. NTP works in UTC (GMT, if you prefer). NTP doesn't care about localtime zones. All synchronization is done in UTC. In fact, for NTP to synchronize your server's clock, your server's clock must be close to the correct UTC time. Check it with:
# date -u
Regards!
...JRF...