Install RAC11.2.0.3 in RHEL5.6

Source: Internet
Author: User

Linux:
[Root @ rac1 ~] #Lsb_release-
LSB Version: core-4.0-amd64: core-4.0-ia32: core-4.0-noarch: graphics-4.0-amd64: graphics-4.0-ia32: graphics-4.0-noarch: printing-4.0-amd64: printing-4.0-ia32: printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Release: 5.6
Codename: Tikanga

Memory Condition

[Root @ rac1 Server] #Free
Total used free shared buffers cached
Mem: 4043728 714236 3329492 0 38784 431684
-/+ Buffers/cache: 243768 3799960
Swap: 33551744 0 33551744

Storage

Split several Luns from openfiler, and draw 3 1 GB partitions for ocr and voting, 3 GB partitions for data file storage, and 3 60 GB partitions for flash recovery.

Next, we will install 2-node RAC. You can directly use the 11.2.0.3 patch for the installation media.

Check whether the required package is installed in the system.

 
  1. Rpm-q -- qf' % {NAME}-% {VERSION}-% {RELEASE} (% {ARCH}) \ n' binutils \
  2. Compat-libstdc ++-33 \
  3. Elfutils-libelf \
  4. Elfutils-libelf-devel \
  5. Gcc \
  6. Gcc-c ++ \
  7. Glibc \
  8. Glibc-common \
  9. Glibc-devel \
  10. Glibc-headers \
  11. Ksh \
  12. Libaio \
  13. Libaio-devel \
  14. Libgcc \
  15. Libstdc ++ \
  16. Libstdc ++-devel \
  17. Make \
  18. Sysstat \
  19. UnixODBC \
  20. UnixODBC-devel
     
Create user

Create user group

Groupadd-g 1000 oinstall

Groupadd-g 1020 asmadmin

Groupadd-g 1021 asmdba

Groupadd-g 1031 dba

Groupadd-g 1022 asmoper 

Create user

Useradd-u 1100-g oinstall-G asmadmin, asmdba, dba grid

Useradd-u 1101-g oinstall-G dba, asmdba Oracle

 

Passwd oracle

Passwd grid 

Environment Variables of grid users

If [-t 0]; then
Stty intr ^ C
Fi
Export ORACLE_BASE =/opt/app/oracle
Export ORACLE_HOME =/opt/app/11.2.0/grid
Export ORACLE_SID =+ ASM1
Export PATH = $ ORACLE_HOME/bin: $ PATH
Umask 022 

Oracle user environment variables

If [-t 0]; then
Stty intr ^ C
Fi
Export ORACLE_BASE =/opt/app/oracle
Export ORACLE_HOME =/opt/app/oracle/product/11.2.0/db_1
Export ORACLE_SID =Oradb_1
Export PATH = $ ORACLE_HOME/bin: $ PATH
Umask 022 

Root User Environment Variable

Export PATH =/opt/app/11.2.0/grid/bin:/opt/app/oracle/product/11.2.0/db_1/bin: $ PATH 

Configure the network

Modify/Etc/hostsFile

# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 localhost. localdomain localhost
# Public Network-(eth0, eth1 --- bond0)
192.168.106.241 rac1 rac1.wildwave.com
192.168.106.242 rac2 rac2.wildwave.com
# Private Interconnect-(eth2, eth3-bond1)
Rac1-priv 10.10.241
Rac2-priv 10.10.242

# Public Virtual IP (VIP) addresses for-(eth0, eth1 --- bond0)
192.168.106.243 rac1-vip rac1-vip.wildwave.com
192.168.106.244 rac2-vip rac2-vip.wildwave.com

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9 ..
  • 12
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.