Oracle® Real Application Clusters Installation and Configuration Guide 10g Release 1 (10.1) for AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux, Solaris Operating System (SPARC 64-bit), and Windows (32-bit) Platforms Part Number B10766-02 |
|
|
View PDF |
This chapter describes the steps required to create an Oracle Real Application Clusters (RAC) database from scripts. The topic in this appendix is:
To generate scripts to create a Real Application Clusters database, create a database using the scripts, and prepare the database for use, execute the following steps:
Invoke the Database Configuration Assistant (DBCA) and select your preferred options to build the RAC database. However, you must select the Custom Database template on the Database Templates page for the DBCA to provide the script generation option.
On the Creation Options page of your DBCA session, deselect Create Database and select Generate Database Creation Scripts before you click Finish. You can accept the default destination directory for the scripts or browse for a different location. In either case, you should note the path name for use in the next step.
See Also: " Creating RAC Databases with the Database Configuration Assistant " for details on executing a DBCA session. |
Navigate to the directory, which you noted in Step 1, where the DBCA created the scripts, and review the SQL scripts to ensure that they contain the statements to build a database with the characteristics you require. If they do not, Oracle recommends that you rerun the DBCA to create scripts with the desired configuration rather than editing the scripts yourself.
On each cluster node you identified during your DBCA session, execute the script sid.sh
, on UNIX, or sid.bat
, on Windows, where sid
is the sid prefix that you entered on the DBCA Database Name page.
Set the initialization parameter, cluster_database
, to the value TRUE
in your SPFILE by issuing an ALTER SYSTEM
command, or by uncommenting it in your PFILE for each instance.
Set the local_listener and remote_listener parameters in your SPFILE by issuing an ALTER SYSTEM
command, or by uncommenting it in your PFILE for each instance.
Run SVRCTL to configure and start database and instance applications as described in the Oracle Real Application Clusters Administrator's Guide.
Configure Net Services to support your new database and instances as described in Chapter 14, " Understanding the Real Application Clusters Installed Configuration ".