Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The Construction of RAC by Oracle 11gR2 (5)-- install Oracle and build Library

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The Construction of RAC by Oracle 11gR2 (5)-- install Oracle and build Library

System environment:

Operating system: RedHat EL5

Cluster: Oracle GI (Grid Infrastructure)

Oracle: Oracle 11.2.0.1.0

As shown in the figure: RAC system architecture

Install Oracle and build a library

Log in to the system as an oracle user and install the Oracle software and set up the database

Just install the software, and then build the library

Installed in RAC environment

Install softwar

Follow the prompt to run the script (all nodes)

[root@node1 ~] # / u01/app/oracle/product/11.2.0/db_1/root.sh

Running Oracle 11g root.sh script...The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= / u01/app/oracle/product/11.2.0/db_1Enter the full pathname of the local bin directory: [/ usr/local/bin]: after the script runs successfully, you can complete the installation of Oracle!

Run the asmca tool in grid to establish a disk group:

Establish a dg1 disk group to store database

Dg1 disk group established successfully

Create a rcy1 diskgroup to store the recovery area

@ at this point, the ASM disk group was created successfully!

Build the database with oracle users through dbca:

Establish database under RAC

Note that it is built on all node

Select ASM storage and manage datafile through OMF

Start building the library

After the database is built, the architecture of Oracle 11g RAC is completed.

Verify:

[root@node1] # crs_stat-tName Type Target State Host-ora.DG1.dg ora....up.type ONLINE ONLINE node1 ora.DG2. Dg ora....up.type ONLINE ONLINE node1 ora....ER.lsnr ora....er.type ONLINE ONLINE node1 ora....N1.lsnr ora....er.type ONLINE ONLINE node1 ora....VOTE.dg ora....up.type ONLINE ONLINE node1 ora.RCY1.dg ora....up.type ONLINE ONLINE node1 ora.asm ora .asm.type ONLINE ONLINE node1 ora.eons ora.eons.type ONLINE ONLINE node1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE node1 ora....SM1.asm application ONLINE ONLINE node1 ora....E1.lsnr application ONLINE ONLINE node1 ora.node1.gsd application OFFLINE OFFLINE ora.node1.ons application ONLINE ONLINE node1 ora.node1.vip ora....t1.type ONLINE ONLINE node1 ora....SM2.asm application ONLINE ONLINE node2 ora....E2.lsnr application ONLINE ONLINE node2 ora.node2.gsd application OFFLINE OFFLINE ora.node2.ons application ONLINE ONLINE node2 ora.node2.vip ora. ... t1.type ONLINE ONLINE node2 ora.oc4j ora.oc4j.type OFFLINE OFFLINE ora.ons ora.ons.type ONLINE ONLINE node1 ora.prod.db ora....se.type ONLINE ONLINE node1 ora....taf.svc ora....ce.type ONLINE ONLINE node1 ora....ry.acfs ora....fs.type ONLINE ONLINE Node1 ora.scan1.vip ora....ip.type ONLINE ONLINE node1 rac_web application ONLINE ONLINE node1 web_vip application ONLINE ONLINE node1 17:06:17 SYS@ prod1 > select name from v$database NAME-PRODElapsed: 00.3817 prod1 OPEN 00.3817 SYS@ prod1 > select instance_number,instance_name,status from gv$instance;INSTANCE_NUMBER INSTANCE_NAME STATUS- 1 prod1 OPEN 2 prod2 OPEN

@ at this point, the deployment and architecture of the entire Oracle 11g RAC are complete!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report