change time on netware server

kenny_klbn
kenny_klbn used Ask the Experts™
on
hi experts,
netware server is 8 hours behind actual time. Server also hosting other services such as Groupwise MTA and GWIA. How do i change the time on netware? attached Screenshot shows console of server with version and time infor.   console
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

SET TIME

The SET TIME console command simply sets the NetWare server's internal clock and calendar. There are two command-line parameters:
SET TIME [month/day/year] [hour:minute:second]
The first is the date, which is displayed as month/day/year when you get help for the command (HELP SET TIME <Enter>). However, the date may be entered as day/month/year or month/day/year. You must keep the year as the third entry, as entering the year in either of the other two spaces will cause misinterpreted data.
The second is the time, which must be entered in the form hh:mm:ss. However, you can leave the seconds off if you wish.
After resetting the time, you may be prompted with the following warning:
Warning: Time synchronization is active on this server. Are you sure you want to change the time?
It's important that you have your hardware clock set (whether by DOS or another means) before you bring your server up. This will ensure that you have the least amount of time variance--especially in a multi-server environment.
If you are running eDirectory on a multi-server network, changing a secondary server's time may not be desirable because you run the risk of throwing that server into "synthetic time." Changing the time on the Primary time server can cause problems if the time is set behind any secondary servers that are getting their time from this Primary time server. You then also run the risk of throwing the servers into synthetic time.
Synthetic time occurs when time synchronization is lost because the server's local time has been set backwards. Synthetic time is the process of creating timestamps from the most recent timestamp in eDirectory. From this timestamp, the event counter increments until it reaches 65,535 events, then another second is added to time and the event counter continues to increment. This process continues until real time catches up with the synthetic time stamps being used.
You can type "N" for NO to not change the time, or "Y" or YES to go ahead and change the time anyway.
An example would be in the form of:
SET TIME November 29 2001 10:11:12 pm

Open in new window

To verify the server's date and time, type TIME at the server prompt and press <Enter>. Output similar to the following will appear on the server console:
Time Zone String: "MST7MDT"
DST Status: ON
DST Start: Sunday, April 7, 2002 2:00:00 am MST
DST End: Sunday, October 28, 2001 2:00:00 am MDT
Time synchronization is active
Time is synchronized to the network
Thursday, September 27, 2001 10:39:29 pm UTC
Thursday, September 27, 2001 4:39:29 pm MDT

Open in new window

SET TIME ZONE

The SET TIME ZONE console command can be used to either display the server's current time zone or set the server's time zone. To display the server's current time zone, type the following on the server console:
SET TIME ZONE <Enter>

Open in new window

Text similar to the following will be displayed on the server's console:
Time zone is set to: MST7MDT

Open in new window

In order to set the server's time zone, you need to use the command's command-line parameter:
SET TIME ZONE [hour [daylight]]

Open in new window

An example of this would be:
SET TIME Zone MST7MDT

Open in new window

The following are valid Standard Time Zone Settings:

Time ZoneStandard Time ZoneDaylight Savings Time"Australia, Central Time"
CST, '-09:30'
CSut, '+1:00'
"Australia, Eastern Time"
EST, '-10:00'
ESuT, '+1:00'
"Australia, Western Time"
WST, '-08:00'
WSuT, ' +1:00'
"Belgium, Mid-European Time"
MET, '-1:00'
MEST, '+1:00'
"Canada, Newfoundland Time"
STD: NST, '+03:30'
NDT, '+1:00'
"Canada, Atlantic Time"
AST, '+04:00'
ADT, '+1:00'
"Canada, Central Time"
CST, '+06:00'
CDT, '+1:00'
"Canada, Eastern Time"
EST, '+05:00'
EDT, '+1:00'
"Canada, Mountain Time"
MST, '+07:00'
MDT, '+1:00'
"Canada, Pacific Time"
PST, '+08:00'
PDT, '+1:00'
"England, Greenwich Mean Time"
STD: GMT, '+00:00'
BST, '+1:00'
"France, Mid-European Time"
MET, '-01:00'
MEST, '+1:00'
"Germany, Mid-European Time"
MET, '-01:00'
MEST, '+1:00'
"India, Indian Time"
IST, '-05:30'

