进入clustware目录中执行./runInstaller
根据提示信息在jason1与jason2节点上分别执行./rootpre.sh之后,若出现如下信息,选择y回车进行下一步安装。
[root@jason1 rootpre]# ./rootpre.sh
No OraCM running
[root@jason2 rootpre]# ./rootpre.sh
No OraCM running
点击下一步
如图所示指定用户组为oinstall,点next
指定路径为/home/oracle/orahome/product/10.2.0/crs,点击NEXT。
检测条件完全通过后,next
点击edit,出现如下图,填写另外一节点jason2的配置信息
点击ok.
编辑后结果如上图所示,点击下一步
点击edit,编辑网络信息
指定192.168.12.0网段为public,点击确定。
点击下一步
指定OCR存储位置,选择normal redundancy.
点击下一步
指定voting disk 存储位置,选择normal redundancy。
点击下一步
点击install,进行安装。
按照如上图所示分别在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结束安装。
解压数据库安装包10201_database_linux_x86_64.cpio.gz,进入database目录中执行./runInstaller
next
点击下一步 选择企业版及产品语言点击next
指定数据库安装目录点击下一步
选择所有节点,点击“select all"。
进行下一步
检测无任何错误后点击next
选择仅安装软件点击next
点击install开始安装数据库
按照以上提示信息,依次在主机jason1与jason2执行root.sh脚本,完成口返回窗口点击ok
点击exit退出,完成安装。