installing oracle database 11gr2 software on red hat enterprise linux 5 (rac)

30
Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Upload: gwendoline-burke

Post on 12-Jan-2016

248 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Installing Oracle Database 11gR2 Software on Red Hat

Enterprise Linux 5 (RAC)

Page 2: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Preparation Steps• Login to virtual server tom as user oracle.

• Copy linux_11gR2_database_1of2.zip and linux_11gR2_database_2of2.zip into /u01/staging.

• Unzip both files using "unzip" command:

              [grid@tom staging]$ unzip linux_11gR2_database_1of2.zip

             [grid@tom staging]$ unzip linux_11gR2_database_2of2.zip

• Make sure the time settings on tom and jerry are in sync:

              [oracle@tom ~]$ date

              Wed Jun  9 22:17:06 PDT 2010

              [oracle@jerry ~]$ date

              Wed Jun  9 22:17:07 PDT 2010

• If the time difference is more than a few seconds, the installation could fail, so you would have to adjust the time, for example:

              [root@tom ~]$ date +%T -s "10:13:13"

              [root@jerry ~]$ date +%T -s "10:13:13"

• Go to /u01/staging/database directory and start the installation by issuing:

              ./runInstaller

Page 3: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Ignore Security Updates.

Page 4: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Choose "Create and configure a database".

Page 5: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Choose "Server Class".

Page 6: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Select "Real Application Clusters database installation".

Page 7: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

 Enter password for user oracle and click "Setup" button.

Page 8: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Select "Advanced install".

Page 9: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Accept "English".

Page 10: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Select "Enterprise Edition".

Page 11: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Confirm the locations for "Oracle Base" and "Software Location".

Page 12: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Choose “General Purpose / Transaction Processing”.

Page 13: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Specify database identifiers.

Page 14: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Accept the default configuration.

Page 15: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Select "Use Database Control for database management".

Page 16: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

 Select "Automatic Storage Management" and specify password for user ASMSNMP.

Page 17: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Choose "Do not enable automated backups".

Page 18: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Select disk group "Data" for DB storage.

Page 19: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Configure schema passwords. Ignore possible warning.

Page 20: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Select "dba" for OSDBA group and "oper" for OSOPER.

Page 21: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Wait for prerequisite checks to complete.

Page 22: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Ignore possible "Swap Space" warning by selecting "Ignore All".

Page 23: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Verify information on the "Summary" screen and click "Finish".

Page 24: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Wait for installation process to complete. The database installation process will start automatically.

Page 25: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Skip the password management on the Database Configuration Assistant window.

Page 26: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

"Execute Configuration scripts" window will pop up after some time.

Page 27: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Executing "root" scripts in the right order

         a.    Execute root.sh script on tom first and wait for successful comlpetion:

                [root@tom ~]$  /u01/app/oracle/product/11.2.0/db1/root.sh

        b.    Execute root.sh script on jerry only after it successfully completes on tom:

                [root@jerry ~]$ /u01/app/oracle/product/11.2.0/db1/root.sh

        c.    Click "OK" on "Execute Configuration Scripts" window.

If you hit bug 8670579 during the Grid installation, you most likely are going to have problems with the Database installation as well. The solution is to install the same patch 8670579 in Oracle Home as well.

Page 28: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Click "Close" button to exit the Installer.

Page 29: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

 

The database software installation and database creation are complete!

Page 30: Installing Oracle Database 11gR2 Software on Red Hat Enterprise Linux 5 (RAC)

Commands to verify the state of the database, instances, and cluster

              crsctl stat res -t

              crsctl check cluster

              cluvfy comp clocksync -verbose

              srvctl status database -d acmedb

              srvctl status asm

              srvctl status nodeapps