經過反覆測試,通過client連線/etc/hosts解析的SCAN方式的11gR2,依然有load balance的
阿新 • • 發佈:2019-01-03
-
Clients configured to use IP addresses for Oracle Database releases prior to Oracle Database 11g release
2 can continue to use their existing connection addresses;using SCANs is not required.
-
When you upgrade to Oracle Clusterware 11g release 2 (11.2),the SCAN becomes available, and you should use the SCAN for connections to OracleDatabase 11g release 2 or later databases. When an earlier version of Oracle Database isupgraded, it registers with
the SCAN listeners, and clients can start using the SCAN to cnnect to that database. The database registers with the SCAN listener through the remote listener parameter in the init.ora file. The REMOTE_LISTENER parameter must be set to SCAN:PORT. Do not set
it to a NSNAMES alias with a single address with the SCAN as HOST=SCAN.
-
If
you use the hosts file to resolve SCANs, then you will only
be able to resolve to one IP address and you will have only one SCAN address.
對於這句話,當時的理解問題是:如果用/etc/hosts解析,是不是隻能一直連線到一個RAC節點上呀?