1825768 Members
2060 Online
109687 Solutions
New Discussion

Re: ntp server in mcsg

 
SOLVED
Go to solution

ntp server in mcsg

Hi, is it possible to have ntp server in mcsg environment? I tried to do that, but problem is with clients. When I try ntpdate package_address I get message
"no server suitable for synchronization found"
but ntpdate node_name
works properly !

Any suggestion?

Thank you in advance.

Hrvoje
3 REPLIES 3
melvyn burnard
Honored Contributor

Re: ntp server in mcsg

So far as I can tell, NTP is not know to work as a SG package, as it appears it does not bind or report back on hte floating ip address.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Michael Steele_2
Honored Contributor
Solution

Re: ntp server in mcsg

I've used NTP in MC/SG. It's something else. Are you intranet or internet? Because port 123 for udp is usually close to the public by a firewall. Here's a procedure for intranet NTP server:

Check with:

ntpq -p

NTP Time server
===========
# cd /etc/
# /sbin/init.d/xntp stop
# vi ntp.conf
server 127.127.1.1 minpoll 3 maxpoll 4 prefer
fudge 127.127.1.1 stratum 10
broadcast ip

# /sbin/init.d/xntp start

############################################

HP-UX NTP Client
======
# cd /etc/rc.config.d
# /sbin/init.d/xntp stop
# vi netdaemons

export NTPDATE_SERVER=node name
export XNTPD=1

# ntpdate
# /sbin/init.d/xntp start

Wait for about 5-8 min, run the follwoing to check the status:
# ntpq -p
chk for output of "reftime" it should not be zero if the servers are in sync.
Support Fatherhood - Stop Family Law
Massimo Bianchi
Honored Contributor

Re: ntp server in mcsg

Hi,
what about the native possibility of ntp to search multiple hosts ?


You put your MCSG as peers, and client point to both .

We use this configuration in our environtment..


Politically correct example:

## Configured using SAM by root on Thu Sep 26 11:00:33 2002
# Sample XNTP Configurations File
#
# Use "peer", "server" and "broadcast " statements to specify various time
# server to be used and/or time services to be provided.
# Peer: The peer statement specifies that the given host is to be polled
# int "symmetric active" mode. The syntax is :
# peer addr [ key # ] [ version # ] [ minpoll interval_in_sec ] [ prefer ]
#
# peer 128.116.64.3 key 2001 version 2

#
# Server: The server statement causes polling to be done in client mode rather
# than symmetric active. It is an alternative to the peer command
# above. Which you use depends on what you want to achieve.
# The syntax is:
# server addr [ key # ] [ version # ] [ minpoll interval_in_sec ]
# [ prefer ]
#
peer other_sg_hosts version 3
server first_preferred_host version 3 prefer
server second_choiche_host version 3




HTH,
Massimo