Friday, June 22, 2007

Rebuilding a Zenworks Server

If you have to blow away your zenworks for desktops server, make sure you delete the eDirectory objects before you install your new server, or it may not work properly.

Some of the eDirectory Objects include (using servername "zen" as an example):
ZEN-ZIS (Imaging Server object)
WOL Service_ZEN (wake on lan service)
Desktop Management Database_ZEN
Inventory Database_ZEN
Inventory Service_ZEN

*There are many other objects that should be deleted, but are not zenworks related so I will not be listing them here. there may be other zenworks objects as well, this is just for ZFD (Zen for desktops) as that is all I am running.


Background:
After a lengthy and unsuccessfuly repair process on my crashed zenworks server I decided to blow away the server and rebuild it since there wasn't any user data other than my workstation images (Bad VCU! Bad VCU! ...I wont go into this here...). After rebuilding the server, Zenworks Imaging would not work. I could take/restore an image manually, but automatic imaging attempts would return "no work to do" and never take the image. In the server logs I had the following error in the image server log (sys:system\zimglog.xml):

Status> Failure
ErrorMessage> Undefined error message
Timestamp> Fri Jun 22 14:03:36 2007

After pulling my hair out because of the "undefined error message" I decided to check the tree for any zen objects, delete them, and reinstall zenworks. After doing this, automatic imaging started working instantaneously. Specifically, the old ZEN-ZIS object was causing the problem.



Lesson of the Day: Delete server objects in eDirectory after blowing away a server, but before installing a new server of the same name.

1 comment:

Anonymous said...

Good post.