connect-time failover的配置!
我的理解connect-time failover通常用在rac中,不過單例項環境下依然可以enable connect-time failover特性,實際意義有多大暫且不說![@more@]
配置兩個監聽:listener,和1(之所以叫1,是因為在win下服務中監聽對應的服務會自動加上listener,所以最終是為了看起來舒服,我們看到的會是listener1,否則看到的就是...listenerlistener1),這兩個監聽同時都監聽資料庫test,port分別是1521和1522,然後配置tns如下:
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xys)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = xys)(PORT = 1522))
)
(CONNECT_DATA =
(SERVICE_NAME = test)
)
)
這樣當透過tns test來連線資料庫時,只要任何一個listener好用,都可以連上資料庫。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1006445/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ASA failover配置(A/S)AI
- PIX 535 LAN FAILOVER 配置步驟AI
- RAC+Dataguard環境中JDBC Failover配置JDBCAI
- 如何配置Oracle RAC Load Balance 及FailOverOracleAI
- Oracle RAC 客戶端FAILOVER LOADBALANCE特性的配置方法Oracle客戶端AI
- 各種主機部署故障轉移Failover的詳細配置AI
- oracle11g在沒DNS情況下failover的配置方法OracleDNSAI
- 【DATAGUARD】物理dg配置客戶端無縫切換 (八.2)--Fast-Start Failover 的配置客戶端ASTAI
- [WK-T]ORACLE 10G 配置故障轉移(Failover)Oracle 10gAI
- oracle rac failover的疑惑OracleAI
- 應用dgmgrl實現fast_start failover後,客戶端tns的配置ASTAI客戶端
- redis_failover - Automatic Redis Failover Client/ServerRedisAIclientServer
- 【ASK_ORACLE】手動配置DataGuard的自動化Client Failover(故障轉移)的serviceOracleclientAI
- FAILOVER後DG的重新搭建AI
- switchover和failover的區別AI
- Flink -- FailoverAI
- 靜態FAILOVERAI
- 關於failoverAI
- Can the JDBC Thin Driver Do Failover by Specifying FAILOVER_MODE?JDBCAI
- failover機制的小討論AI
- postgresql的failover場景處理SQLAI
- 11R2-DataGuard Scenarios.Failover後配置邏輯備庫iOSAI
- DG 進行failoverAI
- DataGuard:Physical Standby FailoverAI
- RAC環境STANDBY的FAILOVER切換AI
- 【DATAGUARD】物理dg的failover切換(六)AI
- DATA GUARD物理STANDBY的FAILOVER切換AI
- Oracle dataguard failover 實戰OracleAI
- Oracle RAC Failover 詳解OracleAI
- oracle Physical Standby failover stepOracleAI
- oracle rac failover 詳解OracleAI
- Oracle Data Guard Failover(activate)OracleAI
- 主備切換(failover)AI
- In Data Guard,choose switchover or failover?AI
- 10g_dataguard_failoverAI
- DataGuard:Logical Standby FailoverAI
- data guard failover on solaris 10AI
- How to configure Client Failover after Data Guard Switchover or Failover [ID 316740.1]clientAI