RedHat 5.6_x86_64 + ASM + RAW+ Oracle 10g RAC (三)

四、安装clusterware软件

进入clustware目录中执行./runInstaller

130701107.jpg

根据提示信息在jason1与jason2节点上分别执行./rootpre.sh之后,若出现如下信息,选择y回车进行下一步安装。

[root@jason1 rootpre]# ./rootpre.sh

No OraCM running

[root@jason2 rootpre]# ./rootpre.sh

No OraCM running

130725735.jpg

点击下一步

130755279.jpg

如图所示指定用户组为oinstall,点next

130834613.jpg

指定路径为/home/oracle/orahome/product/10.2.0/crs,点击NEXT。

130917657.jpg

检测条件完全通过后,next

130951515.jpg

点击edit,出现如下图,填写另外一节点jason2的配置信息

131015857.jpg

点击ok.

131339440.jpg

编辑后结果如上图所示,点击下一步

132135242.jpg

点击edit,编辑网络信息

132138490.jpg

指定192.168.12.0网段为public,点击确定。

132141931.jpg

点击下一步

132145485.jpg

指定OCR存储位置,选择normal redundancy.

132148420.jpg

点击下一步

132153409.jpg

指定voting disk 存储位置,选择normal redundancy。

132156178.jpg

点击下一步

132200136.jpg

点击install,进行安装。

132204940.jpg

132207808.jpg

按照如上图所示分别在jason1、jason2机器执行orainstRoot.sh、root.sh.

节点jason1上:

[root@jason1 oraInventory]# ./orainstRoot.sh

Changing permissions of/home/oracle/orabase/oraInventory to 770.

Changing groupname of /home/oracle/orabase/oraInventoryto oinstall.

The execution of the script is complete

[root@jason1 oraInventory]# cd/home/oracle/orahome/product/10.2.0/crs/

[root@jason1 crs]# ./root.sh

WARNING: directory '/home/oracle/orahome/product/10.2.0'is not owned by root

WARNING: directory '/home/oracle/orahome/product' is notowned by root

WARNING: directory '/home/oracle/orahome' is not ownedby root

WARNING: directory '/home/oracle' is not owned by root

Checking to see if Oracle CRS stack is alreadyconfigured

/etc/oracle does not exist. Creating it now.


Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgradedsuccessfully

WARNING: directory '/home/oracle/orahome/product/10.2.0'is not owned by root

WARNING: directory '/home/oracle/orahome/product' is notowned by root

WARNING: directory '/home/oracle/orahome' is not ownedby root

WARNING: directory '/home/oracle' is not owned by root

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 andEVMR=49897.

node <nodenumber>: <nodename> <privateinterconnect name> <hostname>

node 1: jason1 jason1-priv jason1

node 2: jason2 jason2-priv jason2

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 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

jason1

CSS is inactive on these nodes.

jason2

Local node checking complete.

Run root.sh on remaining nodes to start CRS daemons.

[root@jason1 crs]#


节点jason2上

[root@jason2 crs]# ./root.sh

WARNING: directory '/home/oracle/orahome/product/10.2.0'is not owned by root

WARNING: directory '/home/oracle/orahome/product' is notowned by root

WARNING: directory '/home/oracle/orahome' is not ownedby root

WARNING: directory '/home/oracle' is not owned by root

Checking to see if Oracle CRS stack is alreadyconfigured

/etc/oracle does not exist. Creating it now.


Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgradedsuccessfully

WARNING: directory '/home/oracle/orahome/product/10.2.0'is not owned by root

WARNING: directory '/home/oracle/orahome/product' is notowned by root

WARNING: directory '/home/oracle/orahome' is not ownedby root

WARNING: directory '/home/oracle' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 andEVMR=49897.

node <nodenumber>: <nodename> <privateinterconnect name> <hostname>

node 1: jason1 jason1-priv jason1

node 2: jason2 jason2-priv jason2

clscfg: Arguments check out successfully.


NO KEYS WERE WRITTEN. Supply -force parameter tooverride.

-force is destructive and will destroy any previouscluster

configuration.

Oracle Cluster Registry for cluster has already beeninitialized

Startup will be queued to init within 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

jason1

jason2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

[root@jason2 crs]#

执行完成之后,回到图形界面点击ok结束安装。

132210887.jpg

五、安装数据库软件

解压数据库安装包10201_database_linux_x86_64.cpio.gz,进入database目录中执行./runInstaller

163643676.jpg

next

163646146.jpg

点击下一步 选择企业版及产品语言点击next

163649775.jpg

指定数据库安装目录点击下一步

163652989.jpg

选择所有节点,点击“select all"。

163655220.jpg

进行下一步

163658183.jpg

检测无任何错误后点击next

163701381.jpg

选择仅安装软件点击next

163705950.jpg

点击install开始安装数据库

163709844.jpg

163712958.jpg

按照以上提示信息,依次在主机jason1与jason2执行root.sh脚本,完成口返回窗口点击ok

164153968.jpg

点击exit退出,完成安装。

你可能感兴趣的:(ASM,oracle,redhat,RAC,raw,10g,5.6_x86_64)