需求:
將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