标签:
目录位置
unix:$ORACLE_HOME/network/admin
WINDOW:
%ORACLE_HOME%\network\admin
设置相应的环境变量:TNS_ADMIN
tnsname.ora文件内容例子
--负载均衡,故障转移 sample2= (DESCRIPTION= (LOAD_BALANCE=on) (FAILOVER=on) (ADDRESS_LIST= (SOURCE_ROUTE=yes) (ADDRESS=(PROTOCOL=tcp)(HOST=host1)(PORT=1630)) (ADDRESS=(PROTOCOL=tcp)(HOST=host2)(PORT=1521))) (ADDRESS_LIST= (SOURCE_ROUTE=yes) (ADDRESS=(PROTOCOL=tcp)(HOST=host3)(port=1630)) (ADDRESS=(PROTOCOL=tcp)(HOST=host4)(port=1521))) (CONNECT_DATA=(SERVICE_NAME=sales.us.example.com)))
标签:
原文地址:http://www.cnblogs.com/gull/p/5456813.html