Displaying The Password For The Default Postgresql Database; Understanding Automated Database Maintenance; Backing Up The Zenworks Data Store - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

Section 9.2.5, "Optimizing the Server Database," on page 88
Section 9.2.6, "Restarting Novell Zenworks Server Services After Restarting the Database," on
page 89
9.2.1 Displaying the Password for the Default PostgreSQL
Database
The password for the default ZENworks PostgreSQL database is stored as plaintext on your
ZENworks Primary Server. You can access the database without the password if you are logged on
as Root.
If you need the password for maintenance purposes, you can use the following command to display
the password (you must be logged in as Root):
cat /etc/opt/novell/zenworks/serversecret

9.2.2 Understanding Automated Database Maintenance

If you are using a PostgreSQL database, there are some automated maintenance tasks that are
performed both daily and monthly.
Daily Maintenance: Once a day, old versions are flagged, allowing the space used by these records
to be used for new data; the statistics used by the query engine are updated to achieve the best
possible performance. This maintenance runs every day at 2:15 a.m.
Monthly Maintenance: Unlike the daily maintenance, the monthly maintenance actually frees the
space used by the old flagged records; this prevents a large disparity between the allocated disk
space for the database and the actual space used by the database. Because this is an intensive
process, it is scheduled monthly instead of daily. It runs at 3:15 a.m on the first day of each month.

9.2.3 Backing Up the ZENworks Data Store

This section applies only if you are using the PostgreSQL database for your Data Store.
You can use zlm_dbbackup.sh to make a backup of the Data Store. This backup utility is
located in /opt/novell/zenworks/sbin.
1 Make sure you are logged in as root to a ZENworks Server.
2 On the ZENworks Primary Server with the local data store, enter the following at the command
prompt:
zlm_dbbackup.sh
NOTE: Database backup operation is supported from the Secondary servers only if its PostgreSQL
database version is same as the Primary server. For example, you cannot run the backup utility from
a SLES 9 secondary server if the primary server is a SLES 10 server. This is because the SLES 9
server's pg_dump utility, which is used by the backup utility, is incompatible with the PostgreSQL
database version running on the primary server. You have to run the backup utility on the primary
server.
86
Novell ZENworks 7.2 Linux Management Administration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents