ESX上ORACLE 10.2RAC(4.在REHAT4.7中安装ORACLE RAC)
四、 安装CRS软件
上传cluster软件到rac1,rac2的/home/oracle目录下
[root@rac1 ~]# cd /home/oracle
[root@rac1 oracle]# ls
10201_clusterware_linux32.zip Desktop ocfs2 oracleasm
[root@rac1 oracle]# unzip 10201_clusterware_linux32.zip
[root@rac2 oracle]# unzip 10201_clusterware_linux32.zip
[root@rac1 clusterware]# su – oracle
[oracle@rac1 ~]$ clusterware/cluvfy/runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "rac1"
Destination Node Reachable?
------------------------------------ ------------------------
rac2 yes
rac1 yes
Result: Node reachability check passed from node "rac1".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
rac2 passed
rac1 passed
Result: User equivalence check passed for user "oracle".
Checking administrative privileges...
Check: Existence of user "oracle"
Node Name User Exists Comment
------------ ------------------------ ------------------------
rac2 yes passed
rac1 yes passed
Result: User existence check passed for "oracle".
Check: Existence of group "oinstall"
Node Name Status Group ID
------------ ------------------------ ------------------------
rac2 exists 1000
rac1 exists 1000
Result: Group existence check passed for "oinstall".
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
---------------- ------------ ------------ ------------ ------------ ------------
rac2 yes yes yes yes passed
rac1 yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.
Administrative privileges check passed.
Checking node connectivity...
Interface information for node "rac2"
Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
eth0 192.168.0.191 192.168.0.0
eth1 10.10.0.191 10.10.0.0
Interface information for node "rac1"
Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
eth0 192.168.0.190 192.168.0.0
eth1 10.10.0.190 10.10.0.0
Check: Node connectivity of subnet "192.168.0.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
rac2:eth0 rac1:eth0 yes
Result: Node connectivity check passed for subnet "192.168.0.0" with node(s) rac2,rac1.
Check: Node connectivity of subnet "10.10.0.0"
Source Destination Connected?
------------------------------ ------------------------------ ----------------
rac2:eth1 rac1:eth1 yes
Result: Node connectivity check passed for subnet "10.10.0.0" with node(s) rac2,rac1.
Suitable interfaces for the private interconnect on subnet "192.168.0.0":
rac2 eth0:192.168.0.191
rac1 eth0:192.168.0.190
Suitable interfaces for the private interconnect on subnet "10.10.0.0":
rac2 eth1:10.10.0.191
rac1 eth1:10.10.0.190
ERROR:
Could not find a suitable set of interfaces for VIPs.
Result: Node connectivity check failed.
Checking system requirements for 'crs'...
Check: Total memory
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
rac2 1010.25MB (1034496KB) 512MB (524288KB) passed
rac1 1010.25MB (1034496KB) 512MB (524288KB) passed
Result: Total memory check passed.
Check: Free disk space in "/tmp" dir
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
rac2 4.27GB (4481496KB) 400MB (409600KB) passed
rac1 4.2GB (4400352KB) 400MB (409600KB) passed
Result: Free disk space check passed.
Check: Swap space
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
rac2 2GB (2096472KB) 1GB (1048576KB) passed
rac1 2GB (2096472KB) 1GB (1048576KB) passed
Result: Swap space check passed.
Check: System architecture
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
rac2 i686 i686 passed
rac1 i686 i686 passed
Result: System architecture check passed.
Check: Kernel version
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
rac2 2.6.9-78.ELsmp 2.4.21-15EL passed
rac1 2.6.9-78.ELsmp 2.4.21-15EL passed
Result: Kernel version check passed.
Check: Package existence for "make-3.79"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 make-3.80-7.EL4 passed
rac1 make-3.80-7.EL4 passed
Result: Package existence check passed for "make-3.79".
Check: Package existence for "binutils-2.14"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 binutils-2.15.92.0.2-25 passed
rac1 binutils-2.15.92.0.2-25 passed
Result: Package existence check passed for "binutils-2.14".
Check: Package existence for "gcc-3.2"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 gcc-3.4.6-10 passed
rac1 gcc-3.4.6-10 passed
Result: Package existence check passed for "gcc-3.2".
Check: Package existence for "glibc-2.3.2-95.27"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 glibc-2.3.4-2.41 passed
rac1 glibc-2.3.4-2.41 passed
Result: Package existence check passed for "glibc-2.3.2-95.27".
Check: Package existence for "compat-db-4.0.14-5"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 compat-db-4.1.25-9 passed
rac1 compat-db-4.1.25-9 passed
Result: Package existence check passed for "compat-db-4.0.14-5".
Check: Package existence for "compat-gcc-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 missing failed
rac1 missing failed
Result: Package existence check failed for "compat-gcc-7.3-2.96.128".
Check: Package existence for "compat-gcc-c++-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 missing failed
rac1 missing failed
Result: Package existence check failed for "compat-gcc-c++-7.3-2.96.128".
Check: Package existence for "compat-libstdc++-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 missing failed
rac1 missing failed
Result: Package existence check failed for "compat-libstdc++-7.3-2.96.128".
Check: Package existence for "compat-libstdc++-devel-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 missing failed
rac1 missing failed
Result: Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128".
Check: Package existence for "openmotif-2.2.3"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 openmotif-2.2.3-10.2.el4 passed
rac1 openmotif-2.2.3-10.2.el4 passed
Result: Package existence check passed for "openmotif-2.2.3".
Check: Package existence for "setarch-1.3-1"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
rac2 setarch-1.6-1 passed
rac1 setarch-1.6-1 passed
Result: Package existence check passed for "setarch-1.3-1".
Check: Group existence for "dba"
Node Name Status Comment
------------ ------------------------ ------------------------
rac2 exists passed
rac1 exists passed
Result: Group existence check passed for "dba".
Check: Group existence for "oinstall"
Node Name Status Comment
------------ ------------------------ ------------------------
rac2 exists passed
rac1 exists passed
Result: Group existence check passed for "oinstall".
Check: User existence for "nobody"
Node Name Status Comment
------------ ------------------------ ------------------------
rac2 exists passed
rac1 exists passed
Result: User existence check passed for "nobody".
System requirement failed for 'crs'
Pre-check for cluster services setup was unsuccessful on all the nodes.
在上面预安装的结果中可以看到有两个错误:
1. VIP 因为实验环境中用的私网IP,而需要用的是公网IP,在后面的步骤中手动执行vipca即可,可忽略
2. Rpm软件包,可忽略
重启rac1,以oracle用户登录
[oracle@rac1 ~]$ cd clusterware/
[oracle@rac1 clusterware]$ ls
cluvfy doc install response rpm runInstaller stage upgrade welcome.html
[oracle@rac1 clusterware]$ ./runInstaller
点击next
next
将路径修改为/db/oracle/product/10.2.0/crs
next
点击Add,添加节点rac2
选择etho,Edit,将etho作为公网
填写ocr位置
填写表决盘位置
点击Install进行安装
分别在两个节点rac1和rac2上以ROOT用户,运行下图中显示的两个脚本
[oracle@rac1 ~]$ su -
Password:
[root@rac1 ~]# /db/oracle/oraInventory/orainstRoot.sh
Changing permissions of /db/oracle/oraInventory to 770.
Changing groupname of /db/oracle/oraInventory to oinstall.
The execution of the script is complete
[root@rac1 ~]# /db/oracle/product/10.2.0/crs/root.sh
WARNING: directory '/db/oracle/product/10.2.0' is not owned by root
WARNING: directory '/db/oracle/product' is not owned by root
WARNING: directory '/db/oracle' is not owned by root
WARNING: directory '/db' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/db/oracle/product/10.2.0' is not owned by root
WARNING: directory '/db/oracle/product' is not owned by root
WARNING: directory '/db/oracle' is not owned by root
WARNING: directory '/db' is not owned by root
assigning default hostname rac1 for node 1.
assigning default hostname rac2 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac1 rac1-priv rac1
node 2: rac2 rac2-priv rac2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /crs/vd1
Now formatting voting device: /crs/vd2
Now formatting voting device: /crs/vd3
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.
Rac1
CSS is inactive on these nodes.
Rac2
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.
[oracle@rac2 clusterware]$ su -
Password:
[root@rac2 ~]# /db/oracle/oraInventory/orainstRoot.sh
Changing permissions of /db/oracle/oraInventory to 770.
Changing groupname of /db/oracle/oraInventory to oinstall.
The execution of the script is complete
[root@rac2 ~]# /db/oracle/product/10.2.0/crs/root.sh
WARNING: directory '/db/oracle/product/10.2.0' is not owned by root
WARNING: directory '/db/oracle/product' is not owned by root
WARNING: directory '/db/oracle' is not owned by root
WARNING: directory '/db' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/db/oracle/product/10.2.0' is not owned by root
WARNING: directory '/db/oracle/product' is not owned by root
WARNING: directory '/db/oracle' is not owned by root
WARNING: directory '/db' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname rac1 for node 1.
assigning default hostname rac2 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac1 rac1-priv rac1
node 2: rac2 rac2-priv rac2
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
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.
Rac1
Rac2
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.
[root@rac2 bin]# pwd
/db/oracle/product/10.2.0/crs/bin
[root@rac2 bin]# ./vipca
点击next
选择将eth0作为公网,点击next
填写rac1的虚拟IP名称为rac1-vip,IP地址为192.168.0.100
填写rac2的虚拟IP名称为rac2-vip,IP地址为192.168.0.101
finish
点击OK,Exit
返回rac1,点击OK
Exit
Yes
转载于:https://blog.51cto.com/xiangxue158/567880
ESX上ORACLE 10.2RAC(4.在REHAT4.7中安装ORACLE RAC)相关推荐
- 在红帽中安装oracle,在红帽企业Linux 5.4中安装Oracle Database 10g
按照Quick Installation Guide 10g Release 2 (10.2) for Linux x86文档安装即可. 安装过程中碰到的问题: 准备从以下地址启动 Oracle Un ...
- 在Win7中安装Oracle 10g时检测报错的解决办法
在Windows 7中安装Oracle 10g. 使用的Orcale版本是10g. 步骤1: 在Orcale官网上下载,下载地址为:http://download.oracle.com/otn/nt/ ...
- 在RHEL6.0 X64系统中安装oracle 11g数据库及安装后设置
前提条件: 1.查看系统版本 [root@server ~]#cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.1 ( ...
- 指南:在 linux 下的 Oracle Database 11g 中安装 Oracle Enterprise Manager 10g Grid Control 第 5 版
原文地址:http://www.oracle.com/technetwork/cn/articles/revitt-oem-096363-zhs.html 作者:Mike Revitt 逐步详解如何针 ...
- Oracle APEX 系列文章15:无人值守一键安装Oracle APEX环境
本文是钢哥的 Oracle APEX 系列文章的第15篇,完整文章目录如下: Oracle APEX 系列文章01:Oracle APEX, 让你秒变全栈开发的黑科技 Oracle APEX 系列文章 ...
- Centos 7 中安装 Oracle 11g R2数据库【超详细】
一些话 安装过程一定要有耐心,遇到问题先上网查,很有可能会有各种报错 这个软件可以说是安装起来比较麻烦的,很多人安装了几天才装好 本篇文章适合模块和图片结合看 先把整篇文章看一遍过一遍了解是什么情况 ...
- rhel6安装oracle,在RHEL6中安装Oracle 11g R2数据库
在RHEL6中安装Oracle 11g R2数据库 2011-10-10 TsengYia#126.com http://tsengyia.blog.chinaunix.net/ ######### ...
- fedora8 中安装oracle,技术|在 RHEL、CentOS 及 Fedora 上安装 Drupal 8
Drupal 是一个开源,灵活,高度可拓展和安全的内容管理系统Content Management System(CMS),使用户轻松的创建网站. 它可以使用模块拓展,使用户将内容管理转换为强大的数字 ...
- win7 64位下安装oracle 10g(10.2.1)切身体会,不需要安装oracle客户端,实现navicat和plsql连接数据库
前提:以下所有软件都是32位测试的. 一.安装oracle数据库 安装步骤省略,毕竟教程一大堆. 我要说的是,修改安装文件的配置信息!因为10g是不支持win7的. 1.修改此处,D:\10201_d ...
最新文章
- BIND9配置文件详解模板
- Lua基础之字符串(string)
- Select的OnChange()事件中获取选中的值
- 蒂姆·库克:给好人留的后门同时也是给坏人留的
- Index of /pub/software/graphics/pngtoico/
- 完成蓝蜂浏览器的框架重构
- 计算机c语言笔试试题,计算机二级c语言笔试题和面试题答案(2019最新)
- 【问答集锦】联邦学习让隐私保护和海量数据学习兼得!
- 商汤携手迅达,全面打造“AI+电梯“,实现全流程安全智能自动化管理
- [原]奇怪的参数错误
- moell/mojito - 基于 Laravel、Vue、ELement 构建的基础后台系统扩展
- 416.分割等和子集
- TSX指令集中的 RTM 受限的事务内存 来实现并发无锁编程
- 【PS实例】照片拼图的制作
- springboot整合tk-mybatis框架搭建
- Openwrt-USB网络共享
- 智力问答选择题_智力问答题库
- 计算机专业网名英语翻译,个性网-网名-各种英文网名带翻译*英文网名
- git出现的若干问题以及解决方案
- python3通过itchat登录微信给好友发送消息
热门文章
- NAT环境无法访问云端的深层次分析
- activeMQ - 消息重发策略和DLQ死信队列
- JDK动态代理和Cglib的动态代理
- 一起谈.NET技术,C#中int和System.Int32理解总结
- javascript断点调试方法
- 英语面试简短问题_用简单的英语解释产品设计
- solidity 编程练习_学习Solidity编程语言并开始为区块链开发
- Tim Berners-Lee重新分散的新Web SOLID简介
- 阿联酋gitex_航空公司网站不在乎您的隐私后续行动:阿联酋航空以以下方式回应我的文章:...
- 从基于网络的安装服务器安装操作系统,PXE 概述 - Sun Fire X4800 服务器安装指南(适用于 Linux 操作系统)...