如何升级 IBM Business Process Manager V7.5 到 IBM BPM V7.5.12


数据库升级完成之后,查看 <install_root>\BPM\Lombardi\tools\upgrade\upgrade_7x\logs 路径下生成的 upgrade0.log 是否有错误信息,如图 11 所示。


11. 更新数据库的日志

(只适用于 advanced 版本)如果配置了 BPC 而且用户连接 PBC 数据库的用户没有 Drop viewcreate viewdrop indexcreate index 的权限,要手动升级 BPC 数据。

1.    拷贝 <profile_root>\dbscripts\ProcessChoreographer\ 文件夹到数据库服务器上

2.    运行此文件夹下 \<db_type>\<db_name>\<schema_name> upgradeSchema_SchemaStatus.sql 脚本,用于创建 SCHEMA_STATUS

3.    运行 upgradeSchema7500.sql 脚本,用于更新 BPC 数据库 schema

单机环境升级完成,启动 stand-alone 服务,并查看 <profile_root>/logs/<server_name> 路径下新的 SystemOut.log 有无错误信息。

升级网络集群环境

第一步
安装更新包,首先在 deployment manager(以下简称 dmgr)所在的机器上,使用 IM 安装 BPM V7.5.1 更新包,升级过程同升级单机环境的安装 BPM V7.5.1 更新包步骤 1 4。在升级过程中 dmgr profile 的升级会在安装更新包时自动完成,由于 managed node1 也在同一台机器上,所以 managed node profile 的升级也会在安装更新包时自动完成。

更新包安装后,查看更新产生的日志:<profile_root>\logs\BPMProfileUpgrade.<profileName>.<timeStamp>.log 中是否有错误信息,如图 8 所示。此处 <profileName> dmgr 名称。

启动 dmgr 服务,如图 12 所示,并查看 <dmgr_profile_root>/logs/<server_name> 路径下的 SystemOut.log 有无错误信息。


12. 启动 dmgr

然后,在 managed node2 所在机器上(和 dmgr 不在同一台机器),使用 IM 安装 BPM V7.5.1 更新包,升级过程同升级单机环境的安装 BPM V7.5.1 更新包步骤 1 3,在安装过程接近结束之前,会提示用户输入登录 dmgr 的用户名和密码(如图 13 所示)输入正确信息后,继续安装;提示框第二次出现,再次输入用户名密码,直到步骤 4 更新安装成功界面出现。需注意提示框 1 分钟失效,错过输入会导致安装错误。managed node profile 的升级会在安装更新包时自动完成。


13. 升级 managed node,登录 dmgr

更新包安装完成后,查看日志文件:<profile_root>\logs\BPMProfileUpgrade.<profileName>.<timeStamp>.log 中是否有错误信息,如图 8 所示。此处 <profileName> managed node 名称。

最后在 dmgr 所在的机器上,停止 dmgr 服务,并查看 <dmgr_profile_root>/logs/<server_name> 路径下的 SystemOut.log 有无错误信息。

以下所有步骤在dmgr所在的机器上执行。

生成用于升级数据库的 SQL 脚本

BPM 安装路径 bin 目录下运行 BPMGenerateUpgradeSchemaScripts 命令,如下格式:

BPMGenerateUpgradeSchemaScripts.bat -upgrade 7.5.0.0 <profile_name>

BPMGenerateUpgradeSchemaScripts.sh -upgrade 7.5.0.0 <profile_name>

<profile_name> 是指 dmgr profile 名称,运行过程如图 14 所示。


14. 运行 BPMGenerateUpgradeSchemaScripts 命令

在运行 BPMGenerateUpgradeSchemaScripts 命令时,按照提示进行输入,数据库用户为在 BPM

V7.5 中使用的相应 component 的用户。

命令运行结束,检验在 <profile_root>upgrade\logs 下产生的日志,以及如命令中显示的,在 <profile_root>\dbscrpts\ 下生成的用于更新数据库的脚本。

第二步
对于每个 cluster 升级 profile

dmgr profile 路径下运行 BPMProfileUpgrade.ant 脚本,如下格式:

Windowsbin\ws_ant.bat -f util\BPMProfileUpgrade.ant -profileName <profile_name> -Dupgrade=true Dcluster=<cluster_name>

Linux/Unixbin/ws_ant.sh -f util/BPMProfileUpgrade.ant -profileName <profile_name> -Dupgrade=true Dcluster=<cluster_name>

<profile_name> 是指 dmgr 的名称,<cluster_name> 是指集群环境中每个 cluster 的名字,本例中有三个 cluster 需要运行三次命令,运行完成如图 15 所示。


15. 运行 BPMProfileUpgrade.ant 脚本

profile 升级完成后,在 <dmgr_profile_root>/logs 路径下查看对 PS 集群环境中的三个 cluster 更新 profile 生成的日志有无错误信息,日志名为 BPMProfileUpgrade.<profile_name>.<cluster_name>.<timestamp>.log,如图 16 所示。


16. 集群环境中更新 profile 的日志

以下文章点击率最高

Loading…

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营