The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with network print server elzalem IP Networking 3 11-15-2007 03:31 PM
How To Provide Time Sync Using Nts-150 Time Server On Unix Network? pesty UNIX for Advanced & Expert Users 2 03-22-2007 01:20 AM
change network time protocol CBarraford OS X (Apple) 4 03-05-2007 07:12 PM
home network - can you have a primary name server, or only a caching-only name server xyyz UNIX for Dummies Questions & Answers 3 02-18-2004 12:13 PM
RH 9 and Network Time Protocol jaredGalen IP Networking 1 12-08-2003 10:08 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-12-2008
Registered User
 

Join Date: Jul 2007
Posts: 60
Question Network Time server

I have NTS server with GMT time ,I want to make this server as a time reference for all unix servers that I have in my network.I knew 'ntpdate' command but what I need is to make the time on unix servers in my country local time which is GMT+3???Any help??
Thanks in advance
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-12-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,042
Set the timezone on your server. ( /etc/default/init ) Timeservers and time in general are based on GMT so all timeservers use it.
Reply With Quote
  #3 (permalink)  
Old 04-13-2008
Registered User
 

Join Date: Jul 2007
Posts: 60
Question

Hello reborg,
so if i set the time zone on unix server and then issued 'ntpdate' command the time will be my country local time...

Thanx
Reply With Quote
  #4 (permalink)  
Old 04-13-2008
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 760
There is no such thing as local time for Unix. Unix kernel internal clock always use universal time a.k.a. UTC a.k.a. GMT. NTP is also using this same unique reference time and do not care about timezone, hopefully.

The time displayed will depend on an environment variable (TZ) and so may vary depending on the user even on a single machine.

With Solaris, the default timezone users will inherit if they do not choose otherwise is defined in the /etc/default/init file TZ variable.
Reply With Quote
  #5 (permalink)  
Old 04-13-2008
Registered User
 

Join Date: Jul 2007
Posts: 60
Question

Hello jlliagre,

if I ahve one NTP server and many unix machine and I want to synchrounize time between these servers and make ntp server as a time reference for all servers..How could I achieve this????
Reply With Quote
  #6 (permalink)  
Old 04-13-2008
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 760
Just configure and enable ntp on the clients.
Reply With Quote
  #7 (permalink)  
Old 04-13-2008
Registered User
 

Join Date: Jul 2007
Posts: 60
Question

jlliagre could you please tell me how to do this
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 05:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66