Page 6
# tar –tvjf oracle-bak.tar.bz2
The –j option causes tar to use bzip2 compression and results in a smaller
archive. If you prefer to have an even smaller archive, you can back up a subset
of the files. Not all files in /etc are required to restore your Oracle environment.
Review the Re-Create the Oracle Environment section of this document to
determine the minimum set of files and directories that you must restore.
This document describes files required to restore the Oracle environment. As
administrator, you might need to preserve other system configuration files, such
as /etc/hosts, /etc/fstab, and /etc/X11/XF86Config. You might also find it useful
to save the output of the following commands, in case you need to recover your
system:
$ /bin/rpm –qa
# /sbin/fdisk –l
$ /sbin/lsmod
$ /sbin/sysctl –a
$ /sbin/ifconfig –a
$ /sbin/chkconfig --list
# /usr/bin/raw -qa
3. Back Up System Directories
Perform a backup of the system directories, including /, /bin, /boot, /dev, /etc,
/mnt, /lib, /root, /sbin, /usr, and /var. This is necessary in case you need to restore
your RHAS2.1 installation for some reason. If you store important files in /misc,
/opt, or other directories, back them up too. Do not back up /proc, as it is
pseudo-filesystem.
4. Back Up the Oracle Directories
If you have installed the Oracle base directories, Oracle inventory directory,
Oracle home, or CRS home in system directories, you must back them up
because they will be overwritten by the RHEL3 installation. As a precaution,
you should back up these directories even if they are not in system directories.
5. Perform a Clean Install of RHEL 3.0
Install RHEL3 as described in Red Hat Enterprise Linux 3: Installation Guide
for x86, Itanium, AMD64, and Intel Extended Memory 64 Technology (Intel
EM64T ). On Oracle Real Application Clusters (RAC), perform the upgrade to
RHEL3 on all nodes at the same time.
Apply all recommended patches to RHEL3. If you plan to run RAC, you must
apply Update 2 (Q2 2004) or a later update. For information about RHEL3
updates, see:
Comentarios a estos manuales