Oracle series: Installing Oracle RAC database (2)

Source: Internet
Author: User

Followed by the above article: http://ixdba.blog.51cto.com/2895551/880511

14. Install Oracle Clusterware

1) decompress the Software Package
Assume that all the database software is in the/rac directory. First, extract the two Oracle software packages as follows:
[Root @ node-rac1 rac] # ls
Linux_11gR1_database_1013.zip linux_x86_11gR1_clusterware.zip
[Root @ node-rac1 rac] # unzip linux_x86_11gR1_clusterware.zip
[Root @ node-rac1 rac] # unzip linux_11gR1_database_1013.zip
2) install the patch package
Decompress the package and install the patch package.
[Root @ node-rac1 rac] #/rac/clusterware/rpm
[Root @ node-rac1 rac] # rpm-Uvh cvuqdisk-1.0.1-1.rpm
After the node node-rac1 installation is complete, continue with the patch installation on the node-rac2.
3) Verify the installation environment
Before starting the installation, you can use an oracle Automatic Detection script to verify whether the system environment can be installed. log on to the system as an oracle user and run the following command:
[Oracle @ node-rac1 ~] $/Rac/clusterware/runcluvfy. sh stage-pre crsinst-n node-rac1, node-rac2-verbose
4) Start Installation
Log on to the Linux GUI as an oracle user and run the installation script:
[Oracle @ node-rac1 ~] $ Cd/rac/clusterware/
[Oracle @ node-rac1 clusterware] $./runInstaller
The graphical Installation Wizard interface is displayed. The installation process is very simple. Only the installation diagram is provided here. All the operations are accurate and not described.

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/20114432L-0.png "/>

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/201144I28-1.png "/>

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/201144N15-2.png "/>

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/20114423L-3.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/20114411a-4.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/2011443423-5.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/2011444b1-6.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/2011442Y4-7.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/20114441X-8.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/2011442636-9.png "/>

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/2011442c5-10.png "/>

According to the installation wizard prompts, execute the above two scripts on all nodes as the root user, to execute one node at a node, the information when the node-rac1 executes root. sh is as follows:
[Root @ node-rac1 crs] #./root. sh
WARNING: directory '/app/Alert RS/product/11.0.6' is not owned by root
WARNING: directory '/app/Alert RS/product' is not owned by root
/Etc/oracle does not exist. Creating it now.
......
Node 1: node-rac1 node-priv1 node-rac1
Node 2: node-rac2 node-priv2 node-rac2
Creating OCR keys for user 'root', privgrp 'root '..
Operation successful.
Now formatting voting device:/dev/raw/raw3
Now formatting voting device:/dev/raw/raw4
Now formatting voting device:/dev/raw/raw5
Format of 3 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
Node-rac1
Cluster Synchronization Services is inactive on these nodes.
Node-rac2
Local node checking complete. Run root. sh on remaining nodes to start CRS daemons.


Continue executing the root. sh script in the node-rac2 and output the following:
[Root @ node-rac2 crs] #./root. sh
WARNING: directory '/app/Alert RS/product/11.0.6' is not owned by root
WARNING: directory '/app/Alert RS/product' is not owned by root
WARNING: directory '/app/Alert Rs' is not owned by root
WARNING: directory '/app' is not owned by root
Checking to see if Oracle CRS stack is already configured
/Etc/oracle does not exist. Creating it now.
...........
Node 1: node-rac1 node-priv1 node-rac1
Node 2: node-rac2 node-priv2 node-rac2
Clscfg: Arguments check out successfully.
Cluster Synchronization Services is active on these nodes.
Node-rac1
Node-rac2
Cluster Synchronization Services is active on all the nodes.
Running vipca (silent) for processing nodeapps
Creating VIP application resource on (2) nodes...
Creating GSD application resource on (2) nodes...
Creating ONS application resource on (2) nodes...
Starting VIP application resource on (2) nodes...
Starting GSD application resource on (2) nodes...
Starting ONS application resource on (2) nodes...
Done.
 

Finally, the installation completion verification information is displayed as follows:

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131229/2011441426-11.png "/>

 

Not complete to be continued!

This article from the "Technical Achievement dream" blog, please be sure to keep this source http://ixdba.blog.51cto.com/2895551/882362

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.