- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: NTP configuration in HPUX
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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...
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP