ZCC very slow for Non-SuperAdmins

  • 7005057
  • 17-Dec-2009
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2

Situation

ZENworks Configuration Center (ZCC) runs significantly slower for Non-SuperAdmins than SuperAdmins.

Resolution

This is fixed in version 10.2.2 - see KB 7004803 "ZENworks 10 Configuration Management 10.2.2 - update information and list of fixes" which can be found at https://www.novell.com/support
 
Note the following design for 10.3.x and 11 ZENworks:
 
For each login by a non-super admin user, the first hit of a page may be slow as rights are calculated.  But the rights for the page are cached on the primary server.  After that, re-visits to the same page for the same login session should be fast as the ZCC will use the cached rights.
 
See also:
 
/etc/opt/novell/zenworks/datamodel/caching/administration/caching-admin-rights.xml There are 3 configuration options in this file:
  1. The maximum cached rights objects, which is 1000 by default.
  2. The time each object stays in cache when not being referred to, which is 10 minutes by default.
  3. The maximum time any rights object can stay in cache, which is 30 minutes by default.
For the most cases, the default settings should be acceptable.  However, this file can be modified, but NOTE:  first make a backup outside of zenworks folder for safe keeping.
 
 
Example:
 
timeToIdleSeconds=3600
So that the cached information can stay up to one hour being idle, which is the time we though of using for the ZCC timeout as well.
timeToLiveSeconds=7200
So that only after more than 2 hours being logged-in to ZCC the rights cache needs to be rebuild.
 
Caution:  Test carefully.   Downside:  Increasing those times will cause changes to an administrative user's rights configurationto be delayed in activating... up to 2 hours without manual logout from ZCC.