- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Synchronising Server time : SAM NTP
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
01-22-2002 07:11 AM
01-22-2002 07:11 AM
in real basic point here click here.. tell me how to do the Subject! I don't want to read a big man.
4 servers all on same lan.
want to set time on 3
by the time on the 4th.
No internet connection, no timeserver..
So the 4th server reference clock will be it's own internal clock.
REMEMBER: I DON'T want to read the man!
Thanks!
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 07:16 AM
01-22-2002 07:16 AM
Solutionand any number of clients:
Procedure on the main server:
Log in as root and run a SAM session then do the following steps:
1. Click on the Time icon.
2. Click on the NTP Network Time Sources icon.
3. Select the menu Action -> Configure NTP Local Clock
4. Select Use System Clock and press OK
5. Select the menu List -> NTP Broadcasting
6. Select the menu Action -> Add Broadcast Client Network
7. Enter the broadcast address of the subnet where your client is located. You
can get this information by running the following command on the client:
ifconfig lan0 ---> you will get the following listed:
lan0: flags=863
inet 15.37.113.130 netmask fffff800 broadcast 15.37.119.255
Here's the broadcast address
So add the broadcast address of all your clients if they are not on the same
subnet.
8. Select the menu Action -> Start NTP
Your server is now set.
Procedure for the client:
Log in as root and run a SAM session, then do the following steps:
1. Click on the Time icon.
2. Click on the NTP Network Time Sources icon.
3. Select the NTP Broadcasting icon.
4. Select the menu Actions -> Enable Receiving Time Broadcasts
5. Select the menu Actions -> Start NTP
Your client is now set. You can repeat this on all your clients.
For further information on the subject, you can refer to the manual "HP9000
Networking: Installing and Administering Internet Services"
or the man pages ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 07:19 AM
01-22-2002 07:19 AM
Re: Synchronising Server time : SAM NTP
Choose one of your servers as the timekeeper and in '/etc/ntp.conf' add, at the bottom:
server 127.127.1.1 #...my own clock...
On your other servers, in their '/etc/ntp.conf' add:
server
Regards!
Now, set 'XNTPD' to <1> in '/etc/rc.config.d/netdaemons' so that xntp starts up at bootup.
Issue:
# /sbin/init.d/xntpd start
Check synchronization with:
# ntpq -p
...and remember that a time difference of greater than 1000 seconds will cause synchronization to fail. If this is the case, adjust your server time(s) first.
Regards!
...JRF...
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 07:21 AM
01-22-2002 07:21 AM
Re: Synchronising Server time : SAM NTP
Edit the xntpd configuration file /etc/ntp.conf. You can also use SAM to configure xntpd.
Determine how you want to configure xntpd by reading the rest of this chapter and the xntpd man page. Then add the appropriate statements in /etc/ntp.conf.
Set the environment variable XNTPD to 1 in the file /etc/rc.config.d/netdaemons. This causes xntpd to start automatically whenever the system is booted.
Set the appropriate value for your local time zone in the file /etc/TIMEZONE.
Run the xntpd startup script with the following command:
/sbin/init.d/xntpd start
Run the ntpq program with the -p switch to verify that xntpd is forming the correct relationships with other NTP hosts. (See Querying xntpd.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 07:23 AM
01-22-2002 07:23 AM
Re: Synchronising Server time : SAM NTP
Or, go into SAM,then go to the TIME menu, then go to 'NTP Network Time Sources', then click on the 'Actions' menu and select 'Add remote server or peer' and put in the name or IP of the machine that is your server.
On the machine that's to be your server, you should do: SAM -> TIME - NTP Network Time Sources then go to Actions and select 'Configure NTP Local Clock'
That should do you.
But you really do need to read the /etc/ntp.conf.example file if you really want to learn how to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 07:35 AM
01-22-2002 07:35 AM
Re: Synchronising Server time : SAM NTP
I would be remiss if I didn't at least suggest that a quick, easy-to-read, informative discussion of 'ntp' can be found in chapter-7 of "Installing and Administering Internet Services":
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
This is worth a few minutes of your time (no pun intended!).
Regards!
...JRF...