"Italy, Mid-European Time"
MET, '-01:00
MEST, '+1:00'
"Ireland, Greenwich Mean Time"
STD: GMT, '+00:00'
BST, '+1:00'
"Japan, Japan Time"
JST, '-09:00'

"Luxemburg, Mid-European Time"
MET, '-01:00'
DAY: MEST, '+1:00'
"Netherlands, Mid-European Time"
MET, '-01:00'
DAY: MEST, '+1:00
"New Zealand, New Zealand Time"
STD: NZST, '-12:00'
DAY: NZDT, '+1:00'
"United Kingdom, Greenwich Mean Time"
GMT, '+00:00'
DAY BST, '+1:00'
"United States of America, Alaskan Time"
KST, '+09:00'
KDT, '+1:00'
"United States of America, Atlantic Time"
AST, '+04:00
ADT, '+1:00'
"United States of America, Central Time"
CST, '+06:00'
CDT, '+1:00'
"United States of America, Eastern Time"
EST, '+05:00'
EDT, '+1:00'
"United States of America, Hawaiian-Aleutian Time"
HST, '+10:00'
HDT, '+1:00'
"United States of America, Mountain Time"
MST, '+O7:00'
MDT, '+1:00'
"United States of America, Pacific Time"
PST, '+O8:00'
PDT, '+1:00'
The time zone is composed of three elements. For example: MST7MDT is made up of:
MST = First Component
7 = Second Component  SET TIME 
The SET TIME console command simply sets the NetWare server's  internal clock and calendar. There are two command-line parameters: 
SET TIME [month/day/year] [hour:minute:second] 
The first is the date, which is displayed as month/day/year when you  get help for the command (HELP SET TIME <Enter>). However, the  date may be entered as day/month/year or month/day/year. You must keep  the year as the third entry, as entering the year in either of the other  two spaces will cause misinterpreted data. 
The second is the time, which must be entered in the form hh:mm:ss.  However, you can leave the seconds off if you wish. 
After resetting the time, you may be prompted with the following  warning: 
Warning:  Time synchronization is active on this server. Are you sure you want to  change the time?  
It's important that you have your hardware clock set (whether by DOS  or another means) before you bring your server up. This will ensure that  you have the least amount of time variance--especially in a  multi-server environment. 
If you are running eDirectory on a multi-server network, changing a  secondary server's time may not be desirable because you run the risk of  throwing that server into "synthetic time." Changing the time on the  Primary time server can cause problems if the time is set behind any  secondary servers that are getting their time from this Primary time  server. You then also run the risk of throwing the servers into  synthetic time. 
Synthetic time occurs when time synchronization is lost because the  server's local time has been set backwards. Synthetic time is the  process of creating timestamps from the most recent timestamp in  eDirectory. From this timestamp, the event counter increments until it  reaches 65,535 events, then another second is added to time and the  event counter continues to increment. This process continues until real  time catches up with the synthetic time stamps being used. 
You can type "N" for NO to not change the time, or "Y" or YES to go  ahead and change the time anyway. 
An example would be in the form of: SET TIME November 29 2001 10:11:12 pm 
To verify the server's date and time, type TIME at the server prompt  and press <Enter>. Output similar to the following will appear on  the server console: Time Zone String: "MST7MDT"
DST Status: ON
DST Start: Sunday, April 7, 2002 2:00:00 am MST
DST End: Sunday, October 28, 2001 2:00:00 am MDT
Time synchronization is active
Time is synchronized to the network
Thursday, September 27, 2001 10:39:29 pm UTC
Thursday, September 27, 2001 4:39:29 pm MDT    SET TIME ZONE 
The SET TIME ZONE console command can be used to either display the  server's current time zone or set the server's time zone. To display the  server's current time zone, type the following on the server console: SET TIME ZONE <Enter> 
Text similar to the following will be displayed on the server's  console: Time zone is set to: MST7MDT 
In order to set the server's time zone, you need to use the command's  command-line parameter: SET TIME ZONE [hour [daylight]] 
An example of this would be: SET TIME Zone MST7MDT 
The following are valid Standard Time Zone Settings: 
      Time Zone     Standard Time Zone     Daylight Savings Time      
