Enable ntp client

Hi,I need enable ntp client on solaris system, how can i do this? and the O/S have oracle installed. What should I pay attention?
[143 byte] By [sunone0001a] at [2007-11-27 6:42:05]
# 1
Look in /etc/inet for a sample client file.
timevansa at 2007-7-12 18:12:01 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
A quick way is to enter a cron that runs at whatever cycle you would like./usr/sbin/ntpdate -s <SOMESERVERNAME>
Lee_McCreerya at 2007-7-12 18:12:01 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
Create a file named /etc/inet/ntp.conf, which in its most basic form just contains a server name:server <server name or ip>if running solaris 10, also run 'svcadm enable ntp' .7/M.
mAbrantea at 2007-7-12 18:12:01 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

nice clean way is to create the /etc/inet/ntp.conf file with the following contents:

server ip_of_timeserver

server ip_of_timeserver

server ip_of_timeserver

logfile /var/ntp/ntp.log

driftfile /var/ntp/ntp.drift

server 127.127.1.0

fudge 127.127.1.0 stratum 8

replacing ip_of_timeserver with the IP of the server or servers (make 3 the same if theres just 1).

then stop and start /etc/init.d/xntpd

you can monitor the progress by using ntptrace or by using the interactive utility ntpq (use show peers).

using ntptrace, if it ever shows as a "stratum 16" server, it means that it is no-longer timesynched, and is broken. The stratum number should always be +1 of the upstream timeserver.

give it a while to synch though, it takes a few minutes.

Rob_BWa at 2007-7-12 18:12:01 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...