首页 > 代码库 > RedHat EL5 安装Oracle 10g RAC之--Oracle软件安装

RedHat EL5 安装Oracle 10g RAC之--Oracle软件安装

RedHat EL5 安装Oracle 10g RAC之--Oracle软件安装

系统环境:

操作系统:RedHat EL5

Cluster: Oracle CRS 10.2.0.1.0

Oracle:  Oracle 10.2.0.1.0


如图所示:RAC 系统架构

wKioL1Np_tziLDXcAAGvUOVml00321.jpg

三、安装Orancle 软件  

在构建、配置完成CRS以后,就可以安装Oracle软件

安装需采用图形化方式,以Oracle用户的身份安装(在node1上):

注意:修改安装配置文件,增加redhat-5的支持

[oracle@node1 install]$ pwd

/home/oracle/database/install

[oracle@node1 install]$ ls

addLangs.sh  images   oneclick.properties  oraparamsilent.ini  response

addNode.sh   lsnodes  oraparam.ini         resource            unzip

[oracle@node1 install]$ vi oraparam.ini

[Certified Versions]

Linux=redhat-3,SuSE-9,redhat-4,redhat-5,UnitedLinux-1.0,asianux-1,asianux-2

[oracle@node1 Disk1]$./runInstaller

wKiom1Np_5jRbqZWAARshvkZZ70577.jpg

安装Oracle 企业版

wKioL1Np_5qilM5PAARdr15mqmw404.jpg

注意安装路径

wKiom1Np_-XC5_xLAARg9PjN7ZU685.jpg

选择所有node

wKiom1NqAAbii9l2AATBXBqKhig864.jpg

只安装软件

wKiom1NqAKOiLjQfAASOFpb5_H4380.jpg

开始安装和传送软件到node2

wKioL1NqAIzw1M-eAAPejAOqv34467.jpg

分别在node1和node2,按顺序执行script

node1:


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

Running Oracle10 root.sh script...

The following environment variables are set as:

   ORACLE_OWNER= oracle

   ORACLE_HOME=  /u01/app/oracle/product/10.2.0/db_1


Enter the full pathname of the local bin directory: [/usr/local/bin]:

  Copying dbhome to /usr/local/bin ...

  Copying oraenv to /usr/local/bin ...

  Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

node2:

[root@node2 bin]# /u01/app/oracle/product/10.2.0/db_1/root.sh

Running Oracle10 root.sh script...

The following environment variables are set as:

   ORACLE_OWNER= oracle

   ORACLE_HOME=  /u01/app/oracle/product/10.2.0/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:

  Copying dbhome to /usr/local/bin ...

  Copying oraenv to /usr/local/bin ...

  Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

wKioL1NqAR-zIyYzAALu6NWA8Zw416.jpg

完成安装!









本文出自 “天涯客的blog” 博客,请务必保留此出处http://tiany.blog.51cto.com/513694/1408053