11-25-2002
Q: Have you tried NTP?
Thank you! I did look it up and was able to synchronize my time for now. But is there an NTP cron that I need to setup in order to have it synchronize on a regular basis... like a week or 10 days?
What is the standard practice that admins follow?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All
What is the best way to keep the system clock synchronized? I have looked at ntp and netdate. Is one good over the other? Basically I want to know if what is the most secure way to keep the system clock insync. netdate will require me to open up some port 37... is this safe? ntp also... (1 Reply)
Discussion started by: skotapal
1 Replies
2. UNIX for Advanced & Expert Users
i have an HP UNIX box w/c acts as ntp server... I tried to change the time plus 8 minutes... the problem is that the other HP UNIX ntp client did not follow the time... when I tried to restart ntp client... using stop start it only sync to the server once... when I issue the command "ntpq -p", w/c... (2 Replies)
Discussion started by: inquirer
2 Replies
3. UNIX for Advanced & Expert Users
I have 2 hosts (server and client), on the client side I mount remote directory (through NFS). How can I synchronize content of 2 directories (one on the client, and one on the server, mounted to the client)? i.e. when client is connected to the server synchronization process is automatically... (5 Replies)
Discussion started by: Hitori
5 Replies
4. AIX
I want to synchronize my AIX 5.3 server with the server NTP windows using the ntpdate commande but there was a difference about 9 hours after synchro. here is my script and the result
# date
Tue Apr 10 18:58:06 CDT 2007
# ntpdate 192.168.10.212
10 Apr 09:58:19 ntpdate: step time server... (5 Replies)
Discussion started by: tovohery
5 Replies
5. UNIX for Dummies Questions & Answers
I am new on UNIX system. I am administrating a server belongs to a small department. It has Debian installed, and used as mail, web server. I am trying to synchronize to a different machine which has Fedora installed. Can anybody tell me how to copy exact image of one server to a different for ... (3 Replies)
Discussion started by: kumarrana
3 Replies
6. UNIX for Dummies Questions & Answers
Can anybody help me on how to do directory synchronization. i have been reading about rsync and filesync but apparently it seems to me that synchronization is from a source directory to a destination directory only. how about if vice versa - wherein i need to synchronize both directories, updating... (3 Replies)
Discussion started by: splakang25
3 Replies
7. Shell Programming and Scripting
I want to do a synchronization from local to ftp.
local:
name modified time
a.txt 10:04
c.txt 10:05
ftp:
b.txt 10:00
c.txt 10:05
final result would be
a.txt copy to ftp
b.txt deleted
c.txt nothing to do
Is there a good way to do so?
Thanks. (3 Replies)
Discussion started by: uativan
3 Replies
8. Shell Programming and Scripting
Hi guys and girls :)
I have some problem with folder synchronization.
I have a hudson job that make special build from svn data (check outing full project every time), after build folder is synchronized with second folder lets call them build and destination :)
Currently I'm copying build to... (1 Reply)
Discussion started by: cvi
1 Replies
9. Solaris
Hi everyone!
I wonder about the rsync. The purpose I just want:
synchronization from server 1 to server 2 by rsync, example:
Node 1: /app/logs/*
Node 2: /app/logs/*
in Node 1 when I used rsync -aru /app/logs/ node2:/app/logs/, then everything will be copied and update to node 2. But,... (1 Reply)
Discussion started by: trantuananh24hg
1 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
it is assumed that the five processes are available according to the graph (cycle is formed of five process). ... (1 Reply)
Discussion started by: mariam40
1 Replies
timed(8) System Manager's Manual timed(8)
NAME
timed - The network time daemon
SYNOPSIS
timed [-tME] [-n | -i network]
FLAGS
Specifies the names of the networks (as defined in the /etc/networks file) to be excluded from clock synchronization. Each network name
that is an argument to the -i flag is added to the list of networks that the timed daemon will ignore. If the -i flag is used, timed
accesses all networks to which the host is connected except for the specified networks.
If neither the -i flag nor the -n flag is used, timed tries to access all the network devices connected to the local host.
Do not use the -i and -n flags together. Specifies that a machine can become the time server if the master time server becomes
inoperative. See the Restrictions section for more information. Overrides the input of slaves. Use the -E flag in conjunction
with the -M flag. It specifies that a master timed system will not average the times of the slaves to calculate the network time.
Instead, it distributes the time of its local host as the network time. This flag allows a master timed system to distribute time
to a network while the network time is controlled by an outside agent (such as the Network Time Protocol (NTP)). Specifies the
names of the networks (as defined in the /etc/networks file) to be included in clock synchronization. When timed is started, it
gathers information about all the network devices connected to the local host. The network argument to the -n flag is the name of
the network that timed should access. If the -n flag is used, only the specified networks are accessed.
If neither the -n flag nor the -i flag is used, timed tries to access all the network devices connected to the local host.
Do not use the -n and -i flags together. Enables tracing of messages received in /usr/adm/timed.log.
DESCRIPTION
The timed daemon is not invoked at boot time by default. You can use /usr/sbin/timedsetup to configure the timed daemon.
The timed daemon synchronizes the host's clock with those of other machines on the local area network that are also running the timed dae-
mon. The timed daemon slows the clocks of some machines and speeds up the clocks on other machines to create an average network time. The
average network time is computed from measurements of clock differences using the Internet Control Message Protocol ICMP timestamp request
message.
The service provided by timed is based on a master/slave (client/server) scheme. When timed is started on a machine, it asks the master
timed daemon for the network time and sets the host's clock to that time. After that, the host accepts synchronization messages periodi-
cally sent by the master and calls the adjtime system call to perform the needed corrections on the host's clock.
The timed daemon also communicates with the date command to set the date globally, and with timedc, the timed control program.
If the machine running the master ceases to function, a machine that is running the timed daemon with the -M flag becomes the new master
timed daemon.
Note
The timed daemon is provided for compatibility. Tru64 UNIX also provides support for the Network Time Protocol through the xntpd daemon.
You should use NTP for time synchronization. If you need to run both NTP and the timed daemon, you must run the timed daemon with the -E
flag.
If you plan to run both the timed daemon and NTP, you should also configure NTP first.
RESTRICTIONS
In configurations with two or more hosts each connected to the same two or more subnetworks, only one of the host can run the timed with
the -M option.
FILES
Specifies the command path Contains messages traced for the timed command Contains information about the known networks
RELATED INFORMATION
Commands: date(1), timedc(8), timedsetup(8)
Daemons: xntpd(8)
Functions: adjtime(2), gettimeofday(2) delim off
timed(8)