连接rac时tnsnames.ora的字符串

去连接rac时,tnsnames.ora中的字符串

rac环境是两个节点:节点1是的sid是moe1

                                     节点2是的sid是moe2

ORCL_rac =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.45)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.46)(PORT = 1521))
    (LOAD_BALANCE = yes)
     (FAILOVER = yes)
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = moe)
    )
  )

你可能感兴趣的:(字符,RAC,ora,休闲,tnsname)