Oracle RAC 11.2.0.2&nb…

来源:互联网 发布:saas软件推广 编辑:程序博客网 时间:2024/05/29 06:35


自:http://space.itpub.net/21162451/viewspace-721938



 

问题描述

在使用vmware虚拟机(7.0)RedHat Linux6.1环境下使用ASM配置Oracle Database 11g release (11.2.0.2 64-bit) RAC 的实施过程中,进行

 11.2.0.2 Grid 安装时,到最后一步开始安装,进度到65%的时候停住不动:
Oracle <wbr>RAC <wbr>11.2.0.2 <wbr>Grid <wbr>安装进度 <wbr>65% <wbr>hang住问题

Oracle <wbr>RAC <wbr>11.2.0.2 <wbr>Grid <wbr>安装进度 <wbr>65% <wbr>hang住问题

INFO: ORACLE_HOME is not settable, hence not setting the value

INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with

the provided String Array.

INFO: passing params to cf done

INFO: done saving info by cf

INFO: Updating files in Oracle home '/u02/app/11.2.0/grid' to remote nodes 'rhel6_2'.

INFO: InstallProgressMonitor: Starting phase 16

INFO: List of files to be excluded from:install/excludeFileList.txt

INFO: Updating files in Oracle home '/u02/app/11.2.0/grid' to remote nodes 'rhel6_2'.

INFO: Updating files in Oracle home '/u02/app/11.2.0/grid' to remote nodes 'rhel6_2'.

INFO: Running command '/tmp/OraInstall2012-04-22_12-56-17AM/mvstubs.sh' on the nodes 'rhel6_2'.

INFO: Invoking OUI on cluster nodes rhel6_2

INFO: /tmp/OraInstall2012-04-22_12-56-17AM/mvstubs.sh

INFO: Copying Oracle home '/u02/app/11.2.0/grid' to remote nodes 'rhel6_2'.

INFO: Copying Oracle home '/u02/app/11.2.0/grid' to remote nodes 'rhel6_2'.


 

由于此处是复制文件到远程节点,在远程节点相关目录查看后发现并无文件生成。

 

另外通过lsof命令,没有发现本地节点与远程节点有连接建立

[02:10:43root@rhel6_1 rpm]>lsof -i

COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME

sshd     1542  root    3u  IPv4   9026      0t0  TCP *:ssh (LISTEN)

sshd     1542  root    4u  IPv6   9028      0t0  TCP *:ssh (LISTEN)

master   1619  root   12u  IPv4   9269      0t0  TCP localhost:smtp (LISTEN)

master   1619  root   13u  IPv6   9271      0t0  TCP localhost:smtp (LISTEN)

sshd     1684  root    3u  IPv4   9547      0t0  TCP rhel6_1:ssh->sun:59280 (ESTABLISHED)

sshd     1738  root    3u  IPv4   9718      0t0  TCP rhel6_1:ssh->sun:59311 (ESTABLISHED)

sshd     1740 ora11    3u  IPv4   9718      0t0  TCP rhel6_1:ssh->sun:59311 (ESTABLISHED)

java     1810 ora11    8u  IPv4  10791      0t0  TCP rhel6_1:38077->sun:x11 (ESTABLISHED)

sshd    10358  root    3u  IPv4  52172      0t0  TCP rhel6_1:ssh->sun:60848 (ESTABLISHED)

 

 

解决办法

1、首先检查各节点目录权限,发现并无问题

2、检查两节点ssh等效性,发现并无问题;

3、检查网络配置,发现是由于远程节点开启有防火墙导致:

[02:02:04root@rhel6_2 grid]>service iptables status

Tablefilter

Chain INPUT (policy ACCEPT)

num  target     prot opt source               destination         

   ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 

   ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           

   ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           

   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22 

   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)

num  target     prot opt source               destination         

   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)

num  target     prot opt source               destination    
     

[02:09:04root@rhel6_2 grid]>service iptables stop

iptables: Flushing firewall rules:                          OK  ]

iptables: Setting chains to policy ACCEPT: filter           OK  ]

iptables: Unloading modules:                                OK  ]

[02:09:08root@rhel6_2 grid]>service iptables stop

[02:09:11root@rhel6_2 grid]>chkconfig iptables off

 

 

 

 

通过以上命令关闭节点2的防火墙后,重新安装恢复正常,且在65%阶段通过lsof可发现如下联结信息:

[02:10:46root@rhel6_1 rpm]>lsof -i

COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME

sshd     1542  root    3u  IPv4   9026      0t0  TCP *:ssh (LISTEN)

sshd     1542  root    4u  IPv6   9028      0t0  TCP *:ssh (LISTEN)

master   1619  root   12u  IPv4   9269      0t0  TCP localhost:smtp (LISTEN)

master   1619  root   13u  IPv6   9271      0t0  TCP localhost:smtp (LISTEN)

sshd     1684  root    3u  IPv4   9547      0t0  TCP rhel6_1:ssh->sun:59280 (ESTABLISHED)

sshd     1738  root    3u  IPv4   9718      0t0  TCP rhel6_1:ssh->sun:59311 (ESTABLISHED)

sshd     1740 ora11    3u  IPv4   9718      0t0  TCP rhel6_1:ssh->sun:59311 (ESTABLISHED)

sshd    10358  root    3u  IPv4  52172      0t0  TCP rhel6_1:ssh->sun:60848 (ESTABLISHED)

java    16079 ora11    8u  IPv4  89026      0t0  TCP rhel6_1:29996->sun:x11 (ESTABLISHED)

java    16079 ora11   22u  IPv6 122214      0t0  TCP rhel6_1:17951->rhel6_2:52871 (ESTABLISHED)

 

 

 

 


相关阅读:
0 0