配置 TDWC v8.6 FP3 或 v9.x 以使用 Oracle 数据库进行报告
Configure TDWC v8.6 FP3 or v9.x for reporting using an Oracle database
当 Tivoli Workload Scheduler (TWS) 主机使用 Oracle 作为数据库供应商?
TDWC v8.6 FP3 和 v9.x 不包含允许与 Oracle 数据库建立类型 4 连接的 JDBC 库。这是在选中 "Enable reporting" 框但尚未完成配置工作时尝试连接到 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
的 suitable 驱动程序
TWS 在线文档包括完成所需配置的过程。但是,必须使用几个外部链接才能在 WebSphere Application Server (WAS) 中进行修改。完整的细节描述如下:
对 Tivoli Workload Scheduler 引擎采取的操作:
对于 Oracle、IT 管理员或 Tivoli Workload Scheduler IT 管理员,或两者一起工作,执行以下步骤:
Use the TWS Oracle user specified during the master domain manager installation or perform the following steps to create a new user:
一个。创建授权访问数据库的数据库用户并指定密码。
b。启动以下脚本:/TWS/dbtools/Oracle/scripts/dbgrant.bat/.sh
其中变量如下:
Tivoli Workload Automation 实例目录
在步骤 1.a 中创建的用户的 ID,将被授予访问报告的权限
安装主域管理器时创建的数据库名称
数据库架构所有者的用户 ID 和密码。
Define a valid connection string to the database:
一个。确保在 TWSConfig.properties 文件中设置以下 属性 以指向 Oracle JDBC URL: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。
在 Dynamic Workload Console 上执行的操作:
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 管理控制台。
v8.6 FP3:默认https管理端口为31124。
v9.x: 默认https管理端口为16316.
URL 类似于:https://(hostname):16316/ibm/console
b。 Select 环境 > 控制台导航树中的共享库。
c。 Select 下拉列表中的以下范围:
v8.6 FP3:节点=TIPNode01,服务器=server1
v9.x:节点=JazzSMNode01,服务器=server1
...和 select [新]
d。指定一个新名称,例如 oraclelibs
e。在类路径字段中指定包含 Oracle JDBC 驱动程序的目录路径。
*字段详细信息:如果列表中的路径是文件,则产品会搜索该 Java 存档 (JAR) 或压缩的 .zip 文件的内容。如果列表中的路径是目录,那么产品会搜索该目录中 JAR 和压缩文件的内容。按 Enter 键分隔 class 个路径条目。
f。 Select [申请]
*注意:以上步骤更新的文件为:libraries.xml
v8.6 FP3: /eWAS/profiles/TIPProfile/config/cells/TIPCell/nodes/TIPNode/servers/server1/libraries.xml
v9.x: cells/JazzSMNode01Cell/nodes/JazzSMNode01/servers/server1/libraries.xml
Associate the isc Enterprise Application to this shared library:
一个。仍然在 WebSphere 管理控制台中,在控制台导航树中访问共享库引用页面:Select Applications > Application Types > WebSphere enterprise applications > isc > Shared library references
b。选中名为 isc 的应用程序的框。这应该是第一个框,也是 table 中第二列名为 "Application".
部分下的唯一框
c。 Select [引用共享库] 按钮。
d。在 "Available" 框中 select 您在步骤 3 中创建的新共享库的名称。例如:oraclelibs。然后 select 添加箭头按钮将共享库名称从可用 Select 框中移动。
e。 Select[好的]
f。 Select 在 "Shared library references" 页面上 [确定]。
克。 Select 消息框中页面顶部的蓝色单词“保存”。
*注意:在这种情况下被标记为正在更新的文件是:
v8.6 FP3: cells/TIPCell/nodes/TIPNode/serverindex.xml cells/TIPCell/applications/isc.ear/deltas/isc/delta-<#> cells/TIPCell/applications/isc.ear/deployments/isc/deployment.xml
v9.x: cells/JazzSMNode01Cell/nodes/JazzSMNode01/serverindex.xml cells/JazzSMNode01Cell/applications/isc.ear/deltas/isc/delta-<#> cells/JazzSMNode01Cell/applications/isc.ear/deployments/isc/deployment.xml
**注意:文件 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:
一个。选中启用报告以启用您 select 编辑到 运行 报告的引擎连接。
b。在数据库用户 ID 和密码中,指定您授权访问报告的数据库用户和密码。
当 Tivoli Workload Scheduler (TWS) 主机使用 Oracle 作为数据库供应商?
TDWC v8.6 FP3 和 v9.x 不包含允许与 Oracle 数据库建立类型 4 连接的 JDBC 库。这是在选中 "Enable reporting" 框但尚未完成配置工作时尝试连接到 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
的 suitable 驱动程序TWS 在线文档包括完成所需配置的过程。但是,必须使用几个外部链接才能在 WebSphere Application Server (WAS) 中进行修改。完整的细节描述如下:
对 Tivoli Workload Scheduler 引擎采取的操作:
对于 Oracle、IT 管理员或 Tivoli Workload Scheduler IT 管理员,或两者一起工作,执行以下步骤:
Use the TWS Oracle user specified during the master domain manager installation or perform the following steps to create a new user:
一个。创建授权访问数据库的数据库用户并指定密码。
b。启动以下脚本:/TWS/dbtools/Oracle/scripts/dbgrant.bat/.sh
其中变量如下:
Tivoli Workload Automation 实例目录
在步骤 1.a 中创建的用户的 ID,将被授予访问报告的权限
安装主域管理器时创建的数据库名称
数据库架构所有者的用户 ID 和密码。
Define a valid connection string to the database:
一个。确保在 TWSConfig.properties 文件中设置以下 属性 以指向 Oracle JDBC URL: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。
在 Dynamic Workload Console 上执行的操作:
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 管理控制台。
v8.6 FP3:默认https管理端口为31124。
v9.x: 默认https管理端口为16316.
URL 类似于:https://(hostname):16316/ibm/console
b。 Select 环境 > 控制台导航树中的共享库。
c。 Select 下拉列表中的以下范围:
v8.6 FP3:节点=TIPNode01,服务器=server1
v9.x:节点=JazzSMNode01,服务器=server1
...和 select [新]
d。指定一个新名称,例如 oraclelibs
e。在类路径字段中指定包含 Oracle JDBC 驱动程序的目录路径。
*字段详细信息:如果列表中的路径是文件,则产品会搜索该 Java 存档 (JAR) 或压缩的 .zip 文件的内容。如果列表中的路径是目录,那么产品会搜索该目录中 JAR 和压缩文件的内容。按 Enter 键分隔 class 个路径条目。
f。 Select [申请]
*注意:以上步骤更新的文件为:libraries.xml
v8.6 FP3: /eWAS/profiles/TIPProfile/config/cells/TIPCell/nodes/TIPNode/servers/server1/libraries.xml
v9.x: cells/JazzSMNode01Cell/nodes/JazzSMNode01/servers/server1/libraries.xml
Associate the isc Enterprise Application to this shared library:
一个。仍然在 WebSphere 管理控制台中,在控制台导航树中访问共享库引用页面:Select Applications > Application Types > WebSphere enterprise applications > isc > Shared library references
b。选中名为 isc 的应用程序的框。这应该是第一个框,也是 table 中第二列名为 "Application".
部分下的唯一框c。 Select [引用共享库] 按钮。
d。在 "Available" 框中 select 您在步骤 3 中创建的新共享库的名称。例如:oraclelibs。然后 select 添加箭头按钮将共享库名称从可用 Select 框中移动。
e。 Select[好的]
f。 Select 在 "Shared library references" 页面上 [确定]。
克。 Select 消息框中页面顶部的蓝色单词“保存”。
*注意:在这种情况下被标记为正在更新的文件是:
v8.6 FP3: cells/TIPCell/nodes/TIPNode/serverindex.xml cells/TIPCell/applications/isc.ear/deltas/isc/delta-<#> cells/TIPCell/applications/isc.ear/deployments/isc/deployment.xml
v9.x: cells/JazzSMNode01Cell/nodes/JazzSMNode01/serverindex.xml cells/JazzSMNode01Cell/applications/isc.ear/deltas/isc/delta-<#> cells/JazzSMNode01Cell/applications/isc.ear/deployments/isc/deployment.xml
**注意:文件 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:
一个。选中启用报告以启用您 select 编辑到 运行 报告的引擎连接。
b。在数据库用户 ID 和密码中,指定您授权访问报告的数据库用户和密码。