YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

Oracle 11g Release 2 Installation Procedure on

RHEL 5

Wells Fargo Services – Confidential – For Internal Use Only

Page 2: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

Procedure

DATABASE and INFRASTRUCTURE SERVICESDocument Name EDBS Oracle 10g Installation Procedure (NON-RAC with ASM)

Date revised: 6/12/2007 effective date: 1/27/06 Page 2 of 27

Table of Contents

1.0 General Guidelines......................................................................................42.0 Setting up Environment...............................................................................43.0 Installation of Oracle 11g Database binaries (DB)................................................5

Page 3: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 3 of 27

Wells Fargo Services – Confidential – For Internal Use Only

Page 4: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 4 of 27

1.0 General Guidelines

1. Install Oracle 11g R2 software for RDBMS

Location of Oracle binaries (are created during the server build)

1. Standard Location of Oracle Inventory: /opt/orainv/inv2. Location of 11g R2 RDBMS binaries (ORACLE_HOME)

Standard ORACLE_HOME location: /opt/oracle/product/11.1.0/db

2.0 Setting up Environment

1. Kernel version must be 2.6.18-164.el5 (release 5.5 or later)To verify, execute the below:

cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 5.5

2. Swap space – 16 GB

3. Review the file systems and directories:

Wells Fargo Services – Confidential – For Internal Use Only

Page 5: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 5 of 27

/opt/orainv (minimum size 2GB)/opt/oracrs (minimum size 20 GB/opt/oracle/product (minimum size 30 GB) – CHANGE in SIZE /opt/oracle/oramgr for Oracle Agent ORAMGR (minimum size 4GB)/opt/oracle (minimum size 10 GB)/dbexports (minimum size 40 GB) - OPTIONAL

4. Support directories – are created during the server build

/opt/oracle/admin/opt/oracle/local/bin

Important: Create user “ORACLE” (defined under groups dba, install) for installing ORACLE.

3.0 Installation of Oracle 11g Database binaries (DB)

Note: All the directories, DB name, SID showed in the screen shots are for documentation purpose only. Change the directory names, db_name and SID names as per your requirements.

Now let’s create a user and groups for Oracle installation

1. groupadd oinstall2. groupadd dba3. useradd -m -g oinstall -G dba -d /home/oracle -s /bin/bash -c "Oracle Software

Owner" oracle4. passwd oracle

Wells Fargo Services – Confidential – For Internal Use Only

Page 6: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 6 of 27

Wells Fargo Services – Confidential – For Internal Use Only

Page 7: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 7 of 27

Change the /etc/sysconfig.conf file to add (change) kernel parameters that are required for Oracle installation

The file should be as follows:

1. net.ipv4.ip_forward = 02. net.ipv4.conf.default.rp_filter = 13. net.ipv4.conf.default.accept_source_route = 04. kernel.sysrq = 05. kernel.core_uses_pid = 16. net.ipv4.tcp_syncookies = 17. kernel.msgmnb = 655368. kernel.msgmax = 655369. kernel.shmmax = 214748364810. kernel.shmall = 209715211. kernel.shmmni = 409612. kernel.sem = 250 32000 100 12813. fs.file-max = 681574414. fs.aio-max-nr = 104857615. net.ipv4.ip_local_port_range = 9000 6550016. net.core.rmem_default = 104857617. net.core.rmem_max = 419430418. net.core.wmem_default = 26214419. net.core.wmem_max = 1048576

Wells Fargo Services – Confidential – For Internal Use Only

Page 8: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 8 of 27

Wells Fargo Services – Confidential – For Internal Use Only

Page 9: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 9 of 27

To make the active in the current session, run /sbin/sysctl -p command

Wells Fargo Services – Confidential – For Internal Use Only

Page 10: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 10 of 27

Create necessary directories for Oracle home

Wells Fargo Services – Confidential – For Internal Use Only

Page 11: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 11 of 27

Change the entry of .bash_profile file of the oracle user and add following lines:

vi /home/oracle/.bash_profile

123

export ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/libexport PATH=$ORACLE_HOME/bin:$PATH

Wells Fargo Services – Confidential – For Internal Use Only

Page 12: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 12 of 27

Logout from root user and login as “Oracle” user

Now download the files from the Oracle TechNetwrok site into /opt/oracle (http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html)Once the files get downloaded, unzip the files linux.x64_11gR2_database_1of2.zip and linux.x64_11gR2_database_2of2.zip with oracle user.

Installing the Oracle Software

1. Set DISPLAY and environment:export ORACLE_HOME=/opt/oracle/product/11.1.0/dbexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATHcd /nas/dba_software01/software/redhat64/11gR1/db/database Now Execute. ./runInstaller

Wells Fargo Services – Confidential – For Internal Use Only

Page 13: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 13 of 27

Select “Create and Configure a database” and Click on Next

Wells Fargo Services – Confidential – For Internal Use Only

Page 14: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 14 of 27

Select first option and click Next

Wells Fargo Services – Confidential – For Internal Use Only

Page 15: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 15 of 27

Provide the locations of the Oracle Base, Software Location, Database file location, Character set, OSDBA group (dba).

Wells Fargo Services – Confidential – For Internal Use Only

Page 16: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 16 of 27

Specify the folder for Inventory Directory and click Next

Wells Fargo Services – Confidential – For Internal Use Only

Page 17: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 17 of 27

In the prerequisite check we was informed that we need to install three packages as well. So mount the .iso file of the OEL installation, switch to the Server folder

Wells Fargo Services – Confidential – For Internal Use Only

Page 18: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 18 of 27

Install all three packages with rpm -Uvh command as it’s shown below

Click on Check Again button and you’ll see that those notifications are disappeared. Check “Ignore all” checkbox and click Next

Wells Fargo Services – Confidential – For Internal Use Only

Page 19: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 19 of 27

Click on Finish.

Wells Fargo Services – Confidential – For Internal Use Only

Page 20: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 20 of 27

Once you click on Finish, the below screen will appear which shows the installation progress.

Wells Fargo Services – Confidential – For Internal Use Only

Page 21: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 21 of 27

DBCA tools automatically will start to create the database.

Wells Fargo Services – Confidential – For Internal Use Only

Page 22: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 22 of 27

After all, the installation finished successfully. Get the url of the database control

Wells Fargo Services – Confidential – For Internal Use Only

Page 23: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 23 of 27

Copy the url in the browser address bar and press enter in order to navigate to Oracle Enterprise Manager. Provide the user name as “sys”, password and connect as SYSDBA.

Wells Fargo Services – Confidential – For Internal Use Only

Page 24: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 24 of 27

Wells Fargo Services – Confidential – For Internal Use Only

Page 25: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 25 of 27

Switch to the installation page and run both shell scripts with root user

Execute the scripts root.sh and orainstRoot.sh as “root” user.

Wells Fargo Services – Confidential – For Internal Use Only

Page 26: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 26 of 27

Wells Fargo Services – Confidential – For Internal Use Only

Page 27: Oracle 11g R1 Installation Procedure (NON-RAC With NON-ASM) on RHEL5

STANDARD

DATABASE and INFRASTRUCTURE SERVICES

Document Name EDBS Oracle 8i and 9i Release 2 to 10g Release 2 Upgrade Procedure (Including Oracle 10g release 2 installation)

Date revised: 6/27/2007 effective date: 1/27/06 Page 27 of 27

Open a new terminal, export ORACLE_SID variable and connect to the database. The below window will appear after

Wells Fargo Services – Confidential – For Internal Use Only


Related Documents