标签归档:TNSNAMES

PLSQL TNS单双接点配置实例

    以下例子中的IP和实例名均是随意所为。

单节点:

LLKU=
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.1)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = LLKU)
    )
  )

双节点:

LLKU=
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.2)(PORT = 1521))
   (LOAD_BALANCE = yes)
   (CONNECT_DATA =
   (SERVER = DEDICATED)
   (SERVICE_NAME =LLKU)
  )
)