Resetting Your Test Data - Novell ZENWORKS NETWORK ACCESS CONTROL 5.0 - 09-22-2008 User Manual

Table of Contents

Advertisement

TIP: You must reset the system before you can change the personality of the server; that is, before
you can change an MS to and ES or an ES to a MS.
To reset your system to the as-shipped state:
Command line window
1 Log in as root to the Novell ZENworks Network Access Control MS or ES, either using SSH
or directly with a keyboard.
2 Enter the following command at the command line:
resetSystem.py [both | ms | es]
Where:
No arguments — The system is reset to the same type (either a single-server installation with
the MS and ES on the same server, an MS, or an ES), the database is cleared, and the property
files are restored to their defaults
both — The system is reset to be a single-server installation (MS and ES on one server), the
database is cleared, and the property files are restored to their defaults
ms — The system is reset to be an MS, the database is cleared, and the property files are
restored to their defaults
es — The system is reset to be an ES, the database is cleared, and the property files are restored
to their defaults.
NOTE: The resetSystem.py file is in the following directory:
cd /usr/local/nac/bin

16.5.9 Resetting your Test Data

There are times when you may wish to revert to the as-shipped state for test data; clearing the
database of all endpoints and test results, and resetting SAPQ and DHCP leases.
To reset your test data to the as-shipped state:
Command line window
1 For single-server installations:
1a Log in as root to the Novell ZENworks Network Access Control MS, either using SSH or
directly with a keyboard.
1b Run the script by entering the following at the command line:
resetTestData.py
2 For multiple-server installations:
2a Stop the nac-es service on all ESs:
336 Novell ZENworks Network Access Control Users Guide
1. Log in as root to each Novell ZENworks Network Access Control ES, either using
SSH or directly with a keyboard.
2. Enter the following at the command line:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks network access control 5.0

Table of Contents