- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to sync with windows server 2003 NTP server
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
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
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
тАО11-05-2009 01:31 AM
тАО11-05-2009 01:31 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 03:54 AM
тАО11-06-2009 03:54 AM
Re: how to sync with windows server 2003 NTP server
# ntp.conf
driftfile /etc/xntp.drift
logfile /var/adm/syslog/xntpd.log
server ip-of-win-ntp-server
server ip-of-backup-ntp-server
#
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2009 06:45 AM
тАО11-28-2009 06:45 AM
Re: how to sync with windows server 2003 NTP server
# ntp.conf
driftfile /etc/xntp.drift
logfile /var/adm/syslog/xntpd.log
server 128.1.x.x
#
date still didn't changed although restart server, there is no xntpd.log file created. i run ntpdate 128.1.x.x finally date changed.
just wonder how to check whether ntp.conf is working?
anywhere, guys, thanks a lot for the helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2009 06:59 AM
тАО11-28-2009 06:59 AM
Re: how to sync with windows server 2003 NTP server
> date still didn't changed although restart server, there is no xntpd.log file created. i run ntpdate 128.1.x.x finally date changed.
To set your server's time in a single step during startup, modify '/etc/rc.config.d/netdaemons'. Set the 'NTPDATE_SERVER' to the name of your time source and set 'XNTPD=1'.
> just wonder how to check whether ntp.conf is working?
Use:
# ntpq -p
This will show you if time synchronization has occurred and with who, among other things. Read more here:
http://www.docs.hp.com/en/B2355-90147/ch07.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2009 07:59 PM
тАО11-28-2009 07:59 PM
Re: how to sync with windows server 2003 NTP server
ntpq -p 128.1.x.x
This has to work before trying anything else. There is no logfile line in ntp.conf so remove it and just have the two server lines and driftfile. The logfile directive doesn't exist in the xntpd documentation (only the -l option on the command line). Be sure to edit /etc/rc.config.d/netdaemons so NTP will start automatically. You can add the -l option in netdaemons like this:
export XNTPD_ARGS="-l /var/adm/ntp.log"
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 03:14 AM
тАО11-29-2009 03:14 AM
Re: how to sync with windows server 2003 NTP server
checked, the logfile is there but empty:
# ll /var/adm/syslog/xntpd.log
-rw-r--r-- 1 root sys 0 Nov 28 23:59 /var/adm/syslog/xntpd.log
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 07:32 AM
тАО11-29-2009 07:32 AM
Re: how to sync with windows server 2003 NTP server
thanks for the info.
i tested with ntpq -p 128.1.xx resulting request time out, i will get my network guy to open port 123, after then should be alright.
btw, do i need to restart the production server after everything being set?
what is the time internal for sync to take place?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 08:02 AM
тАО11-29-2009 08:02 AM
Re: how to sync with windows server 2003 NTP server
> do i need to restart the production server after everything being set?
You can simply do:
# /sbin/init.d/xntpd stop
# /sbin/init.d/xntpd start
> what is the time internal for sync to take place?
Synchronization should occur within a few minutes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 08:39 AM
тАО11-29-2009 08:39 AM
Re: how to sync with windows server 2003 NTP server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2009 04:08 PM
тАО11-29-2009 04:08 PM
Re: how to sync with windows server 2003 NTP server
Bill Hassell, sysadmin