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