Operating System - HP-UX
1752795 Members
6080 Online
108789 Solutions
New Discussion юеВ

How to verify NTP among nodes in mc/sg ?

 
SOLVED
Go to solution
Rahul Sharma_4
Advisor

How to verify NTP among nodes in mc/sg ?

Hi,
In order to ensure that all nodes should be using a common time source - I should be using Network Time Protocal (NTP) for the mc/sg cluster. Could you please let me know (/refer pointers to) how to verify and setup NTP among nodes.

Thanks a lot !
3 REPLIES 3
Naveej.K.A
Honored Contributor
Solution

Re: How to verify NTP among nodes in mc/sg ?

Rahul,

check the attached. page 11 has it all..

Before installing Service Guard you need to set up a few things in order for the
system to work effectively. You will need to mirror the boot disks on both
machines, set up Network Time Protocol (NTP), and setup Domain Name
Service (DNS).
Configure NTP
To configure NTP follow these steps on both machines: -
# vi /etc/ntp.conf
server 127.127.1.1
peer 192.168.1.2 (IP address of other node)
# vi /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=├в 192.168.1.2├в
export XNTPD=1
# /sbin/init.d/xntpd start
To check that NTP is running, use the following command: -
# ntpq ├в p
(NOTE: - you will need to wait for about 5 minutes for the servers to sync)
The output should be something like this: -
remote refid st t when poll reach delay offset disp
=======================================================================
LOCAL(1 LOCAL(1) 3 l 54 64 377 0.00 0.000 10.01
*pch2test LOCAL(1) 4 u 545 1024 377

Regard
practice makes a man perfect!!!
Nguyen Anh Tien
Honored Contributor

Re: How to verify NTP among nodes in mc/sg ?

see attached doc for detail
HP is simple
Rahul Sharma_4
Advisor

Re: How to verify NTP among nodes in mc/sg ?

Many Many thanks to you !! - I 've got it all now. U guys have made my day -- wish u a very pleasant day as well :)

cheers!