ZENworks Object Store and Data Store Maintenance
97
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
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
Section 9.4, “Synchronizing the Object Store and Data
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
backup file and the
ZENWORKS-ORAZLM.LOG
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
/opt/oracle/
novell/zenworks/database
directory on the destination database.
Ignore any compilation warnings that might occur during the object creation process.
4
On the destination database, login as
sysdba
user, and stop and start the Oracle instance by
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:
Summary of Contents for ZENWORKS LINUX MANAGEMENT 7.3 IR2
Page 4: ...4 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 22: ...22 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 34: ...34 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 40: ...40 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 44: ...44 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 68: ...68 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 84: ...84 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 100: ...100 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 102: ...102 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 105: ...Registering Devices 105 novdocx en 7 January 2010 key yum_service...
Page 106: ...106 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 124: ...124 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 132: ...132 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 182: ...182 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 206: ...206 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 208: ...208 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 216: ...216 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 264: ...264 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 270: ...270 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 290: ...290 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 320: ...320 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 324: ...324 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 352: ...352 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 406: ...406 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 478: ...478 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 480: ...480 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 482: ...482 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 494: ...494 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 508: ...508 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 520: ...520 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 524: ...524 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 530: ...530 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 532: ...532 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 544: ...544 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 546: ...546 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 600: ...600 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 606: ...606 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 646: ...646 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 662: ...662 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 666: ...666 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 672: ...672 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 678: ...678 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Page 684: ...684 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...