Install 3-node Oracle11gr2 in VMWareESX4.1 with OracleLinux5.5 (x64)

Source: Internet
Author: User
21. For typical Oracle software installation, select the server type and select RAC on the typical installation configuration page: Software location u01apporacleproduct11.2.0db _ 1 gobaldata

21. Typical Oracle software installation: select a server type. On the typical installation configuration page of RAC, select the software location/u01/app/oracle/product/11.2.0/db_1gobal data.

1. Planned IP Address:

RAC1 IP 10.1.1.151

RAC1 VIP 10.1.1.161

RAC1 Priv-IP 10.1.0.1

RAC2 IP 10.1.1.152

RAC2 VIP 10.1.1.162

RAC2 Priv-IP 10.1.0.2

RAC3 IP 10.1.1.153

RAC3 VIP 10.1.1.163

RAC3 Priv-IP 10.1.0.3

Scan ip 10.1.1.170

2. set a new virtual machine and set the memory to 3 GB (it is recommended that the virtual machine should not be less than 2 GB of memory, otherwise unexpected problems may occur), the hard disk is 25 GB, add a NIC and install Oracle Linux5.5 by default. Disable SELinux and firewall.

3. Add groups and users

Groupadd-g 1000 oinstall

Groupadd-g 1200 dba

Useradd-u 1100-g oinstall-G dba oracle

Passwd oracle

4. Check the rpm package

# Rpm-qa -- queryformat "% {NAME}-% {VERSION}-% {RELEASE} (% {ARCH}) \ n" | \

Egrep "binutils | compat-libstdc ++ | elfutils-libelf | gcc | glibc | kernel-headers | ksh | libaio | libgcc | libgomp | libstdc | make | sysstat | unixODBC | pdksh" | sort

Install the rpm package and connect to the Linux installation DVD in the VM.

Run the following command (Note: if more than these packages are missing, install them separately. For the required packages, refer to the Oracle Standard installation documentation)

Mount-r-t iso9660/dev/cdrom/media

Cd/media/Server

Rpm-Uvh binutils-2 .*

Rpm-Uvh compat-libstdc ++-33 *

Rpm-Uvh elfutils-libelf-0 .*

Rpm-Uvh elfutils-libelf-devel -*

Rpm-Uvh gcc-4 .*

Rpm-Uvh gcc-c ++-4 .*

Rpm-Uvh glibc-2 .*

Rpm-Uvh glibc-common-2 .*

Rpm-Uvh glibc-devel-2 .*

Rpm-Uvh glibc-headers-2 .*

Ksh-2 rpm-Uvh *

Rpm-Uvh libaio-0 .*

Rpm-Uvh libaio-devel-0 .*

Rpm-Uvh libgcc-4 .*

Rpm-Uvh libstdc ++-4 .*

Rpm-Uvh libstdc ++-devel-4 .*

Rpm-Uvh make-3 .*

Rpm-Uvh sysstat-7 .*

Rpm-Uvh unixODBC-2 .*

Rpm-Uvh unixODBC-devel-2 .*

Rpm-Uvh gcc-4 * -- nodeps

Rpm-Uvh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm -- nodeps

Rpm-Uvh glibc-devel-2.5 * -- nodeps

Rpm-Uvh glibc-headers-2.5 * -- nodeps

Rpm-Uvh gcc-c ++-4. * -- nodeps

# For OEL, use relevant versions of the following packages from your media.

Rpm-Uvh oracleasm-2.6.18-194.el5-2.0.5-1.el5.x86_64.rpm \

Oracleasm-support-2.1.3-1.el5.x86_64.rpm \

Oracleasmlib-2.0.4-1.el5.x86_64.rpm # it must be noted that this file does not exist in the DVD. If this file is not installed, the ASM disk will not be found on the graphic interface.

You can download it from this website:

Go to the installation directory of grid (downloaded from the Oracle website) and run the rpm directory.

Rpm-Uvh cvuqdisk *

5. edit/etc/hosts

# 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)

10.1.1. 151 rac1.localdomain rac1

10.1.1. 152 rac2.localdomain rac2

10.1.1. 153 rac3.localdomain rac3

# Private Network-(eht1)

10.1.0. 1 rac1-priv.localdomain rac1-priv

10.1.0. 2 rac2-priv.localdomain rac2-priv

10.1.0. 3 rac3-priv.localdomain rac3-priv

# Public Virtual IP-(eth0: 1)

10.1.1. 161 rac1-vip.localdomain rac1-vip

10.1.1. 162 rac2-vip.localdomain rac2-vip

10.1.1. 163 rac3-vip.localdomain rac3-vip

# Note. The SCAN address shocould not really be defined in the hosts file.

# Instead is shoshould be defined on the DNS to round-robin

# Between 3 addresses on the same subnet as the public IPs.

# For this installation, we will compromise and use the hosts file.

# Single Client Access Name (SCAN)

10.1.1. 170 rac-scan.localdomain rac-scan

Change DNS> HostName in network settings to rac1.localdomain.

Add ip, priv-ip Address

6. edit/etc/sysctl. conf and add (the same below) at the end of the file)

Fs. aio-max-nr = 1048576

Fs. file-max = 6815744

Kernel. shmall = 2097152

Kernel. shmmax = 1054504960

Kernel. shmmni = 4096

# Semaphores: semmsl, semmns, semopm, semmni

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

Load the preceding settings

#/Sbin/sysctl-p

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.