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:
Содержание ZENWORKS LINUX MANAGEMENT 7.3 IR2
Страница 4: ...4 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 22: ...22 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 34: ...34 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 40: ...40 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 44: ...44 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 68: ...68 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 84: ...84 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 100: ...100 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 102: ...102 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 105: ...Registering Devices 105 novdocx en 7 January 2010 key yum_service...
Страница 106: ...106 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 124: ...124 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 132: ...132 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 182: ...182 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 206: ...206 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 208: ...208 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 216: ...216 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 264: ...264 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 270: ...270 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 290: ...290 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 320: ...320 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 324: ...324 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 352: ...352 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 406: ...406 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 478: ...478 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 480: ...480 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 482: ...482 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 494: ...494 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 508: ...508 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 520: ...520 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 524: ...524 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 530: ...530 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 532: ...532 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 544: ...544 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 546: ...546 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 600: ...600 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 606: ...606 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 646: ...646 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 662: ...662 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 666: ...666 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 672: ...672 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 678: ...678 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...
Страница 684: ...684 Novell ZENworks 7 3 Linux Management Administration Guide novdocx en 7 January 2010...