Shutting Down The Database; User-Managed Backup And Recovery - Novell ZENWORKS LINUX MANAGEMENT 7.3 IR2 - ADMINISTRATION GUIDE 02-12-2010 Administration Manual

Table of Contents

Advertisement

ALTER DATABASE OPEN RESETLOGS;
4 After the restore is complete, you need to ensure that the Data Store is synchronized with the
Object Store. For instructions, see
Store," on page
98.
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.3.8 User-managed Backup and Recovery

1 On all the ZENworks 7.3 Linux Management servers configured with the source database, stop
all the ZENworks services by using the following command:
zlm-config --stop
2 On the source database that has its database instance running, take a logical backup of the
ZENworks database objects schema by running the export utilities as follows as an Oracle
database user:
exp zenadmin/novell@ORCL FILE=NOVELL-ZENWORKS-ORAZLM.DMP LOG=NOVELL-
ZENWORKS-ORAZLM.LOG OWNER=ZENADMIN
where ORCL is the default Oracle system identifier, and novell is the default password for the
zenadmin user.
This creates the
NOVELL-ZENWORKS-ORAZLM.DMP
log file on the Oracle Database server.
3 Run the import utility as follows as an Oracle database user on the destination database to
import the data and objects:
imp zenadmin/novell@ORCL FILE=NOVELL-ZENWORKS-ORAZLM.DMP LOG=NOVELL-
ZENWORKS-ORAZLM.LOG IGNORE=Y FROMUSER=ZENADMIN TOUSER=ZENADMIN
where ORCL is the default Oracle system identifier, and novell is the default password for the
zenadmin user.
IMPORTANT: Before running the import utility, take a reliable backup of the
novell/zenworks/database
Ignore any compilation warnings that might occur during the object creation process.
4 On the destination database, login as
using the following commands at the SQL prompt:
shutdown immediate
startup
5 On the destination database server, stop and start the listener service by using the following
commands at the SQL prompt:
Section 9.4, "Synchronizing the Object Store and Data
backup file and the
directory on the destination database.
user, and stop and start the Oracle instance by
sysdba
ZENworks Object Store and Data Store Maintenance
ZENWORKS-ORAZLM.LOG
/opt/oracle/
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.3 ir2

Table of Contents