BPMSecurityUnlock 命令

传统:
使用 BPMSecurityUnlock 命令在服务器启动期间解锁应用程序集群成员。

BPMSecurityUnlock 命令是使用 wsadmin 脚本编制客户机的 AdminTask 对象来运行的。

由于在应用程序集群级别进行组复制并且应用程序集群包含多个服务器,因此当您启动集群或组时,将在多个服务器上同时启动组复制。 IBM® Business Automation Workflow 指定服务器以使用锁定机制同步外部安全组。 因此,获得锁定的集群成员会将外部轻量级目录访问协议 (LDAP) 安全提供程序与内部数据库同步。 其他集群成员将等待释放锁定,然后从数据库中读取信息。

如果控制锁定的集群成员停止,从而使该锁定停留于数据库中,那么其他集群成员可能会陷入无休止的循环。 如果检测到故障,请通过运行 BPMSecurityUnlock 命令,将获得了锁定的应用程序集群成员解锁。

为确保不中断正常处理,您必须留出足够的时间用于正常的服务器启动时间。 例如,如果正常的服务器启动时间为 20 分钟,请在执行该命令之前等待 20 分钟。

要点: 在网络部署环境中,必须在获取锁定的集群成员上运行 BPMSecurityUnlock 命令; 请勿从 Deployment Manager 概要文件运行此命令。

先决条件

注: 在配置了多个安全域的环境中,使用 PALService MBean 而不是 wsadmin 命令。 请参阅 流程应用程序 LifeCycle (PAL) MBean

错误日志

参考消息指示锁定处于活动状态的时间长度。
CWLND0004W - The system has been waiting for the group replication lock to be released for the last 20 minutes.
Explanation: For more information, see the BPMSecurityUnlock command topic in the Information Center.
User action: To ensure that you do not interrupt normal processing, allow enough time for your server to start up normally before you unlock the application cluster member that acquired the lock by running the BPMSecurityUnlock command.
CWLND0005I - The group replication process has started.
Explanation: This message is for informational purposes only.
User action: No action is required.
CWLND0006I - The group replication process has competed.
Explanation: This message is for informational purposes only.
User action: No action is required.

参数

无。

示例

以下示例说明了如何运行 BPMSecurityUnlock 命令。 在此示例中,用户与 Workflow Center 服务器建立 SOAP 连接。

本主题仅适用于 IBM Business Automation Workflow Advanced 配置。
要点: 在网络部署环境中, 使用为运行 Workflow ServerWorkflow Center 应用程序的应用程序集群成员配置的端口。 要确定正确的端口号,请参阅 WebSphere 管理控制台 "端口" 集合页面 (单击 服务器 > 服务器类型 > WebSphere 应用程序服务器 > server_name > 通信 > 端口 并查找 SOAP_CONNECTOR_ADDRESS 的值)。
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython
AdminTask.BPMSecurityUnlock()