2017-06-16 60 views

回答

0

TDWC v8.6 FP3和v9.x不包含允許Type 4連接到Oracle數據庫的JDBC庫。以下是在選中「啓用報告」框但嘗試連接DWC中的引擎時返回的典型消息,但配置工作尚未完成:

管理引擎AWSUI0803W測試與「ENGINENAME」的連接:引擎成功,數據庫失敗。 AWSUI0346E數據庫故障。檢查數據庫是否可用以及連接參數是否正確並重試:

數據庫用戶:TWS_user,數據庫JDBC URL:jdbc:oracle:thin:@ // 1.2.3.4:1521/DBNAME如果問題仍然存在,請聯繫Tivoli Workload Scheduler管理員。數據庫內部消息是:找不到適合jdbc的驅動程序:oracle:thin @ // 1.2.3.4:1621/DBNAME

TWS聯機文檔包含完成所需配置的過程。但是,有一些外部鏈接必須用於在WebSphere Application Server(WAS)中進行修改。完整的細節描述如下:

對於Oracle來說,IT管理員,或Tivoli Workload Scheduler的IT管理員,或二者共同作用下,執行以下步驟:上的Tivoli Workload Scheduler的發動機採取

操作

Use the TWS Oracle user specified during the master domain manager installation or perform the following steps to create a new user: 

a。創建一個授權訪問數據庫並指定密碼的數據庫用戶。

b。啓動下面的腳本:/TWS/dbtools/Oracle/scripts/dbgrant.bat/.sh

其中變量如下:

在Tivoli工作量自動化實例目錄

用戶的ID在步驟1.A創建,誰將會被授予訪問報告

數據庫的名稱,如創建時的主域管理器安裝

數據庫模式的用戶ID和密碼所有者。

Define a valid connection string to the database: 

a。確保以下屬性在TWSConfig.properties文件設置爲指向Oracle JDBC網址:com.ibm.tws.webui.oracleJdbcURL

FP3: /eWAS/profiles/TIPProfile/properties/TWSConfig.properties 9.x: /WAS/TWSProfile/properties/TWSConfig.properties 

例如:

com.ibm.tws。 webui.oracleJdbcURL = jdbc:oracle:thin:@ // 9.132.235.7:1521/orcl

b。重新啓動WebSphere Application Server。

操作上的動態負載控制檯採取:

Download the JDBC drivers required by your Oracle server version. 

Copy the JDBC drivers into a directory that is accessible by the WebSphere Application Server used by your Dynamic Workload Console. 

Create a shared library on WebSphere Application Server specifying the path and filename of the JDBC drivers you have copied, as documented below: 

一個。作爲WebSphere管理用戶登錄到TDWC的WebSphere Admin Console。

V8.6 FP3:默認HTTPS管理端口是31124.

v9.x的:默認HTTPS管理端口是16316.

的URL將類似於此:https://(hostname):16316/ibm/console

灣在控制檯導航樹中選擇環境>共享庫。

c。選擇從下拉列表中選擇以下範圍:

V8.6 FP3:節點= TIPNode01,服務器= server1的

v9.x的:節點= JazzSMNode01,服務器= server1的

...,然後選擇[新]

d。指定一個新名稱,如oraclelibs

e。在Classpath字段中指定保存Oracle JDBC驅動程序的目錄的路徑。

*字段詳細信息:如果列表中的路徑是文件,產品將搜索該Java歸檔(JAR)或壓縮的.zip文件的內容。如果列表中的某個路徑是目錄,則該產品會搜索該目錄中的JAR內容和壓縮文件。按Enter鍵分隔課程路徑條目。

f。選擇[應用]

*注:通過上述步驟更新的文件是:libraries.xml

V8.6 FP3:/ EWAS /簡檔/ TIPProfile /配置/細胞/ TIPCell /節點/ TIPNode /servers/server1/libraries.xml

v9.x的:細胞/ JazzSMNode01Cell /節點/ JazzSMNode01 /服務器/服務器1/libraries.xml

Associate the isc Enterprise Application to this shared library: 

一個。仍然在WebSphere Admin Console的控制檯導航樹中訪問共享庫引用頁面:選擇應用程序>應用程序類型> WebSphere企業應用程序> isc>共享庫引用

b。選中名爲isc的應用程序框。這應該是第一個框和表中第二列名爲「Application」的部分下的唯一框。

c。選擇[引用共享庫]按鈕。 d)。在「可用」框中選擇您在步驟3中創建的新共享庫的名稱。例如:oraclelibs。然後選擇添加箭頭按鈕將共享庫名稱從「可用」移動到「選定」框中。

e。選擇[確定]

f。在「共享庫參考」頁面上選擇[確定]。g。

g。選擇信息框中頁面頂部的藍色字Save。

*注意:是被指出在這種情況下被更新的文件:

V8.6 FP3:細胞/ TIPCell /節點/ TIPNode/serverindex.xml細胞/ TIPCell /應用/ isc.ear /增量/ ISC /Δ-<#>細胞/ TIPCell /應用/ isc.ear /部署/ ISC/deployment.xml中

v9.x的:細胞/ JazzSMNode01Cell /節點/ JazzSMNode01/serverindex.xml細胞/ JazzSMNode01Cell /應用/isc.ear/deltas/isc/delta- <#> cells/JazzSMNode01Cell/applications/isc.ear/deployments/isc/deployment.xml

**注意:I t是具有參考到在步驟中創建實際的共享庫文件名的文件deployment.xml中的3

***注:樣品條目:

小時。重新啓動WebSphere Application Server。

Log on to the Dynamic Workload Console. 

In Dashboard Application Services Hub navigation bar, select System Configuration > Manage Engines. The Manage Engines panels opens. 

Select the engine you defined or create another engine. The Engine Connection properties panel is displayed. 

In Database Configuration for Reporting, perform the following: 

a。選中啓用報告以啓用您選擇的引擎連接來運行報告。

b。在數據庫用戶標識和密碼中,指定您授權訪問報告的數據庫用戶和密碼。

相關問題