Installing Oracle 11g RAC in Oracle Linux 5.8

Source: Internet
Author: User

Chapter 1: configure the experiment environment

The experiment environment is implemented using virtual box virtual Machine Software. The steps for installing the operating system are ignored...

1.1 server operating system:

1.2. Oracle software version:

Oracle database

11.2.0.3

Oracle grid

11.2.0.3

1.3 virtual machine hardware configuration

Each virtual machine is allocated with 3 GB memory, 2 CPUs, two NICs, and 60 GB hard disks.

Chapter 2: Configure virtual hosts and prepare the environment

2.1-2.7 The two virtual machines must be configured the same (except for the host name and IP address, as configured in chapter 1 ).

The udev binding script comes from the oracle 11g rac tutorial of maclean liu.

Http://t.askmaclean.com/forum.php? Mod = viewthread & tid = 2007 & extra = page % 3D2% 26 orderby % 3 Dlastpost

2.1 disable selinux and iptables

Modify the/etc/selinux/config file and SELINUX = disables to disable SELINUX.

/Etc/init. d/iptables stop disable the Firewall Service.

Chkconfig-level 35 ipatables off disable service startup. '

2.2 modify the Host Name and hosts file

2.3 create related user groups

The CREATE Command is as follows:

Groupadd-g 5000 asmadmin

Groupadd-g 5001 asmdba

Groupadd-g 5002 asmoper

Groupadd-g 6000 oinstall

Groupadd-g 6001 dba

Groupadd-g 6002 running

Useradd-g oinstall-G asmadmin, asmdba, asmoper grid

Useradd-g oinstall-G dba, asmdba oracle

2.4 configure the yum source and install the software packages required by oracle

Vi edit the oinstall. repo file and enter the following content:

[Oracle-install]

Name = oracle-install

Baseurl = file: // media/disk/Server

Gpgcheck = 0

Enabled = 1

Run yum install oracle-validated and enter Y to install the tool.

2.5 modify user limit parameter files

Cat/etc/security/limits. conf: Check the parameters of the User restriction file. After yum install oracle-vildated is used, the oracle user parameters are automatically configured.

You only need to add the number of grid users to the file.

# Grid-Validated setting for nofile soft limit is 131072

Grid soft nofile 131072

# Grid-Validated setting for nofile hard limit is 131072

Grid hard nofile 131072

# Grid-Validated setting for nproc soft limit is 131072

Grid soft nproc 131072

# Grid-Validated setting for nproc hard limit is 131072

Grid hard nproc 131072

# Grid-Validated setting for core soft limit is unlimited

Grid soft core unlimited

# Grid-Validated setting for core hard limit is unlimited

Grid hard core unlimited

# Grid-Validated setting for memlock soft limit is 50000000

Grid soft memlock 50000000

# Grid-Validated setting for memlock hard limit is 50000000

Grid hard memlock 50000000

2.6 create the installation directory for the database and grid

Mkdir/u01

Mkdir/g01

Chown-R oracle: oinstall/u01

Chown-R grid: oinstall/g01

Passwd oracle

Passwd grid

2.7 disable the ntp service

[Root @ rac1] #/etc/init. d/ntpd status

Ntpd is stopped

[Root @ rac1] # chkconfig ntpd off

[Root @ rac1] # mv/etc/ntp. conf/etc/ntp. conf. original

  • 1
  • 2
  • 3
  • 4
  • 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.