Summary of installing Oracle 10g rac in Linux AS4

Source: Internet
Author: User

1. After you create an OCR and VOTE shared disk in the VM, you can use fdisk-l to partition the disk at one vertex. However, you must check whether the raw data is available.

Once or twice, it is sometimes available. Sometimes the Raw prompt corresponding to the two nodes cannot find the corresponding partition. If ls/dev/sdb1 does not exist, you can restart the two nodes to solve the problem, what are the specific causes?

2. the required software packages are provided according to the official documentation. There are two fewer openmotif and libaio packages. The following lists all the software packages.

Binutils-2.15.92.0.2-10.EL4
Compat-db-4.1.25-9
Control-center-2.8.0-12
Gcc-3.4.3-9.EL4
Gcc-c ++-3.4.3-9. EL4
Glibc-2.3.4-2
Glibc-common-2.3.4-2
Gnome-libs-1.4.1.2.90-44.1
Libstdc ++-3.4.3-9. EL4
Libstdc +-devel-3.4.3-9.EL4
Make-3.80-5
Compat-libstdc ++-296-2.96-132.7.2
Pdksh-5.2.14-30
Sysstat-5.0.5-1
Xscreensaver-4.18-5.rhel4.2
Setarch-1.6-1
Openmotif
Libaio

Pay attention to the libaio version issue. It is best to install the version on the CD or higher. I downloaded a lower version from the Internet and still reported an error when starting the ASM instance. The above packages must be fully installed. Otherwise, an error may be reported during database installation.

If there is a problem with the OCR and VOTE shared disks, the root. sh will be executed at the second point until the last 90S.

3. If you choose to create a database manually at the end of the process, and the ASM option may sometimes cause problems, the ASM instance may not be able to get up, which can be solved manually, on the page for creating a disk group, if you are prompted that the disk cannot be found, you can modify the directory below. However, you can only modify the directory of the current node, manually modify 2 nodes, restart the ASM instance, and manually attach the created disk group.

4. If you select a script to create a database, you must manually register the database and instace to the RAC registry.

(1) register a database:
Srvctl add database-d <db_name>-o $ Oracle_HOME
(2) register all instances:
Srvctl add instance-d <db_name>-I <instance_name>-n <node1>
Srvctl add instance-d <db_name>-I <instance_name>-n <node2>
(3) config Database
Srvctl config database-d <db_name>

Installation Steps

1. Configure the VM Environment

2. Configure the Operating System

Install related software packages

Create groups and users, and the corresponding installation directory and configure Environment Variables

3. Configure the hangcher-time module

Echo "options hangcheck-timer hangcheck_tick = 30 hangcheck_margin = 180">/etc/modprobe. conf

Start this module: root User: modprobe hangcheck-timer

4. Modify Kernel Parameters

Add the following content to the/etc/sysctl. conf file:

Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 1048576
Net. core. rmem_max = 1048576
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144


5. Modify the host name and the IP address of the corresponding Nic.

6. Modify hosts

Ip host name 1

Ip host name 2

Ip host name 1-vip

Ip host name 2-vip

Ip host name 1-priv

Ip host name 2-priv

Vip and public are in the same network segment.

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.