Page History
The following sections describe how to set up Oracle RAC to replace the default H2 databases with Oracle RAC:database in your WSO2 product:
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
...
NOTE TO WRITERS : Add the intro and the TOC in the hosting page when you pull or copy the content.
The following sections describe how to replace the default H2 databases with Oracle RAC:
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Oracle Real Application Clusters (RAC) is an option for the Oracle Database for that facilitates clustering and high availability in Oracle database environments. In the Oracle RAC environment, some of the commands used in oracle.sql
are considered inefficient. Therefore, the product has a separate SQL script (oracle_rac.sql
) for Oracle RAC. The Oracle RAC-friendly script is located in the dbscripts
folder together with other .sql
scripts.
...
- Set environment variables <
ORACLE_HOME>
,PATH
,and
ORACLE_SID
with the corresponding values (/oracle/app/oracle/product/11.2.0/dbhome_1
,$PATH:<ORACLE_HOME>/bin
, andorcl1
) as follows:
- Connect to Oracle using SQL*Plus as SYSDBA.
Create a database user and grant privileges to the user as shown below:
Code Block language powershell Create user <USER_NAME> identified by password account unlock; grant connect to <USER_NAME>; grant create session, create table, create sequence, create trigger to <USER_NAME>; alter user <USER_NAME> quota <SPACE_QUOTA_SIZE_IN_MEGABYTES> on '<TABLE_SPACE_NAME>'; commit;
- Exit from the SQL*Plus session by executing the
quit
command.
...
Info |
---|
Remove the old database driver from the |
...