需求:
将SIT应用服务器10.10.1.151中配置的数据源改为测试集群数据库服务器10.10.1.53、10.10.1.54
方法:
1.将正式环境数据库17 18 的RACDB还原到测试集群服务器1.53、1.54
2.停server和gatway
3.修改E:\app\Administrator\product\11.2.0\client_1\network\admin 下的Tnsnames文件
SITDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.1.53)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.1.54)(PORT = 1521))
(LOAD_BALANCE = yes)
(FAILOVER = ON)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = racdb)
(FAILOVER_MODE =
(TYPE = SESSION)
(METHOD = BASIC)
)
)
)
4.配置完成后需要PING一下数据库是否通的
5.现在的SADMIN的密码是正式数据库环境的密码,需要进入53 54数据库服务器修改SADMIN密码为SITDB之前旧的密码
alter user SADMIN identified by Admin#1124;
6.启动gateway和 SERVER即可
转自
siebel切换数据源 - Snowfun - 博客园
https://www.cnblogs.com/Snowfun/p/7943075.html