Oracle 11gR2 静默安装RAC 集群和数据库软件(一)

2014-11-24 17:11:26 · 作者: · 浏览: 8

由于某些远程安装的需求,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



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



Check: TCP connectivity of subnet "169.254.0.0"
Source Destination Connected
------------------------------ ------------------------------ ----------------
nascds10:10.182.208.32 nascds11:169.254.218.24 passed
Result: TCP connectivity check passed for subnet "169.254.0.0"



Check: Node connectivity of subnet "192.168.10.0"
Source Destination Connec