Page 5
5. The CRS stack
The srvctl stop syntax for shutting down RAC, ASM, and node
applications is described in the appendix “Server Control (SRVCTL) Reference”
in Oracle® Real Application Clusters Administrator's Guide 10g Release 1
(10.1) Part No. B10765-02. Also see the chapter “Pre-Installation Tasks for
Installing RAC on Linux-Based Systems” in Oracle Real Application Clusters
Installation and Configuration Guide 10g Release 1 (10.1.0.2.0) for AIX-Based
Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux, Solaris
Operating System (SPARC 64-bit), and Windows Platforms Part No. B10766-
04.
Stop all listeners on each system in the cluster by typing:
$ $ORACLE_HOME/bin/lsnrctl stop listenername
Shut down CRS on each node by typing:
# /etc/init.d/init.crs stop
Then disable CRS by typing:
# /etc/init.d/init.crs disable
on each node. This step prevents the cluster software from starting automatically
when you restore the file /etc/inittab.
2. Save Critical Files
As user root, change directory to /. Using the tar command, create a
compressed archive of /etc, the home directory of the user who installed Oracle,
and all Oracle-specific files and directories. For example:
# cd /
# tar –cvjf oracle-bak.tar.bz2 etc home/oracle
opt/ORCLfmap opt/oracle usr/local/bin/oraenv
usr/local/bin/dbhome usr/local/bin/coraenv
var/spool/cron/oracle
Substitute the actual path of the home directory of the user who installed Oracle,
if is not /home/oracle. If you do not store important files in that directory, you
can omit it from the archive.
The file /var/spool/cron/oracle is a crontab file that might not exist on your
system. If you did not install any optional Oracle components, such as
Automatic Storage Management (ASM), /opt/oracle/ might not exist on your
system.
Copy oracle-bak.tar.bz2 either to removable media or to a location that will not
be overwritten, such as an NFS file system. As a precaution, you might want to
verify the archive at this time, to ensure you have all the files you need. The
command to list the contents of the archive is:
Komentáře k této Příručce