Freeing Disk Space On A Zenworks Server - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

Replace admin_password with the ZENworks Administrator account password.
5 (Conditional) If you are removing the primary server and are using a local PostgreSQL
database for the ZENworks Data Store, remove the database. To do so, use the following
commands:
/etc/init.d/postgresql start, su - postgres , dropdb zenworks ,
dropuser zenadmin , /etc/init.d/postgresql stop
6 Remove the ZENworks Object Store. To do so, use the following commands:
ndsconfig rm -F -a admin.system -w admin_passwordrm -rf /var/
nds/dibrm /etc/nds.conf
Replace admin_password with the ZENworks Administrator account password.
7 Remove the ZENworks RPM packages and the Dell Update Packages, if necessary. To do so:
7a Use the following command to list the package names:
rpm -qa | grep novell-zenworks
7b Remove each of the packages individually using the following command:
rpm -e | package_name
or
Use the following simple script to remove multiple packages:
for i in 'rpm -qa | grep novell-zenworks' ; do rpm -e $i ; done
Because of package dependencies, you might need to run this script multiple times to
remove all packages. You can verify that all packages have been removed by running the
command in
8 Remove the following directories:
rm -rf /opt/novell/zenworks/
rm -rf /etc/opt/novell/zenworks/
rm -rf /var/opt/novell/zenworks/

5.4 Freeing Disk Space on a ZENworks Server

You can clean up the ZENworks server disk space by either deleting or backing up the old log files.
For detailed information on how to back up the log files, see
Files," on page
You can also delete empty directories that might not be removed during the deletion of a package or
bundle. The directories are located at /var/opt/novell/zenworks/pkg-repo.
52
Novell ZENworks 7.2 Linux Management Administration Guide
Step
7a.
501.
Section 37.6, "Backing Up the Log

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents