ZENworks Object Store and Data Store Maintenance
93
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
RMAN automates backup and recovery, but the User-managed method requires keeping track of all
database files and backups. Therefore, because of its robustness and simplified database
administration abilities, RMAN is a highly recommended tool for backup operations. The
subsequent sections of this document explain the steps for using RMAN to perform a complete
database backup and recovery.
9.3.2 Setting Environment Variables
1
Set the following environment variables to the appropriate values before using RMAN:
ORACLE_HOME: The directory where the Oracle software is installed.
For Oracle 9i R2:
Set the variable as
ORACLE_HOME=/opt/oracle/product/9ir2
For Oracle 10g R2:
Set the variable as
ORACLE_HOME=/opt/oracle/product/10.2/
db_1
CLASSPATH: The paths to the libraries installed by Oracle.
For Oracle 9i R2:
Set the variable as
CLASSPATH=$CLASSPATH:/opt/oracle/
product/9ir2/JRE:/oracle/opt/oracle/product/9ir2/jlib:/oracle/opt/
oracle/product/9ir2/rdbms/jlib:/oracle/opt/oracle/product/9ir2/
network/jlib
For Oracle 10g R2:
Set the variable as
CLASSPATH=$CLASSPATH:/opt/oracle/
product/10.2/db_1/JRE:/opt/oracle/product/10.2/db_1/jlib:/opt/oracle/
product/10.2/db_1/rdbms/jlib:/opt/oracle/product/10.2/db_1/network/
jlib
PATH: The Oracle installation’s bin directory.
For Oracle 9i R2:
Set the variable as
PATH=$PATH:/opt/oracle/product/9ir2/bin
For Oracle 10g R2:
Set the variable as
PATH=$PATH:/opt/oracle/product/10.2/
db_1/bin
You can set the environment variables similarly for Oracle 11g database.
9.3.3 Connecting to the Database
You can use either of the following methods to connect to the Oracle database being used for the
Data Store:
Start RMAN at the operating system command line without connecting to a database, by
issuing the RMAN command without any connection options:
$ rman
RMAN> CONNECT TARGET /
Start the RMAN executable at the operating system command line while connecting to the
database:
$ rman TARGET /
IMPORTANT:
If you have installed Oracle 10g or Oracle 11g database on a SLES 10 device,
make sure to run the rman executable from the
$ORACLE_HOME/bin/rman
directory.
If the database is already mounted or open, RMAN displays output similar to the following:
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...