- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Simple NTP configuration
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
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
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
тАО12-06-2005 01:33 AM
тАО12-06-2005 01:33 AM
The address of the NTP servers is:
10.0.25.91/92
10.0.26.91/92
Any ideas??
Thanks
Geir
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 01:36 AM
тАО12-06-2005 01:36 AM
Re: Simple NTP configuration
sam > Time > NTP Network Time Sources
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 01:37 AM
тАО12-06-2005 01:37 AM
Re: Simple NTP configuration
Start SAM, Time, NTP Network Time Sources, Actions, Add Remote server or Peer.
Regards,
Robert-Jna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 01:38 AM
тАО12-06-2005 01:38 AM
Re: Simple NTP configuration
Just use
/usr/sbin/ntpdate 10.0.25.91
I have added the following line to crontab of root. So the time is synchronized twice a day
0 0,12 * * * /usr/sbin/ntpdate 10.0.25.91 > /dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 01:41 AM
тАО12-06-2005 01:41 AM
Re: Simple NTP configuration
Just add the following lines to /etc/ntp.conf
server 10.0.25.91 version 3 prefer
server 10.0.26.91 version 3
Use the closest server as the "prefer" server for the clients.
Then if the clients are *less* than 15 minuters away in actual time, start the clients by:
1) Editing /etc/rc.config.d/netdaemons so that
XNTPD=1
2) Start the client with
/sbin/init.d/xntpd start
That's all there is to it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 01:42 AM
тАО12-06-2005 01:42 AM
Re: Simple NTP configuration
export NTPDATE_SERVER=10.0.25.91 10.0.25.92 10.0.26.91 10.0.26.92
export XNTPD=1
export XNTPD_ARGS=
Edit /etc/ntp.conf
server 10.0.25.91
server 10.0.25.92
server 10.0.26.91
server 10.0.26.92
driftfile /etc/ntp.drift
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 01:45 AM
тАО12-06-2005 01:45 AM
Solutionntpdate will jump the clock to the new setting, no matter what the difference is. That has the potential to lead to database problems.
Your best bet is to either use SAM as mentioned above, or edit the /etc/ntp.conf file and add your time servers. There is a lot of good information in the /etc/ntp.conf file.
The simplest form is:
# cat /etc/ntp.conf
server 10.0.25.91
server 10.0.26.91
Then edit /etc/rc.config.d/netdaemons file and change the line:
export XNTPD=0
to
export XNTPD=1
You can also add one of your NTP Servers as the NTPDATE Server.
export NTPDATE_SERVER="10.0.25.91"
Then run '/sbin/init.d/xntpd start' to start ntp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 06:46 PM
тАО12-06-2005 06:46 PM
Re: Simple NTP configuration
The xntpd process is already running. If I want the process to be restartet/reloaded with the new config, what is the command?
# kill -HUP pid_xntpd ?????
or
# kill -9 xntpd_pid +
+
# xntpd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 06:49 PM
тАО12-06-2005 06:49 PM
Re: Simple NTP configuration
#/sbin/init.d/xntpd stop
#/sbin/init.d/xntpd start
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 07:06 PM
тАО12-06-2005 07:06 PM
Re: Simple NTP configuration
I got following messages when I try to stop the process:
# /sbin/init.d/xntpd stop
ERROR: Unable to stop the xntpd (cannot find pid).
Is it possible to use kill -9 xntpd_pid ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 07:12 PM
тАО12-06-2005 07:12 PM
Re: Simple NTP configuration
# ps -ae |grep -i xntpd
# kill -9
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 07:44 PM
тАО12-06-2005 07:44 PM
Re: Simple NTP configuration
Is it possible to let the current process reread the config with the following command:
# kill -HUP xntpd_pid ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 07:53 PM
тАО12-06-2005 07:53 PM
Re: Simple NTP configuration
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 11:35 PM
тАО12-07-2005 11:35 PM
Re: Simple NTP configuration
Is it possible control/verify that HP-UX is syncronized with NTP server??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2005 12:29 AM
тАО12-08-2005 12:29 AM
Re: Simple NTP configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2005 01:16 AM
тАО12-08-2005 01:16 AM
Re: Simple NTP configuration
grep ntp /var/adm/syslog/syslog.log
xntpd will not try to synchronize if the difference is more than a few minutes.
Bill Hassell, sysadmin