An Example Scenario: In this scenario, assume that the ZENworks server is running on an IBM
x346 with two Xeon processors and 4 GB of RAM. The database is running on the same server. 2
GB of RAM is dedicated to the other ZENworks processes, 1 GB of RAM to the operating system
and non-ZENworks processes, and the remaining 1 GB of RAM is for PostgreSQL.
To optimize the server database performance:
1 In the /etc/sysctl.conf file, set the value of kernel.shmmax to 1572864000 so
that the process can have 1.5 GB of shared memory.
The shmmax kernel parameter allows PostgreSQL to consume more shared memory. By
default, the kernel only allows a process to consume 32 MB of shared memory.
NOTE: This step is not applicable if ZENworks 7.2 Linux Management is running on SLES 10
device because the value of kernel.shmmax is 4 GB by default on SLES 10.
2 In the postgresql.conf file, configure the following parameters:
shared_buffers = 131072
sort_mem = 10240
vacuum_mem = 102400
wal_buffers = 20
checkpoint_segments = 20
3 Reboot the server for the changes to take effect.
9.2.6 Restarting Novell Zenworks Server Services After
Restarting the Database
After restarting the PostgresSQL database on the ZENworks Linux Management Server, the
database connections will be restored in approximately 15 minutes. During this time, the ZENworks
Control Center and zlman utility might display database-connection errors.
To restore the connections immediately, restart the novell zenworks services by running the
following command:
/opt/novell/zenworks/bin/zlm-config --restart
9.3 Maintaining the ZENworks Data Store on
Oracle
The following sections provide instructions for backing up and recovering a ZENworks Data Store
using Oracle:
Section 9.3.1, "Backup and Recovery Solutions," on page 90
Section 9.3.2, "Setting Environment Variables," on page 90
Section 9.3.3, "Connecting to the Database," on page 91
Section 9.3.4, "Starting the Database," on page 91
Section 9.3.5, "Backing Up the Database," on page 91
ZENworks Object Store and Data Store Maintenance
89