Oracle 11gR2 RAC 添加节点最佳实践(一)

2014-11-24 18:40:15 · 作者: · 浏览: 1

OS信息:
[grid@11grac1 ~]$ uname -a
Linux 11grac1 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:22:40 EST 2012 i686 i686 i386 GNU/Linux
DB信息:
SQL> select * from v$version where rownumBANNER
------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
(一)设置网络
(二)添加组、目录和用户
(三)修改相关OS参数
(四)修改用户环境变量
(五)设置存储
(六)配置节点互信
(七)安装RPM包
注:1-7步略(其中的修改需要参照其他节点的配置)
(八)安装GI前检测
[grid@11grac1 bin]$ pwd
/u01/11.2.0/grid/bin
[grid@11grac1 bin]$ ./cluvfy stage -pre nodeadd -n 11grac2 -fixup -verbose
Performing pre-checks for node addition
Checking node reachability...
Check: Node reachability from node "11grac1"
Destination Node Reachable
------------------------------------ ------------------------
11grac2 yes
Result: Node reachability check passed from node "11grac1"
Checking user equivalence...
Check: User equivalence for user "grid"

Node Name Comment
------------------------------------ ------------------------
11grac2 passed
Result: User equivalence check passed for user "grid"
Checking node connectivity...
Checking hosts config file...
Node Name Status Comment
------------ ------------------------ ------------------------
11grac2 passed
11grac1 passed
Verification of the hosts config file successful
Interface information for node "11grac1"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.137.161 192.168.137.0 0.0.0.0 192.168.137.1 00:0C:29:31:BE:BA 1500
eth0 192.168.137.163 192.168.137.0 0.0.0.0 192.168.137.1 00:0C:29:31:BE:BA 1500
eth0 192.168.137.200 192.168.137.0 0.0.0.0 192.168.137.1 00:0C:29:31:BE:BA 1500
eth1 192.168.136.161 192.168.136.0 0.0.0.0 192.168.137.1 00:0C:29:31:BE:C4 1500
Interface information for node "11grac2"
Name IP Address Subnet Gateway Def. Gateway HW Address MTU
------ --------------- --------------- --------------- --------------- ----------------- ------
eth0 192.168.137.162 192.168.137.0 0.0.0.0 192.168.137.1 00:0C:29:D6:B6:09 1500
eth1 192.168.136.162 192.168.136.0 0.0.0.0 192.168.137.1 00:0C:29:D6:B6:13 1500
Check: Node connectivity for interface "eth0"
Source Destination Connected
------------------------------ ------------------------------ ----------------
11grac1:eth0 11grac1:eth0 yes
11grac1:eth0 11grac1:eth0 yes
11grac1:eth0 11grac2:eth0 yes
11grac1:eth0 11grac1:eth0