RedHat EL5 installation of Oracle 10g RAC-Build Library

Source: Internet
Author: User

RedHat EL5 installation of Oracle 10g RAC-Build Library

System environment:

Operating system: RedHat EL5

Cluster:oracle CRS 10.2.0.1.0

Oracle:oracle 10.2.0.1.0


: RAC System Architecture

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/26/2A/wKioL1NqAeDQ-M09AAGvUOVml00157.jpg "title=" Rac.png "alt=" Wkiol1nqaedq-m09aagvuovml00157.jpg "/>

Iv. establishment of a database through DBCA


1. First configure ASM Disk group with DBCA

[[email protected] install] $DBCA

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/2B/wKiom1NqA2jgxPI1AANHhuD7tyA844.jpg "title=" b1.png "alt=" Wkiom1nqa2jgxpi1aanhhud7tya844.jpg "/>

Choosing a RAC environment to build a library

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/2C/wKioL1NqA2GjsYicAAL6WnLV2qg009.jpg "title=" b2.png "alt=" Wkiol1nqa2gjsyicaal6wnlv2qg009.jpg "/>

Select ASM Disk Group Management

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/2D/wKiom1NqBBbzGbloAAQzX2yu7mo295.jpg "title=" C25 (2) . png "alt=" wkiom1nqbbbzgbloaaqzx2yu7mo295.jpg "/>

Create ASM Instance, and be careful to choose Pfile, easy to manage

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/26/2E/wKioL1NqBCPATNkzAAQfmtv5RzY517.jpg "title=" C28 (2) . png "alt=" wkiol1nqbcpatnkzaaqfmtv5rzy517.jpg "/>

Create ASM Instance

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/26/2E/wKioL1NqBG3QMGgrAAQ_pMU_fVk999.jpg "title=" C25 (1) . png "alt=" wkiol1nqbg3qmggraaq_pmu_fvk999.jpg "/>

Tip: Creating an ASM instance will create a listener

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/26/30/wKioL1NqBXKwCDTcAAN8iuzg_-A089.jpg "title=" C28 (1) . png "alt=" wkiol1nqbxkwcdtcaan8iuzg_-a089.jpg "/>

Create ASM DISKGROUP,DG1 for storing database, with normal redundancy, select two raw

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/30/wKiom1NqBXijROqCAANy_xIQ3gg321.jpg "title=" C16.png "alt=" Wkiom1nqbxijroqcaany_xiq3gg321.jpg "/>

Create ASM Diskgroup,rcy1 for storing recovery area, with normal redundancy, select two raw


2. After the disk group creation is complete, start building the library

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/30/wKiom1NqBjTwaAhnAAK9JA2XvKU171.jpg "title=" C12.png "alt=" Wkiom1nqbjtwaahnaak9ja2xvku171.jpg "/>

Start building the Library

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/26/30/wKiom1NqBlXwZrfPAAK4pIveD2Y386.jpg "title=" C13.png "alt=" Wkiom1nqblxwzrfpaak4pived2y386.jpg "/>

Note Select All node

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/26/30/wKioL1NqBk2w2k4vAANnpntEquw278.jpg "title=" C14.png "alt=" Wkiol1nqbk2w2k4vaannpntequw278.jpg "/>

Configure the library name

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/30/wKiom1NqBp6zfWPYAAOv5nBWFDg829.jpg "title=" C15.png "alt=" Wkiom1nqbp6zfwpyaaov5nbwfdg829.jpg "/>

Storage media, select ASM

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/31/wKioL1NqBqCgYoo1AANbhRx7DhE883.jpg "title=" C17.png "alt=" Wkiol1nqbqcgyoo1aanbhrx7dhe883.jpg "/>

Database stored in DG1 diskgroup

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/31/wKioL1NqBtuQkYJNAAPnp-SZ0N8985.jpg "title=" C18.png "alt=" Wkiol1nqbtuqkyjnaapnp-sz0n8985.jpg "/>

Recovery area is stored in Rcy1 diskgroup

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/31/wKiom1NqBzbB6nCVAANndFdHlGU069.jpg "title=" C20.png "alt=" Wkiom1nqbzbb6ncvaanndfdhlgu069.jpg "/>

Build Library Start

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/26/31/wKiom1NqB2Dy4mGSAASLdW4Vdsc607.jpg "title=" O21.png "alt=" Wkiom1nqb2dy4mgsaasldw4vdsc607.jpg "/>

Build Library Complete!


V. Verifying the RAC

[[email protected] ~]# CRSCTL Check CRS

CSS appears healthy

CRS appears healthy

EVM appears healthy

[Email protected] ~]# crs_stat-t

Name Type Target State Host

------------------------------------------------------------

Ora .... Sm1.asm Application Online Online Node1

Ora .... E1.lsnr Application Online Online Node1

ORA.NODE1.GSD Application Online Online Node1

Ora.node1.ons Application Online Online Node1

ORA.NODE1.VIP Application Online Online Node1

Ora .... Sm2.asm Application Online Online Node2

Ora .... E2.lsnr Application Online Online Node2

ORA.NODE2.GSD Application Online Online Node2

Ora.node2.ons Application Online Online Node2

ORA.NODE2.VIP Application Online Online Node2

Ora.prod.db Application Online Online Node1

Ora....d1.inst Application Online Online Node1

Ora....d2.inst Application Online Online Node2

[Email protected] ~]#

[[email protected] ~]# CRSCTL Check CRS

CSS appears healthy

CRS appears healthy

EVM appears healthy

[Email protected] ~]# crs_stat-t

Name Type Target State Host

------------------------------------------------------------

Ora .... Sm1.asm Application Online Online Node1

Ora .... E1.lsnr Application Online Online Node1

ORA.NODE1.GSD Application Online Online Node1

Ora.node1.ons Application Online Online Node1

ORA.NODE1.VIP Application Online Online Node1

Ora .... Sm2.asm Application Online Online Node2

Ora .... E2.lsnr Application Online Online Node2

ORA.NODE2.GSD Application Online Online Node2

Ora.node2.ons Application Online Online Node2

ORA.NODE2.VIP Application Online Online Node2

Ora.prod.db Application Online Online Node1

Ora....d1.inst Application Online Online Node1

Ora....d2.inst Application Online Online Node2


Sql> select Instance_name,status from Gv$instance;


instance_name STATUS

---------------- ------------

PROD2 OPEN

Prod1 OPEN


Attached: Error cases


The following error occurred when the Oracle user executed srvctl after the installation was completed:

[Email protected] ~]$ srvctl stop database-d PROD

/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java:error while loading shared libraries:libpthread.so.0:cannot Open Shared object File:no such file or directory

[[Email protected] ~]$ CD $ORACLE _home/bin (note the ORACLE Software home directory)

[Email protected] bin]$ VI srvctl

#Remove This workaround if the bug 3937317 is fixed

ld_assume_kernel=2.4.19

Export Ld_assume_kernel

Unset Ld_assume_kernel (Add this line information in the file)

--Problem solving!


At this point, the installation of Oracle 10g RAC under Redhat EL5 is over, and the management and maintenance of RAC is still a long way off!





This article is from the "Tianya blog," Please make sure to keep this source http://tiany.blog.51cto.com/513694/1408063

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.