Change time server to another (No internet connection)

Hi,

I have an internal closed network with a DC (lets call this one 'PRIMSERV') acting as time server for a few linux servers. This network will never get a connection "to the outside world" and therefor I cannot use any of the known stratum 1 servers. To resolve this issue I recently added another Windows Server 2003 connected to a GPS unit. (We'll call this one 'SECSERV')

Question is: How do I change the time service to the new server?

I have tried to activate the time service on the new server through gpedit.msc, but PRIMSERV (which is also holds the AD) does not synchronize to SECSRV. Not even with 'net time /setsntp:PRIMSERV'  or 'net time PRIMSERV /set /y'

Any ideas?

Regards, Kim
kramaricAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ganongjCommented:
Kim,

If your example is correct, you should be using 'net time /setsntp:SECSRV'  - the command you show above just sets it to itself.

Jim
0
Nat_cCommented:
Shouldn't you be using 'net time /setsntp:SECSRV' if you want to the time on PRIMSERV FROM SECSRV

Nat
0
isd503Commented:
You may have already checked this, but I ran into a similar issue when trying to synchronize my primary ADC to my primary router using NTP.  I ended up synching my router to a stratum 1 server on the Internet.  I configured my primary ADC to pull its time from the router and further configured it as the NTP server for the domain.

All the other machines in the domain were configured to use NT5DS (domain heirarchy synchronization).  I had a lot of problems with time being significantly different on several machines in the domain.  I activated a GPO pointing all the machines to the primary ADC using NTP and have had no sync problems since then.

Also, be aware that if you activate a GPO, you will not see the GPO settings when you type net time /querysntp from a command prompt.  You will get whatever is listed in the machine registry.  Remember that the GPO overrides registry settings on the local machine.  Make sure the GPO is successfully being written to the target machines.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

kramaricAuthor Commented:
Thanks for your input!

ganongj & Nat c - You are both right. I inadvertently typed the wrong server. I did mean to write what you have suggested.

isd503 - I do have it set as a GPO. Maybe you can provide answers to a few questions:
1. How can I be sure that the 'PRIMSERV' is synchronizing against the 'SECSRV'?
2. The servers are in a live environment and I would really really be Mr unpopular if they need to be rebooted in order to recieve the GPO's. Is reboot neccesary or is there a workaround?

In the same setup I just noticed that my Red Hat Linux doesn't synch to the right server as well. With ntpq -p it lists both the timeserver and itself (LOCAL). The second line with LOCAL is marked with a *, which looks to me that its using itself as the primary time server.
Also did a ntptrace which also shows that its using itself as the time server.

Any clues?
0
ganongjCommented:
Hi Kramaric,

1. the "net time" command returns the time at the time server and also returns the name of the time server.
2. there are alot of options to do this type of thing - but check out this guy's http://www.gpoguy.com/Tools.htm gporefresh utility.  Also, check out his utilities to show the time that the last gpo was applied.  
(3) for Redhat - edit the entry at /etc/ntp.conf to point to the time server of your choice.

Good luck!

Jim
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kramaricAuthor Commented:
Hi Jim,

Thanks for your input. I'll follow up on that link tomorrow.

1. Good point. I missed missed that one.
3.The ntp.conf has entries for both the PRIMSERV and itself as "fudge". No idea what fudge is, but it points to itself (127.0.0.1). Someone also told me add the PRIMSERV ip into a ntp file in the ntpd subfolder (Not sure I can remember the correct name for subfolder without looking at it).

Anyway, I'll be back with a comment when I've checked out the link.

Best regards,
Kim
0
isd503Commented:
I have a Windows 2003 AD domain so I am answering your question from that perspective.  One article which really helped me get things straight in my environment was this one:  http://support.microsoft.com/kb/816042

I would speculate you could perceive your GPS unit as an external time source and sync it with your primary ADC.  The primary ADC is the one which holds the PDC FSMO role:  http://www.petri.co.il/determining_fsmo_role_holders.htm

I would set the ADC with the PDC role up to sync with the GPS via NTP (if possible), and then sync the other servers to sync with the primary ADC via NTP or NT5DS, whichever one will work with your Linux servers.  I would try to Google syncing a Linux box with Windows 2003 and see what you come up with.

Let me know if your domain is setup differently and I will try to help you further.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.