Novell Home

Using ZENworks for Servers to automate patching NetWare servers with new Time Zone Information

Novell Cool Solutions: Feature
By James Davey

Rate This Page

Reader Rating  stars  from 2 ratings

Digg This - Slashdot This

Posted: 1 Mar 2007
 

When patching NetWare servers for the new Time Zone data, there are three steps that need to be done. ZfS can do them all quickly and easily.

The steps are:

  1. Edit Autoexec.ncf and change the START/END OF DAYLIGHT SAVINGS TIME parameters to match the new dates (SECOND SUNDAY MARCH, FIRST SUNDAY NOVEMBER)
  2. Run the SET command to make those changes active without restarting the servers.
  3. Patch Java on the servers.

Steps 1 and 2 above can be done with the Novell released tool DSTSHIFT.NLM as described in TID 3397648. However, without ZfS, the user will have to manually run the utility at the console of every NetWare server.

Step 3 above is accomplished by downloading the Java patch from Sun Microsystems as described in TID 3980430 and manually running it on each server.

How about a ZfS distribution that can update all your servers at once in minutes!

Follow the steps below:

1. Create a new ZfS Server Software Package called TimeZone Update, and open the Properties page.

2. On the Copy File tab, copy the TZUPDATER.JAR file you downloaded from Sun Microsystems to somewhere under the sys: volume. In the example it would go to a folder called "updates".



3. Under the Set Commands tab, add any server to get the available commands, and select "Start of Daylight Saving Time" and "End of Daylight Saving Time". Edit them and set the value to the new information and be certain to check the Console and Autoexec.ncf boxes.



4. Finally, under the Post Installation, Script tab, enter the script "java -jar /updates/tzupdater.jar -u -v". This assumes you put tzupdater.jar in the folder sys:\updates.



5. Compile the package, create a ZfS distribution using this package, and send it to all your NetWare servers. Within minutes, all your servers will be patched without visiting a single one!

To verify your work, type time from any server console and you should see the new Time Zone information displayed.

If you have any questions you may contact James at jdaveyTAKETHISOUT@glenbrook.k12.il.us

Reader Comments

  • Excellent, but if you instead copy and run the DSTSHIFT.NLM, it will work for all servers worldwide. With what you have you would only push this to the servers in the affected timezones. We have servers that do not need this push, or it will run, but not affect them. i.e. Arizona If you run DSTSHIFT, it has logic in it to not run against those servers.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.