Top Banner

Click here to load reader

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

Apr 27, 2015

ReportDownload

Documents

Oracle 11g Release 2 Installation Procedure on RHEL 5

Wells Fargo Services Confidential For Internal Use Only

Procedure DATABASE and INFRASTRUCTURE SERVICES Document 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................................................................................4 2.0 Setting up Environment........................................................................4 3.0 Installation of Oracle 11g Database binaries (DB)................................5

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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 Guidelines1. 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/inv 2. Location of 11g R2 RDBMS binaries (ORACLE_HOME) Standard ORACLE_HOME location: /opt/oracle/product/11.1.0/db

2.0 Setting up Environment1. Kernel version must be 2.6.18-164.el5 (release 5.5 or later) To verify, execute the below: cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 2. Swap space 16 GB 3. Review the file systems and directories: /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

Wells Fargo Services Confidential For Internal Use Only

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

Date revised: 6/27/2007 /opt/oracle/admin /opt/oracle/local/bin

effective date: 1/27/06

Page 5 of 27

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 lets create a user and groups for Oracle installation 1. groupadd oinstall 2. groupadd dba 3. useradd -m -g oinstall -G dba -d /home/oracle -s /bin/bash -c "Oracle Software Owner" oracle 4. passwd oracle

Wells Fargo Services Confidential For Internal Use Only

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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 = 0 2. net.ipv4.conf.default.rp_filter = 1 3. net.ipv4.conf.default.accept_source_route = 0 4. kernel.sysrq = 0 5. kernel.core_uses_pid = 1 6. net.ipv4.tcp_syncookies = 1 7. kernel.msgmnb = 65536 8. kernel.msgmax = 65536 9. kernel.shmmax = 2147483648 10. kernel.shmall = 2097152 11. kernel.shmmni = 4096 12. kernel.sem = 250 32000 100 128 13. fs.file-max = 6815744 14. fs.aio-max-nr = 1048576 15. net.ipv4.ip_local_port_range = 9000 65500 16. net.core.rmem_default = 1048576 17. net.core.rmem_max = 4194304 18. net.core.wmem_default = 262144 19. net.core.wmem_max = 1048576

Wells Fargo Services Confidential For Internal Use Only

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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 1export ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1 2export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib 3export PATH=$ORACLE_HOME/bin:$PATH

Wells Fargo Services Confidential For Internal Use Only

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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/db export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH cd /nas/dba_software01/software/redhat64/11gR1/db/database Now Execute. ./runInstaller

Wells Fargo Services Confidential For Internal Use Only

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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

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

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

Date revised: 6/27/2007

effective date: 1/27/06

Page 17 of 27

Wells Fargo Services Confidential For Internal Use Only

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 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 its shown below

Click on Check Again button and youll see that those notifications are disappeared. Check Ignore all checkbox and click Next

Wells Fargo Services Confidential For Internal Use Only

STANDARD DATABASE and INFRASTRUCTURE SERVICES Document Name EDBS Oracle 8i and 9i Release 2 to 10gRelease 2 Upgrad

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.