NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks string
local_listener string
remote_listener string db-scan:1521
马上设置LOCAL_LISTENER
SQL> alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.133.9)(PORT=1521))' sid='orcl1';
SQL> alter system set local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.133.10)(PORT=1521))' sid='orcl2';
再去测试,问题解决
conn sz/sz2486@192.168.133.2:1521/orcl
Connected.
附ORACLE MOS上文档:ORA-12545 or ORA-12537 While Connecting to RAC Through SCAN name (Doc ID 970619.1)