Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual page 91

Table of Contents

Advertisement

zlm-pg-vacuum --full: Run the script during a period of less activity or during downtime for
the database server. Depending on the database activity, run the script weekly or bi-weekly. It
performs a full vacuum analyze and exclusively locks tables. It is recommended that you
manually run the
zlm-pg-vacuum --full
steps:
1.Stop all the ZENworks services by executing
2. Execute
zlm-pg-vacuum --full
3. Start all the ZENworks services by executing
Additionally, you can fine-tune the following parameters depending on your memory requirements
and scale:
In the
/etc/sysctl.conf
In the
postgresql.conf
, and
wal_buffers
checkpoint_segments
For more information on how to fine-tune the parameters, see the
/www.postgresql.org/docs/).
Following is a sample scenario that illustrates how you can fine-tune the database parameters. The
values indicated in this scenario are sample values; you must fine-tune it according to your
requirements. For more information on how to fine-tune the parameters, see the
documentation (http://www.postgresql.org/docs/)
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
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.3 Linux Management is running on SLES 10
device because the value of
2 In the
postgresql.conf
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.
script once a month by performing the following
zlm-config --stop
.
zlm-config --start
file, configure
kernel.shmmax
file, configure
shared_buffer
.
file, set the value of
kernel.shmmax
is 4 GB by default on SLES 10.
kernel.shmmax
file, configure the following parameters:
ZENworks Object Store and Data Store Maintenance
.
.
.
,
,
sort_mem
vacuum_mem
PostgreSQL documentation (http:/
PostgreSQL
to
so that the
1572864000
,
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents