0

我无法从我的目标服务器 tnsping 我的 oracle EBS 源服务器。

VISEBS 是源,VISEBST 是目标

来源 tnsnames.ora:

VISEBS=
    (DESCRIPTION=
            (ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xx.149)(PORT=1521))
        (CONNECT_DATA=
            (SERVICE_NAME=VISEBS)
            (INSTANCE_NAME=VISEBS)
        )
    )
VISEBST=
    (DESCRIPTION=
            (ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xx.150)(PORT=1521))
        (CONNECT_DATA=
            (SID=VISEBST)
        )
    )

目标 tnsnames.ora:

VISEBS=
    (DESCRIPTION=
            (ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xx.149)(PORT=1521))
        (CONNECT_DATA=
            (SERVICE_NAME=VISEBS)
            (INSTANCE_NAME=VISEBS)
        )
    )

VISEBST = (DESCRIPTION=
            (ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xx.150)(PORT=1523))
            (CONNECT_DATA= (SERVICE_NAME=VISEBST)
                     (INSTANCE_NAME=VISEBST))
        )

149 上的 tnsping 输出:

TNS Ping Utility for Linux: Version 12.1.0.2.0 - Production on 05-APR-2018 06:50:07

Copyright (c) 1997, 2014, Oracle.  All rights reserved.

Used parameter files:
/u05/oracle/VISEBS/12.1.0/network/admin/VISEBS_xxxxx/sqlnet_ifile.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) 
(HOST=xx.xx.xx.150)(PORT=1521)) (CONNECT_DATA= (SID=VISEBST)))
TNS-12541: TNS:no listener

从 150 开始:

TNS Ping Utility for Linux: Version 12.1.0.2.0 - Production on 05-APR-2018 
06:50:21

Copyright (c) 1997, 2014, Oracle.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=sal- 
devtl10.hosts.secure-24.net)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=VISEBS) 
(INSTANCE_NAME=VISEBS)))

两台机器之间的所有 ssh 连接都运行良好。

造成这种情况的问题是什么。

4

1 回答 1

1

EBS 服务器配置了IP 限制(通过 sqlnet.ora 中的 tcp.invited_nodes)。如果已配置,您将只能从受邀节点执行 TNS ping。可以通过 autconfig 变量添加新节点。

于 2018-04-06T15:41:22.890 回答