Oracle 11g RAC Installation Log in CentOS 5.5

Source: Internet
Author: User
Tags alphanumeric characters

Server
DELL R410 2
Cpu inter E5620. 4 GHz 12M4C
MEM 64G
DISK 300 GB

Memory
DS3512
DISK 600G * 12 RAID5

(Because JS is shoddy, it took a month to solve the problem on the server fiber optic card.

Problem:
1. storage cannot be found on the server from time to time;
2. The optical fiber card interface cannot be found at the memory configuration end.
3. After the server is restarted, the memory cannot be found. It can be found only after the memory is restarted.


Finally, I used a 4 GB disk and gave it to us as 8 GB. The speed must be discounted.
That's so angry. Using different hardware products is troublesome)



Software environment:
CentOS 5.5 64bit
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 (64-bit)


1. Local disk partition of the server:

Disk/dev/sda: 300.0 GB, 300000000000 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Device Boot Start End Blocks Id System
/Dev/sda1*1 25 200781 83 Linux
/Dev/sda2 26 36472 292760527 + 8e Linux LVM


The LVM partition is used, and then the volume is used.
The LVM information is as follows:
Http://hi.baidu.com/dongfangmn/blog/item/23f7ccd813c9213831fa1c67.html

2. IP planning

[Root @ rac2 app] # cat/etc/hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 localhost. localdomain localhost
#: 1 localhost6.localdomain6 localhost6


# Public ip
192.168.18.101 rac1
192.168.18.103 rac2

# Priv ip
The 192.168.0.101 rac1-private
192.168.0.103 rac2-private

# Vip ip
192.168.18.121 rac1-vip
192.168.18.123 rac2-vip

# Scan ip
192.168.18.100 rac-scan

(Note: All host names must conform to the RFC 952 standard,
Which permits alphanumeric characters, Host name using underscores ("_")
Are not allowed. HOSTS file does not support the "_" character)

3. User/group

/Usr/sbin/groupadd-g 501 oinstall
/Usr/sbin/groupadd-g 502 dba
/Usr/sbin/groupadd-g 503 bytes
/Usr/sbin/groupadd-g 504 asmadmin
/Usr/sbin/groupadd-g 505 asmoper
/Usr/sbin/groupadd-g 506 asmdba
/Usr/sbin/useradd-g oinstall-G dba, asmdba, external oracle
/Usr/sbin/useradd-g oinstall-G asmadmin, asmdba, asmoper, role, dba grid

[Root @ ora1 ~] # Id oracle
Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba), 503 (region), 506 (asmdba)
[Root @ ora1 ~] # Id grid
Uid = 502 (grid) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba), 503 (runtime), 504 (asmadmin), 505 (asmoper ), 506 (asmdba)


Mkdir-p/opt/app/oraInventory
Chown-R grid: oinstall/opt/app/oraInventory
Chmod-R 775/opt/app/oraInventory

Mkdir-p/opt/app/grid
Mkdir-p/opt/app/oracle
Chown-R grid: oinstall/opt/app/grid
Chown-R oracle: oinstall/opt/app/oracle
Chmod-R 775/opt/app/oracle
Chmod-R 775/opt/app/grid

Passwd grid
Passwd oracle

4. Modify system parameters:
Vi/etc/security/limits. conf

# ORACLE SETTING
Grid soft nproc 2047
Grid hard nproc 16384
Grid soft nofile 1024
Grid hard nofile 65536
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536


Vi/etc/pam. d/login

# ORACLE SETTING
Session required pam_limits.so

# Vi/etc/sysctl. conf

# ORACLE SETTING
Fs. aio-max-nr = 1048576
Fs. file-max = 6815744
Kernel. shmall = 2097152
Kernel. shmmax = 536870912
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 262144
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048586


5. settings required for gird time synchronization (11gR2 new check item)

# Network Time Protocol Setting
/Sbin/service ntpd stop
Chkconfig ntpd off
# Rm/etc/ntp. conf
Mv/etc/ntp. conf/etc/ntp.conf.org


Select whether to enable or disable the SELINUX working mode (you 'd better restart the operating system after modifying this option)

[Root @ oracle ~] # Vi/etc/selinux/config

# Set SELINUX to disabled

SELINUX = disabled

6. operating system version:

[Root @ rac1 ~] # Lsb_release-
LSB Version: core-3.1-amd64: core-3.1-ia32: core-3.1-noarch: graphics-3.1-amd64: graphics-3.1-ia32: graphics-3.1-noarch:
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final

[Root @ rac1 ~] # Uname-

Linux solr03 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[Root @ rac1 ~] #

7. Modify the release version of the system

[Root @ oracle ~] # Vi/etc/RedHat-release

Change CentOS release 5 (Final)
# CentOS release 5 (Final)
Red Hat Enterprise Linux AS release 5 (Nahant Update 5)

(Because oracle has not released CentOS version of oracle)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next Page

Related Article

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.