Date Synchronization


 
Thread Tools Search this Thread
Operating Systems AIX Date Synchronization
# 1  
Old 04-11-2007
Date Synchronization

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[499828]: step time server 192.168.10.212 offset -32399.029904 sec

# date
Tue Apr 10 09:58:24 CDT 2007

My time zone is GMT + 3

Any help?
Regards
# 2  
Old 04-13-2007
1. verify your config in /etc/ntp.conf
2. "stopsrc -s xntpd"
3. ntpdate <your time server>
4. "startsrc -s xntpd"
# 3  
Old 04-16-2007
dear

please follow the following steps to let your server be synchronized with your NTP server:

1- stop the xntpd daemon as below
stopsrc -s xntpd
2- your time zone is GMT+3 but your aix server time zone is CDT (GMT-5) which is the reason of the differnce, so try to change your time zone (use smitty chtz) to any thing that is (GMT+3 or CUT+3, the same)

3- reboot your server for the changes to take effect

4- repeat step 1

5- add the following line to the /etc/ntp.conf file
server <ip address of yourr ntp server>

6- ntpdate <ip address of yourr ntp server>

7- start the xntpd daemon

startsrc -s xntpd

8- now check the date on both servers (they should be synchronized)
# 4  
Old 04-17-2007
You do not have to reboot.
# 5  
Old 04-18-2007
but when we change the timezone using smitty, then it says that the change will take effect on the next reboot?
# 6  
Old 04-19-2007
The reboot is just to ensure that the tz changes are picked up by all processes. Essentially, if you don't reboot, then all running processes prior to the "chtz" command will continue to use the old tz variable info. If you can restart any apps, databases, etc. that you think will be affected, then you don't have to reboot.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Synchronization process

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

2. Solaris

I need to synchronization by rsync

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

3. Shell Programming and Scripting

Synchronization of folders

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

4. Shell Programming and Scripting

FTP Synchronization

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

5. UNIX for Dummies Questions & Answers

directory synchronization

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

6. UNIX for Dummies Questions & Answers

Server Synchronization

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

7. UNIX for Advanced & Expert Users

Synchronization of 2 directories

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

8. UNIX for Advanced & Expert Users

time synchronization

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

9. UNIX for Dummies Questions & Answers

Time synchronization

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

10. UNIX for Dummies Questions & Answers

Date synchronization

Hi all Is there an easy way to synchronize the time of a Linux server with another server (Linux or Windows). I need to do this on a daily basis so that my clock does is insync. Is synchronizing with an eternal server hazardous to the security of the box? Thanks in advance KS (2 Replies)
Discussion started by: skotapal
2 Replies
Login or Register to Ask a Question