You are on page 1of 14

http://www.hendrydba.

com
1

Install Oracle RAC 12c R1 on Oracle Linux
6.4 using VirtualBox 4.2.16


The following documents are a step by step guide to install Oracle Real Application Clusters
12c on Oracle Linux 6 using VirtualBox. The installation sequence below will get your 2
Node RAC running on your Laptop in a day or two.

1) Install Oracle RAC 12c R1 on Linux 6.4 using VirtualBox 4.2.16 checklist
2) Install VirtualBox 4.2.16 on Windows 7 64bit
3) Install Dual DHCP/DNS Server 7.10 on Windows 7
4) VirtualBox 4.2.16 setup and Linux 6.4 Installation for Oracle RAC 12c R1
5) Install Grid Infrastructure 12c R1 on Oracle Linux 6.4
6) Install Oracle RAC Database 12c R1 on Oracle Linux 6.4
7) Create Oracle RAC Database 12c R1 on Oracle Linux 6.4



Install Oracle RAC Database 12c R1 on
Oracle Linux 6.4

Download the Oracle Software for Grid Infrastructure and Database.
https://edelivery.oracle.com/
Oracle Database 12c Release 1 (12.1.0.1.0) Media Pack v2 for Linux x86-64



Install Oracle Database Software

Start both Nodes
Login to Node1 and start the Database install
[oracle@ol6-121-rac1 database]$ pwd
/media/sf_Software12c/Ora121Linux64bit/database
-rwxrwx--- 1 root vboxsf 500 Jun 9 22:52 welcome.html
-rwxrwx--- 1 root vboxsf 7808 Jul 21 00:07 runInstaller

http://www.hendrydba.com
2
drwxrwx--- 1 root vboxsf 0 Jul 21 00:07 response
drwxrwx--- 1 root vboxsf 0 Jul 21 00:07 sshsetup
drwxrwx--- 1 root vboxsf 0 Jul 21 00:07 rpm
drwxrwx--- 1 root vboxsf 0 Jul 21 00:12 stage
drwxrwx--- 1 root vboxsf 0 Jul 21 00:13 install
[oracle@ol6-121-rac1 database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB. Actual 31925 MB
Passed
Checking swap space: must be greater than 150 MB. Actual 3967 MB
Passed
Checking monitor: must be configured to display at least 256 colors.
Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-
07-24_04-29-25PM. Please wait ...


Click Next

http://www.hendrydba.com
3



Choose Skip software updates and click Next

http://www.hendrydba.com
4

Choose Install database software only

Choose Oracle Real Application Clusters database Installation. Click Next

http://www.hendrydba.com
5

Select both Nodes and click Next


http://www.hendrydba.com
6
Select English. Click Next

Accept the default Enterprise Edition. Click Next


http://www.hendrydba.com
7
Enter the oracle base and software location as below

Select the OS groups, click Next



http://www.hendrydba.com
8

Save Response file


http://www.hendrydba.com
9


Click Install




http://www.hendrydba.com
10



Run the root.sh scripts as root user on both nodes.

http://www.hendrydba.com
11


[root@ol6-121-rac1 db_1]# pwd
/u01/app/oracle/product/12.1.0.1/db_1
[root@ol6-121-rac1 db_1]# ./root.sh
Performing root user operation for Oracle 12c

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0.1/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.

[root@ol6-121-rac2 db_1]# pwd
/u01/app/oracle/product/12.1.0.1/db_1
[root@ol6-121-rac2 db_1]# ./root.sh
Performing root user operation for Oracle 12c

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0.1/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.

http://www.hendrydba.com
12
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.

Click OK after the scripts completion

Click Close

http://www.hendrydba.com
13


[oracle@ol6-121-rac1 database]$ You can find the log of this install
session at:
/u01/app/oraInventory/logs/installActions2013-07-24_04-29-25PM.log

Shutdown both VMs and take the post-db snapshots if you needed to rollback to this point later.
Ol6-121-rac1 post-dn snap
Ol6-121-rac2 post-db snap


http://www.hendrydba.com
14

You might also like