Shutting Down The Database; Synchronizing The Object Store And Data Store; Cleaning Up The Zenworks Database - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

We recommend that you back up the database immediately, preferably with the database mounted
(to avoid possible data loss in an open database). Because the database is a new instance, the
backups made before the RESETLOGS are not easily usable.

9.3.7 Shutting Down the Database

1 Use the following command to shut down the database:
RMAN> SHUTDOWN NORMAL;
This command dismounts the database and stops the running Oracle instance.
9.4 Synchronizing the Object Store and Data
Store
If you've restored either the Object Store or the Data Store from backup, you need to make sure the
two are synchronized. The dbsync.sh utility lets you synchronize the Data Store with the Object
store by removing all devices and bundles that are found in the Data Store but not in the Object
Store.
1 Make sure you are logged in as root to the ZENworks Server.
2 Enter the following command on the command prompt:
dbsync.sh [--force]
The utility has one option, --force or -f. The synchronization operation compares the list of
devices and bundles in the two databases. When you use the --force option, dbsync.sh logs the
GUIDs and names of the devices and bundles found in the Data Store but not in the Object
Store. When you use the --force option, dbsync.sh deletes all devices and bundles that are
found in the Data Store but not in the Object Store.
3 Enter the password to authenticate to the Object Store.
The GUIDs and names of the devices and bundles that are in the Data Store but not in the Object
Store are logged in the /var/opt/novell/log/zenworks/dbsync-message.log file.

9.5 Cleaning Up the ZENworks Database

The ZENworks Database Clean-Up utility of ZENworks 7.2 Linux Management IR2 helps you to
delete inconsistent data from your ZENworks database running on PostgreSQL or Oracle. You can
use the utility to clean up the database installed on a server that has ZENworks 7.2 Linux
Management newly installed, but not on a server that has been upgraded from earlier versions of
ZENworks to ZENworks 7.2 Linux Management.
To clean up the ZENworks database, enter the following command at the server console prompt:
zlm_db_cleanup.sh
To troubleshoot any errors encountered while running the database clean-up command, refer to the /
var/opt/novell/log/zenworks/dbcleanup.log.
94
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