我无法从目标服务器上取下我的oracle EBS源服务器。
VISEBS是源,VISEBST是目标
source 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输入输出:
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连接都运行良好。
造成这种情况的原因是什么。
答案 0 :(得分:1)
EBS服务器配置了IP restrictions(通过sqlnet.ora中的tcp.invited_nodes)。如果配置了此项,您将只能从受邀节点执行TNS ping。可以通过autconfig变量添加新节点。