Oracle RAC 10.2.0.5 Install For redhat 5.8 (use raw device)

Source: Internet
Author: User

Oracle RAC 10.2.0.5 Install For redhat 5.8 (use raw device)

Because the customer's database needs to be patched, similar test environments are installed. You must first install Oracle RAC 10.2.0.1 and then upgrade it to 10.2.0.5. Because I have many articles about installation, this article only describes the key steps and the bug installation errors.

Note: I have tested it in RedHat 6.3 and cannot install it. It is mainly because it fails to pass the root. sh script. Changing to redhat 5.8 does not cause this problem.

Steps:
1. Firewall and selinux
2. kernel parameter
3. source limit
4. create user and group
5. Establish trust relationships
6. Install the dependency package
7. Configure user environment variables and passwords
8. Create a bare Device
9. Configure the ing File
10. Install grid
11. Upgrade grid
12. Configure vipca
13. Install database
14. Upgrade database
15. Create a rac Database

Because 10G does not have 11g built-in tools to easily connect to the channel, it is quite troublesome, but here I am still directly using the 11g software to decompress it and use its tools to automatically establish trust relationships.
Install the dependency package:
Yum install-y libXau * libxcb * libX11 * libXext * libICE * libuuid * libSM * libXt * libXi * libXtst * libXp * glibc-devel * libaio * compat-stdc + + * libXpm * libXp-devel * libXpm-devel * compat-libstdc ++ * gcc-4.4.6 * gcc-c ++ *

Create a bare device:
I am using a Virtual Box to create several disks. I would like to remind you that you need to set the attribute disk to share. Otherwise, an error will be reported. As mentioned in the previous article
Udev rules:
Vi/etc/udev/rules. d/60-raw.rules
ACTION = "add", KERNEL = "sdb", RUN + = "/bin/raw/dev/raw/raw1% N"
ACTION = "add", KERNEL = "sdc", RUN + = "/bin/raw/dev/raw/raw2% N"
ACTION = "add", KERNEL = "sdd", RUN + = "/bin/raw/dev/raw/raw3% N"
ACTION = "add", KERNEL = "sde", RUN + = "/bin/raw/dev/raw/raw4% N"
ACTION = "add", KERNEL = "sdf", RUN + = "/bin/raw/dev/raw/raw5% N"
ACTION = "add", KERNEL = "sdg", RUN + = "/bin/raw/dev/raw/raw6% N"
ACTION = "add", KERNEL = "sdh", RUN + = "/bin/raw/dev/raw/raw7% N"
ACTION = "add", KERNEL = "sdi", RUN + = "/bin/raw/dev/raw/raw8% N"
ACTION = "add", KERNEL = "sdj", RUN + = "/bin/raw/dev/raw/raw9% N"
ACTION = "add", KERNEL = "sdk", RUN + = "/bin/raw/dev/raw/raw10% N"
ACTION = "add", KERNEL = "sdl", RUN + = "/bin/raw/dev/raw/raw11% N"
ACTION = "add", KERNEL = "sdm", RUN + = "/bin/raw/dev/raw/raw12% N"
ACTION = "add", KERNEL = "sdn", RUN + = "/bin/raw/dev/raw/raw13% N"
ACTION = "add", KERNEL = "sdo", RUN + = "/bin/raw/dev/raw/raw14% N"
ACTION = "add", KERNEL = "sdp", RUN + = "/bin/raw/dev/raw/raw16% N"
ACTION = "add", KERNEL = "sdq", RUN + = "/bin/raw/dev/raw/raw17% N"
ACTION = "add", KERNEL = "sdr", RUN + = "/bin/raw/dev/raw/raw18% N"
ACTION = "add", KERNEL = "sds", RUN + = "/bin/raw/dev/raw/raw19% N"
ACTION = "add", KERNEL = "sdt", RUN + = "/bin/raw/dev/raw/raw20% N"
ACTION = "add", KERNEL = "sdu", RUN + = "/bin/raw/dev/raw/raw21% N"
ACTION = "add", KERNEL = "raw *", OWNER = "oracle", GROUP = "oinstall", MODE = "0660"


