IBM Worklight 6.2 服务器部署错误:在服务器上找不到 DB2 实例 [英] IBM Worklight 6.2 Server Deployement error: DB2 Instance not found on server

查看:18
本文介绍了IBM Worklight 6.2 服务器部署错误:在服务器上找不到 DB2 实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境:

  1. IBM Worklight 6.2,
  2. IBM Liberty 8.5.5.1,
  3. IBM DB2 10.5 和
  4. Windows 2008 标准版.

对于数据库实例的高可用性[WLDBINST],我遵循了以下架构.

For the High Availability of DB instance[WLDBINST], the following Architecture I have followed.

  1. 2 台带有 IBM DB2 二进制和 SAN 存储的 Windows 集群机器,用于共享 Common 中的数据库文件.
  2. 如果任何 1 个节点不可用,则另一个节点将接管控制权,而不会丢失任何数据.
  3. 我已经通过集群 IP 测试了 DB2 实例,它工作正常.

以下错误已记录,当我运行 Worklight 服务器配置工具时,

The below error has been logged, when I run the Worklight Server Configuration tool,

Instance WLDBINST not found on server. Found only [WLDBINST              C, :, DB2CLUSTER, DB2]

我已经找到了上述问题的原因.要列出 DB2 实例,我们可以使用命令 db2ilist

I have found the reason for the above issue. To list the DB2 Instances we can use the command db2ilist

C:>db2ilist
WLDBINST        C :    DB2CLUSTER
DB2

上面的结果表明我们有两个实例

Above result shows that we have two instances

  1. WLDBINST,位于C"驱动器中,属于 DB2CLUSTER &
  2. DB2

我猜,Worklight 配置工具也使用类似的 DB2 工具来列出实例.

Worklight Configuration tool also uses the similar DB2 tool to list the instances, I guess.

所以配置工具将结果视为4个实例如下,

So the configuration tool considering the result as 4 instances as follows,

  1. WLDBINST C,
  2. :,
  3. DB2CLUSTER 和
  4. DB2

我该如何解决这个问题.

How I can resolve this issue.

推荐答案

如果服务器配置工具无法为您的拓扑创建数据库,您应该在运行该工具之前手动创建它.

If the Server Configuration Tool is not able to create the database for your topology, you should create it manually before running the tool.

对于管理数据库,文档在这里:https:///www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_creating_the_db2_database_for_wladmin.html

For the Administration database, the doc is here: https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_creating_the_db2_database_for_wladmin.html

对于 Project Runtime 数据库,文档在这里:https:///www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/t_creating_the_db2_databases.html

For the Project Runtime databases, the doc is here: https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/t_creating_the_db2_databases.html

如果有数据库节点切换,服务器配置工具不会做任何特定配置来确保 Liberty 重新打开连接.我建议您在这种情况下查看 Liberty 的行为,并根据需要在 server.xml 中添加设置.

The server configuration tool will not do any specific configuration to ensure that Liberty reopens a connection if there is a database node switch. I recommend that you review the behavior of Liberty in this case, and add settings in the server.xml as required.

这篇关于IBM Worklight 6.2 服务器部署错误:在服务器上找不到 DB2 实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