This is an excerpt from the bestselling book
Oracle Grid & Real Application Clusters. To get immediate
access to the code depot of working RAC scripts, buy it
directly from the publisher and save more than 30%.
The pre-installation steps as
documented in Software Installation, Database Creation and
Configuration, in a previous chapter of this book should be
followed. For example, on UNIX-based systems, this includes creating
the Oracle user account and the DBA group on all nodes, setting up
oracle user equivalence with rsh and rlogin using rhost and
hosts.equiv files, set the dbca_raw_config environment variable, if
raw files are used, and so on. Shared storage can then be set up by
referring to the Preparing Shared Storage section in an earlier
chapter of this book.
Vendor manuals should be used to
setup the shared disk array, RAID, and other shared disk
Setting Up the Cluster
If vendor supplied clusterware
is in use, the vendor?s documentation on how to form a cluster with
the required number of nodes should be followed. Once all of the
nodes in the cluster have been configured, either with or without
vendor clusterware, CRS must be installed by referring to the
procedures in Software Installation, Database Creation and
Configuration, from an earlier chapter in this book. This
process depend on the operating system.
Move the Preconfigured
Database Image to the Install Target
This involves copying the
database structure file and the database preconfigured image file
that was created with the DBCA in the previous section. The
database structure file is copied to a holding location on the node
in the cluster from which the DBCA will run to create the RAC
database physical files.
Install the Oracle Database
10g RAC Software
The following procedure is
followed to install the RAC software:
1. Run the Oracle Universal
Installer (OUI) to perform an Oracle installation for the Oracle 10g
Database software with RAC. If the CRS has not been installed, the
RAC option will not be available
2. Select Cluster Installation
Mode on the Specify Hardware Cluster Installation page of the Oracle
Universal Installer (OUI) and select the nodes to utilize for the
3. On the OUI Database
Configuration Types page, select Advanced install. After
installation of the Oracle software, the OUI automatically runs the
post installation configuration tools such as the Network
Configuration Assistant (NetCA) and the DBCA.
4. From the DBCA Template
Selection screen, select the template that was copied to the
temporary location in the previous section. Utilize the browse
option to select the temporary location where the template files are
5. If raw storage is to be
utilized, then on the DBCA File Locations Tab on the Initialization
Parameters page, if the dbca_raw_config environment variable has not
been set up, replace the data files, control files, log files
and so on, with the corresponding raw device files. Replace default
database files with raw devices on the Storage page as well.
6. Once the RAC database is
created, the DBCA utility displays the Password Management page. Use
this page to change the passwords for privileged database users who
have the SYSDBA and SYSOPER roles. Once the DBCA finishes, the
conversion process is complete.
This method works because the
template creation makes a compressed copy of the database datafiles.
Transactions on the source database should not be allowed at this
point or the RAC instances will not be in sync.