Oracle 10g RAC installation experience

Source: Internet
Author: User
1. Install Oracle 10g RAC in the Oracle Linux environment on the vmvm
This article references:
Http://www.oracle.com/technology/global/cn/pub/articles/chan-ubl-vmware.html
Http://www.oracle.com/technology/global/cn/pub/articles/smiley_rac10g_install.html
Precautions for installing Linux:
1. When installing Linux, install all "development" and "Legacy development" under "development ".
2. Select: System Tools Ocfs-2-2.6.9-42.0.0.0.1EL, Ocfs2-tools Ocfs2console, Oracle oracleasm-2.6.9-42.0.0.0.1EL(Up the kernel driver), or select Oracleasm-2.6.9-42.0.0.0.1ELsmp , Sysstat
In fact, if you select all the options starting with: Oracle in Oracle Linux, you do not need to download the ASM manager when installing ASM.

But it turns out that the above is wrong !! You do not need to install the option starting with all ORACLE; otherwise, an error will occur when installing the ocfs file system! (Unable to load module configfs) you only need to install:
SelectSystem Tools.

  • ClickDetails. In addition to the selected packages by default, select the following packages.

    1. SelectOcfs-2-2.6.9-42.0.0.0.1EL(Up the kernel driver), or selectOcfs-2-2.6.9-42.0.0.0.1ELsmp(SMP kernel driver ). It is best to select the next one. Never select the one in front of it!
    2. SelectOcfs2-tools.
    3. SelectOcfs2console.
    4. SelectOracle oracleasm-2.6.9-42.0.0.0.1EL(Up the kernel driver), or selectOracleasm-2.6.9-42.0.0.0.1ELsmp(SMP kernel driver ). It is best to select the next one. Never select the one in front of it!
    5. SelectSysstat.

3. Final installation:
Libaio-0.3.105-2.i386.rpm this package is this in 32-bit cases, if 64-bit, it carries * 64 characters
Openmotif21-2.1.30-11.RHEL4.6.i386.rpm
To install RAC:
1. Create oracle users and groups, and modify environment variables of oracle users.
For example:/Export/home/Oracle/. Profile
/Etc/security/limits. conf/Etc/PAM. d/login/Etc/profile
Note: add the following content here:

If [$ user = "oracle"]; then
If you use Cat >>< EOF, You Need To:/$ user. If you use VI directly, write it like this.

2. Modify the/etc/hosts file

# more /etc/hosts
127.0.0.1 localhost
192.168.2.131 rac1.mycorpdomain.com rac1
192.168.2.31 rac1-vip.mycorpdomain.com rac1-vip
10.10.10.31 rac1-priv.mycorpdomain.com rac1-priv
192.168.2.132 rac2.mycorpdomain.com rac2
192.168.2.32 rac2-vip.mycorpdomain.com rac2-vip
10.10.10.32 rac2-priv.mycorpdomain.com rac2-priv

The above is different every time. Check your configured IP address and host name.
3,Configure the hangcheck timer kernel module
4. Create disk partitions for ocfs2 and Oracle ASM.

5. Ssh identity Synchronization
(1) When the password is required, you must set one. If you press enter, it will be troublesome in the future.
If the password is unfortunately not set, run the command Rm-R. SSH to force the directory to be deleted.
(2) be sure to create the same ~ /. Ssh/authorized_keys: run the following command. Otherwise, the system always requires an SSH password !!
Exec/usr/bin/ssh-agent $ Shell
/Usr/bin/ssh-add
6. Configure Oracle Automatic Storage Management (ASM)
In this case, you must use the root user command.
7. Configure ocfs2
The configuration of o2cb must be configured on both and!


Additional experience after successful installation
1. In the RAC installation help document, some users will create multiple user groups, such as oinstall and DBA. In fact, only one DBA needs to be created; the Oracle user directory is also created in multiple directories, which is not required. I created the directory in/u01 and modified the directory. bash_profile file. If you want to create export oracle_base, it is best to create it under/u01/APP/, that is, do not create it under the root directory of/01 to avoid conflicts with other user files.
2. Create an ocfs2 format partition for both the optical character recognition (OCR) and voting disk. That is,/ocfs. In the future, do not mount this partition in ASM, because it will create an ocfs2 partition. Later, after adding a file to the partition in any operating system, you can see it in another operating system.
2. Put the Oracle parameters in the. bash_profile or. profile in the user directory, as if the. profile will be run at startup, and the estimation will do.
3. It is best to set the parameters nls_lang and Lang to: = "simplified chinese_china.zhs16gbk"
4. Configure time synchronization. Otherwise, the following error occurs when you install OCR: in the future. Put clock and other content behind the/boot/line and do not wrap the line.
5. When installing Oracle software, you must first establish user equivalence relationships. Execute: exec/usr/bin/ssh-agent $ Shell
/Usr/bin/ssh-add

Otherwise, a OUI-35000 error occurs when you install the database on both Rac1 and rac2.

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.