Setting up timeserver


 
Thread Tools Search this Thread
Operating Systems AIX Setting up timeserver
# 1  
Old 05-15-2006
Setting up timeserver

Hi All,

I have 2 AIX Servers 5.2 @ 2 different sites, namely Server A & B. I would like to set Server A as the master time server and B as the client. It is possible through LAN but now i have difficulty implementing it through WAN.

Appreciate if AIX's guru's can lend a helping hand to me.


Thanx
# 2  
Old 05-17-2006
I really need more information about the problems you have through a WAN link. Because if it worked over a LAN it will work over a WAN as long as the NTP client knows where the NTP server actually is. What is in the middle? A router perhaps?
# 3  
Old 05-17-2006
yup, there's a router in the middle. A simple structure is Svr A (10.0.0.1) <--> (NAT IP) <--> router (WAN) <--> (NAT IP) <--> Svr B (192.0.0.1). When i Ping using the hostname, it replied.
1. I've started # startsrc -s xntpd (on both Svr)
2. I've started # startsrc -s timed -a "-M" on the client server
3. Edited ntp.conf -- put in timeserver Svr A

thats about it of what i've done.

Thanx in advance
# 4  
Old 05-17-2006
Have you port forwarding set up on the router to pass data on the NTP port 123? It might be the problem but I am not sure that it is!
# 5  
Old 05-17-2006
all the port in the router had been opened. It's kinda of a straight forward router without no rules or restrictions. Whenever i issue command from client Svr B # setclock A. The result would be connect : a remote host did not respond within the timeout period .
# 6  
Old 05-17-2006
I have just had another look at you reply and noticed you have both xntpd and timed running. You do not need both so stop timed. On you ntp server where is it getting its sync time from? Or are you just concerned with a time syncd network? Could you also send me a copy of the conf files from both machines, that is ntp.conf, ntp.drift, and if there is anything in ntp.trace that as well. Please send them to johnf@caltec.co.uk and I will have a look at them.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies

2. UNIX for Dummies Questions & Answers

Setting PS1

I have set PSI for my prompt using the following command: PS1="${debian_chroot:+($debian_chroot)}\\u@\h:\\\w\a]\ "which produces chrisd@pguk:~]I want to include [ in the beginning but cannot understand the way to do this. Also I want to show only the current directory, not the whole... (4 Replies)
Discussion started by: kristinu
4 Replies

3. UNIX for Dummies Questions & Answers

Setting up Xlaunch

I have a Win7 laptop that I have installed Xming with Xlaunch so that I can remote a Solaris10 server. After the initial install on my Win7 machine what do I need to set and configure to be able to remote Solaris. This is my 3rd day working with Unix. (1 Reply)
Discussion started by: SIFT3R
1 Replies

4. Red Hat

Cronjob setting

Hi there There's a script I would like to run daily every 5 minutes and this job should restart every 12:03AM so it would append to a new file with the following day date format instead of running and updating continuously into one log. I am not sure of the syntaxing, what I did was to set it... (9 Replies)
Discussion started by: hedkandi
9 Replies

5. Shell Programming and Scripting

alias setting

I want to set an alias to connect to sqlplus and also run a command while it it logs in. How can I do that? (4 Replies)
Discussion started by: som.nitk
4 Replies

6. UNIX for Dummies Questions & Answers

Need some help on setting up rsync

I need to "sync" a directory from a prod server to a test server. Rsync is working but it prompts for a password and I'd like to automate the process. The directory on the prod/source server is owned by root, and some subdirectories are only readable by root. On the test/destination servers, I can... (1 Reply)
Discussion started by: LAToro
1 Replies

7. Shell Programming and Scripting

Setting the date.

I am modifying some script and need to have the script reflect the current date. I have the script below. In the section yy="2010",mm="07", dd="12" What would I need to change to have the script automatically input the current year month & date instead of manually updated the script daily? ... (2 Replies)
Discussion started by: libertyforall
2 Replies

8. Shell Programming and Scripting

Setting path

Hi all, I have a java command in a shell script. When i m executing the command from the prompt its working fine. But when i paste the same command in a shell script and execute the shell script it says path not found. Please help. (5 Replies)
Discussion started by: radhika03
5 Replies

9. Shell Programming and Scripting

Setting Ulimit

How do i set ulimit for user (4 Replies)
Discussion started by: Krrishv
4 Replies

10. UNIX for Dummies Questions & Answers

New ip setting

I want to change the IPsetting and the broadcast setting. With ipconfig I get this: hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xx.17x.18x.xx netmask fffffff0 broadcast xx.17x.18x.xx ether yy:0:yy:b6:yy:xx What command(squence) do I use to... (6 Replies)
Discussion started by: kuultak
6 Replies
Login or Register to Ask a Question