A similar test environment is installed because the customer database needs to be patched. You need to install 10.2.0.1 before upgrading to 10.2.0.5. Because I have a lot of articles about the installation, so this article only say the key steps, as well as the bug installation errors encountered
Note: I have been tested in Redhat 6.3, unable to complete the installation, mainly in the run root.sh script when the time cannot pass. This problem does not occur with Redhat 5.8.
Steps:
1. Firewall and SELinux
2, kernel parameter
3. SOURCE Limit
4. Create User and Group
5. Establish a trust relationship
6. Install dependent packages
7. Configure User environment variables and passwords
8. Create a bare device
9. Configure the mapping file
10. Installing the Grid
11. Upgrading the Grid
12, Configuration VIPCA
13. Install Database
14. Upgrade Database
15. Create a RAC Database
Because 10g does not have 11g comes with the tool can be very convenient to hit the channel, so more trouble, but here I still directly is the 11g software to decompress with its tools to automatically establish a trust relationship.
To install a dependency package:
Yum install-y libxau* libxcb* libx11* libxext* libice* libuuid* libsm* libxt* libxi* libxtst* libXp* glibc-devel* Lib aio-devel* libaio* compat-libstdc++* libxpm* libxp-devel* libxpm-devel* compat-libstdc++* compat-libstdc++* compat-libstdc++* gcc-4.4.6* gcc-c++*
To create a bare device:
I'm here to use virtual box to set up a few pieces of disk, here to remind you need to set the property disk to share, or will error. Here I have the previous article also said
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"
[Email protected] ~]# ls-l/dev/raw
Total 0
crw-rw--1 Oracle Oinstall 162, 1 Sep 04:17 RAW1
crw-rw--1 Oracle Oinstall 162, SEP 04:17 RAW10
crw-rw--1 Oracle Oinstall 162, one Sep 04:17 RAW11
crw-rw--1 Oracle Oinstall 162, SEP 04:17 Raw12
crw-rw--1 Oracle Oinstall 162, SEP 04:17 raw13
crw-rw--1 Oracle Oinstall 162, SEP 04:17 RAW14
crw-rw--1 Oracle Oinstall 162, SEP 04:17 raw16
crw-rw--1 Oracle Oinstall 162, SEP 04:17 raw17
crw-rw--1 Oracle Oinstall 162, SEP 04:17 raw18
crw-rw--1 Oracle Oinstall 162, SEP 04:17 raw19
crw-rw--1 Oracle Oinstall 162, 2 Sep 04:17 raw2
crw-rw--1 Oracle Oinstall 162, SEP 04:17 RAW20
crw-rw--1 Oracle Oinstall 162, SEP 04:17 raw21
crw-rw--1 Oracle Oinstall 162, 3 Sep 04:17 raw3
crw-rw--1 Oracle Oinstall 162, 4 Sep 04:17 raw4
crw-rw--1 Oracle Oinstall 162, 5 Sep 04:17 raw5
crw-rw--1 Oracle Oinstall 162, 6 Sep 04:17 raw6
crw-rw--1 Oracle Oinstall 162, 7 Sep 04:17 raw7
crw-rw--1 Oracle Oinstall 162, 8 Sep 04:17 raw8
crw-rw--1 Oracle Oinstall 162, 9 Sep 04:17 Raw9
To configure the mapping file:
[email protected] ~]$ cat Zbdba.txt
System=/dev/raw/raw6
Sysaux=/dev/raw/raw7
Example=/dev/raw/raw8
Temp=/dev/raw/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 nothing wrong with installing the grid software, mainly when running root.sh scripts.
The Failed to upgrade Oracle Cluster Registry configuration error occurs because of a bug that is clearly stated in document 466673.1. So download
Patch 4679769
Unzip the patch, and then:
CP./4679769/clsfmt.bin/u01/app/crs/bin/clsfmt.bin
To 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, the previous device
DD If=/dev/zero OF=/DEV/RAW/RAW1 bs=1024k count=1000
DD If=/dev/zero OF=/DEV/RAW/RAW2 bs=1024k count=1000
DD If=/dev/zero OF=/DEV/RAW/RAW3 bs=1024k count=1000
DD If=/dev/zero OF=/DEV/RAW/RAW4 bs=1024k count=1000
DD If=/dev/zero of=/dev/raw/raw5 bs=1024k count=1000
To upgrade the grid, you need to download: The P8202632_10205_linux-x86-64.zip grid and the database upgrade package are all in this area.
Just follow the prompts, step by step.
Oracle RAC 10.2.0.5 Install for Redhat 5.8 (use raw device)