当前位置:Gxlcms > mysql > Oracle11gR2静默安装RAC集群和数据库软件

Oracle11gR2静默安装RAC集群和数据库软件

时间:2021-07-01 10:21:17 帮助过:40人阅读

由于某些远程安装的需求,OUI 的 GUI 界面远程交互比较慢,会影响DBA安装RAC时的速度。或者某些企业禁用了X Window,也造成了无法

由于某些远程安装的需求,OUI 的 GUI 界面远程交互比较慢,,会影响DBA安装RAC时的速度。或者某些企业禁用了X Window,也造成了无法使用OUI来进行标准的RAC安装。

以下是一个静默安装数据库集群软件(GI HOME)和数据库软件(RDBMS HOME)的测试,希望对遇到以上无法使用OUI的DBA有所帮助。

测试环境是静默安装11.2.0.3版本的两节点RAC。OS 环境如下:
$ uname -a
Linux nascds10 2.6.9-78.0.0.0.1.ELhugemem #1 SMP Fri Jul 25 14:53:18 EDT 2008 i686 i686 i386 GNU/Linux

-bash-3.00$ cat enterprise-release
Enterprise Linux Enterprise Linux AS release 4 (October Update 7)
存储使用了Oracleasmlib 来配置管理:
[root@nascds10 ~]# /etc/init.d/oracleasm listdisks
DATA
OCR
RECO
具体步骤如下:


11.2.0.3 集群软件(GI) 静默安装


将11.2.0.3 集群安装软件解压缩到/home/grid/11.2.0.3/grid路径下。
1. 使用runcluvfy.sh 来执行安装前的预检查,来避免由于环境配置引发的安装失败问题。

su - grid
cd /home/grid/11.2.0.3/grid
-bash-3.00$ ./runcluvfy.sh stage -pre crsinst -n nascds10, nascds11 -verbose

具体输出
-bash-3.00$ ./runcluvfy.sh stage -pre crsinst -n nascds10,nascds11 -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "nascds10"
Destination Node Reachable?
------------------------------------ ------------------------
nascds10 yes
nascds11 yes
Result: Node reachability check passed from node "nascds10"


Checking user equivalence...

Check: User equivalence for user "grid"
Node Name Status
------------------------------------ ------------------------
nascds11 passed
nascds10 passed
Result: User equivalence check passed for user "grid"

Checking node connectivity...

Checking hosts config file...
Node Name Status
------------------------------------ ------------------------
nascds11 passed
nascds10 passed

Verification of the hosts config file successful


Interface information for node "nascds11"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth1 169.254.218.24 169.254.0.0 0.0.0.0 10.182.208.1 00:14:22:BD:59:DE 1500
eth1 192.168.10.2 192.168.10.0 0.0.0.0 10.182.208.1 00:14:22:BD:59:DE 1500
eth0 10.182.208.33 10.182.208.0 0.0.0.0 10.182.208.1 00:21:27:04:F7:E3 1500
eth0 10.182.208.33 10.182.208.0 0.0.0.0 10.182.208.1 00:21:27:04:F7:E3 1500
eth0 10.182.208.29 10.182.208.0 0.0.0.0 10.182.208.1 00:21:27:04:F7:E3 1500
eth0 10.182.208.34 10.182.208.0 0.0.0.0 10.182.208.1 00:21:27:04:F7:E3 1500
eth0 10.182.208.35 10.182.208.0 0.0.0.0 10.182.208.1 00:21:27:04:F7:E3 1500


Interface information for node "nascds10"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth1 192.168.10.1 192.168.10.0 0.0.0.0 10.182.208.1 00:14:22:CB:05:5C 1500
eth0 10.182.208.32 10.182.208.0 0.0.0.0 10.182.208.1 00:19:E0:3F:50:2B 1500


Check: Node connectivity of subnet "169.254.0.0"
Result: Node connectivity passed for subnet "169.254.0.0" with node(s) nascds11

人气教程排行