Performance optimization for ZLM 7.2/7.3 server

  • 3586984
  • 11-Mar-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

Suggestions to get a better performance from ZLM server 7.2.

Resolution

1) Increase java memory for novell-zenserver from 512MB to 1024MB. In the /etc/init.d/novell-zenserver file, set the value of CATALINA_OPTS to "-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=128m".

2) Similarly, increase java memory for novell-zenloader from 256MB to 512MB. In the /opt/novell/zenworks/bin/zenloader file, set the value of JAVAOPTS to "-server -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m".

3) Optimizing the database (say Postgresql) as suggested in the ZLM admin guide.
It is assumed that your ZLM server has 2GB of RAM or more.

4) Specifically for mirroring: Increase java memory for zlmmirror from 128MB to 256MB.
In the /opt/novell/zenworks/bin/zlmmirror file, change the value of -Xmx128m to -Xmx256m in the
section labeled "Actually call zlmmirror".  This can also fix the OutOfMemory error you
may encounter when mirroring.

5) Similarly for zlman (to avoid OutOfMemory errors) increase java memory to 512MB by defining the variable ZLMAN_OPTS in the file /opt/novell/zenworks/bin/zlman as shown below:
------------------
ZLMAN_OPTS="-Xms512m -Xmx512m"
# Actually call zlman
/opt/novell/zenworks/lib/SunJava2-2.4/bin/java $ZLMAN_OPTS -Djava.security.egd=file:/dev/urandom com.novell.zenworks.zlman.ZLMan --args-file $ZLMAN_ARGS
RESULT=$?
-----------------

Note: If more system memory is available on the ZLM server, java memory for bullet 1 and 2 can be set up to about 3GB on 64bit SLES, and 2GB on 32bit SLES.

Change Log

08 Sep 09 mmorales: Minor grammar fix.
2 Sep 09 mmorales: Added internal information about max java memory allocation.

Moises Morales 01/12/08: Added bullet '5', increasing memory for zlman