[Root @ rac2 ~] # Ls-l/dev/raw
Total 0
Crw-rw -- 1 oracle oinstall 162, 1 Sep 29 raw1
Crw-rw -- 1 oracle oinstall 162, 10 Sep 29 raw10
Crw-rw -- 1 oracle oinstall 162, 11 Sep 29 raw11
Crw-rw -- 1 oracle oinstall 162, 12 Sep 29 raw12
Crw-rw -- 1 oracle oinstall 162, 13 Sep 29 raw13
Crw-rw -- 1 oracle oinstall 162, 14 Sep 29 raw14
Crw-rw -- 1 oracle oinstall 162, 16 Sep 29 raw16
Crw-rw -- 1 oracle oinstall 162, 17 Sep 29 raw17
Crw-rw -- 1 oracle oinstall 162, 18 Sep 29 raw18
Crw-rw -- 1 oracle oinstall 162, 19 Sep 29 raw19
Crw-rw -- 1 oracle oinstall 162, 2 Sep 29 raw2
Crw-rw -- 1 oracle oinstall 162, 20 Sep 29 raw20
Crw-rw -- 1 oracle oinstall 162, 21 Sep 29 raw21
Crw-rw -- 1 oracle oinstall 162, 3 Sep 29 raw3
Crw-rw -- 1 oracle oinstall 162, 4 Sep 29 raw4
Crw-rw -- 1 oracle oinstall 162, 5 Sep 29 raw5
Crw-rw -- 1 oracle oinstall 162, 6 Sep 29 raw6
Crw-rw -- 1 oracle oinstall 162, 7 Sep 29 raw7
Crw-rw -- 1 oracle oinstall 162, 8 Sep 29 raw8
Crw-rw -- 1 oracle oinstall 162, 9 Sep 29 raw9

Configure the ing file:
[Oracle @ rac1 ~] $ Cat zbdba.txt
System =/dev/raw/raw6
Sysaux =/dev/raw/raw7
Example =/dev/raw/raw8
Temp =/dev/raw/raw11
Users =/dev/raw/raw12
Undotbs1 =/dev/raw/raw13
Undotbs2 =/dev/raw/raw14
Redo1_1 =/dev/raw/raw5
Redo1_2 =/dev/raw/raw16
Redo2_1 =/dev/raw/raw17
Redo2_2 =/dev/raw/raw18
Control1 =/dev/raw/raw19
Control2 =/dev/raw/raw20
Pwdfile =/dev/raw/raw9
Spfile =/dev/raw/raw10

There is no problem with installing the grid software, mainly when running the root. sh script.
The error "Failed to upgrade Oracle Cluster Registry configuration" may occur. The cause of this error is a bug which is explicitly stated in document 466673.1. So download
Patch 4679769
Decompress the patch and then:
Cp./4679769/clsfmt. bin/u01/app/crs/bin/clsfmt. bin
Overwrite it

Then test:
/U01/app/crs/bin/clsfmt. bin ocr/dev/raw/raw1
Clsfmt: successfully initialized file/dev/raw/raw1


Note that when you run the root. sh script again
Dd if =/dev/zero of =/dev/raw/raw1 bs = 1024 k count = 1000
Dd if =/dev/zero of =/dev/raw/raw2 bs = 1024 k count = 1000
Dd if =/dev/zero of =/dev/raw/raw3 bs = 1024 k count = 1000
Dd if =/dev/zero of =/dev/raw/raw4 bs = 1024 k count = 1000
Dd if =/dev/zero of =/dev/raw/raw5 bs = 1024 k count = 1000

Upgrade grid, you need to download: Both p8202632_10205_Linux-x86-64.zip grid and database Upgrade package here
Just step by step as prompted.

Oracle 11g installation manual on RedHat Linux 5.8 _ x64 Platform

Installing Oracle 12C in Linux-6-64

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

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.