"Australia, Central Time"   
CST, '-09:30'   
CSut, '+1:00'     
"Australia, Eastern Time"   
EST, '-10:00'   
ESuT, '+1:00'     
"Australia, Western Time"   
WST, '-08:00'   
WSuT, ' +1:00'     
"Belgium, Mid-European Time"   
MET, '-1:00'   
MEST, '+1:00'     
"Canada, Newfoundland Time"   
STD: NST, '+03:30'   
NDT, '+1:00'     
"Canada, Atlantic Time"   
AST, '+04:00'   
ADT, '+1:00'     
"Canada, Central Time"   
CST, '+06:00'   
CDT, '+1:00'     
"Canada, Eastern Time"   
EST, '+05:00'   
EDT, '+1:00'     
"Canada, Mountain Time"   
MST, '+07:00'   
MDT, '+1:00'     
"Canada, Pacific Time"   
PST, '+08:00'   
PDT, '+1:00'     
"England, Greenwich Mean Time"   
STD: GMT, '+00:00'   
BST, '+1:00'     
"France, Mid-European Time"   
MET, '-01:00'   
MEST, '+1:00'     
"Germany, Mid-European Time"   
MET, '-01:00'   
MEST, '+1:00'     
"India, Indian Time"   
IST, '-05:30'    
    
"Italy, Mid-European Time"   
MET, '-01:00   
MEST, '+1:00'     
"Ireland, Greenwich Mean Time"   
STD: GMT, '+00:00'   
BST, '+1:00'     
"Japan, Japan Time"   
JST, '-09:00'    
    
"Luxemburg, Mid-European Time"   
MET, '-01:00'   
DAY: MEST, '+1:00'     
"Netherlands, Mid-European Time"   
MET, '-01:00'   
DAY: MEST, '+1:00     
"New Zealand, New Zealand Time"   
STD: NZST, '-12:00'   
DAY: NZDT, '+1:00'     
"United Kingdom, Greenwich Mean Time"   
GMT, '+00:00'   
DAY BST, '+1:00'     
"United States of America, Alaskan Time"   
KST, '+09:00'   
KDT, '+1:00'     
"United States of America, Atlantic Time"   
AST, '+04:00   
ADT, '+1:00'     
"United States of America, Central Time"   
CST, '+06:00'   
CDT, '+1:00'     
"United States of America, Eastern Time"   
EST, '+05:00'   
EDT, '+1:00'     
"United States of America, Hawaiian-Aleutian Time"   
HST, '+10:00'   
HDT, '+1:00'     
"United States of America, Mountain Time"   
MST, '+O7:00'   
MDT, '+1:00'     
"United States of America, Pacific Time"   
PST, '+O8:00'   
PDT, '+1:00'    
The time zone is composed of three elements. For example: MST7MDT is  made up of: MST = First Component
7 = Second Component
MDT = Third Component 
The first component indicates the type of time. In this case, MST is  Mountain Standard Time. The second component is the time relative to  Grenwich Mean Time (GMT), which is an international time standard. In  this case, MST is +7 hours relative to GMT. The third component  indicates if Daylight Savings Time is used in the time zone. In this  case, MDT means Mountain Daylight Time, which is a type of Daylight  Savings Time. This variable gives the NetWare server all the information  it needs to change the time when Daylight Savings Time goes on and goes  off.

MDT = Third Component

Open in new window

The first component indicates the type of time. In this case, MST is Mountain Standard Time. The second component is the time relative to Grenwich Mean Time (GMT), which is an international time standard. In this case, MST is +7 hours relative to GMT. The third component indicates if Daylight Savings Time is used in the time zone. In this case, MDT means Mountain Daylight Time, which is a type of Daylight Savings Time. This variable gives the NetWare server all the information it needs to change the time when Daylight Savings Time goes on and goes off.
Systems Administrator
Commented:
You can use the SET TIME command, but the best way set the time on a Netware server is to configure it to use an external timesource.

In Monitor.nlm - Server Parameters - Time set TIMESYNC Configured Sources to "On", and then in TYMESYNC Time Sources enter one or two public NTP servers, e.g.

0.pool.ntp.org:123

(the :123 suffix is to tell the server that this is an NTP source)

Choose  a server from the NTP pool project:

http://www.pool.ntp.org/

See the Netware documentation here:

http://www.novell.com/documentation/nw6p/?page=/documentation/nw6p/time_enu/data/abzawc8.html

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial