欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

oracle 双机 客户端连接配置

程序员文章站 2022-07-14 19:15:17
...

oracle 双机连接配置

xxxdb =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xx.xxx.xx.x)(PORT = 1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST =xx.xxx.xx.x)(PORT = 1521))
      (load_balance=yes)
    )
    (CONNECT_DATA =
     (server=dedicated)
      (SERVICE_NAME = xxxx)
      (failover_mode=(type=select)(method=basic)(retries=30))
      (delay=15)
    )
  )

websphere中配置
jdbc:oracle:thin:@(description=(address_list=(address=(protocol=tcp)(host=xx.xxx.xx.x)(port=1521))(address=(protocol=tcp)(host=xx.xxx.xx.x)(port=1521))(load_balance=yes))(connect_data=(server=dedicated)(service_name=xxxx)(failover_mode=(type=select)(method=basic)(retries=30)(delay=15))))

 

相关标签: oracle description