OAS 10.1.3.1 cluster

Oracle Application Server cluster deployment:
blank.gif
Issue:
After configure discovery server topology in opmn.xml, still can not show cluster information. check opmn.log then found:
10/02/21 22:55:54 [ons-connect] Connection 2,server02,6200 connect (Connection refused)
10/02/21 22:55:55 [ons-connect] Connection 3,server02,6200 connect (Connection refused)

Analysis:
step1: telnet remote server
(0)oracle@server01:NO_SID: /u01/app/oracle/product/10.1.3/oas_01/opmn/conf
$ telnet server02 6200
Trying 192.168.184.12...
telnet: connect to address 192.168.184.12: Connection refused
telnet: Unable to connect to remote host: Connection refused

step2: check netstat and found the 6200 port bind to localhost, rather than server02
(1)oracle@server01:NO_SID: /u01/app/oracle/product/10.1.3/oas_01/opmn/conf
$ netstat -na | grep 6200
tcp        0      0 127.0.0.1:6200              0.0.0.0:*                   LISTEN

step3: check /etc/hosts file
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#::1    localhost6.localdomain6 localhost6
127.0.0.1       server01        localhost.localdomain   localhost
192.168.184.12  server02
192.168.184.11  server01

Solution:
1. update /etc/hosts on both nodes
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#::1    localhost6.localdomain6 localhost6
192.168.184.12  server02
192.168.184.11  server01
127.0.0.1       server01        localhost.localdomain   localhost

2. restart opmn on both nodes

3. telnet remote node
$ telnet server02 6200
Trying 192.168.184.12...
Connected to server02 (192.168.184.12).
Escape character is '^]'.

4. netstat status
$ netstat -na | grep 6200
tcp        0      0 192.168.184.11:6200         0.0.0.0:*                   LISTEN
tcp        0      0 192.168.184.11:6200         192.168.184.12:59483        ESTABLISHED

5. check cluster status
(0)oracle@server01:NO_SID: /u01/app/oracle/product/10.1.3/oas_01/opmn/conf
$ opmnctl @cluster status

Processes in Instance: oas_instance_01.server02
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:home          |    9117 | Init
ASG                              | ASG                |     N/A | Down
HTTP_Server                      | HTTP_Server        |    9116 | Alive

Processes in Instance: oas_instance_01.server01
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:home          |    9256 | Alive
ASG                              | ASG                |     N/A | Down
HTTP_Server                      | HTTP_Server        |    9255 | Alive


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9466564/viewspace-627429/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9466564/viewspace-627429/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值