kettle串連叢集環境配置,kettle叢集環境

來源:互聯網
上載者:User

kettle串連叢集環境配置,kettle叢集環境

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/43705063

 

     在Kettle的根目錄下找到jdbc.properties檔案(參考目錄:D:\soft\Kettle\data-integration\simple-jndi),在設定檔中添加一個串連RAClink(JNDI串連名稱)。

 

RAClink/type=javax.sql.DataSource

RAClink/driver=oracle.jdbc.driver.OracleDriver

RAClink/url=jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST =(LOAD_BALANCE = yes)(ADDRESS = (PROTOCOL = TCP)(HOST =Server IP1)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST =Server IP2)(PORT = 1521)))(CONNECT_DATA =(FAILOVER_MODE =(TYPE = select)(METHOD = basic))(SERVICE_NAME =rac)))

RAClink/user=UserName

RAClink/password=UserPassword

 

參數說明:

Server IP1:替換oracle叢集節點1的IP地址

Server IP2:替換oracle叢集節點2的IP地址

rac:替換叢集的SID

UserName:替換登陸使用者名稱

UserPassword:替換登陸使用者密碼

 

按照此配置,即可順利串連叢集資料庫,對於叢集用戶端中的tnsnames相關配置,可以根據實際情況變更。

 

kettle串連時,配置如所示:

 

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/43705063 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.