我正在尝试将多个自定义配置文件同时联合到IBM Websphere Application Server 8.5中的Deployment Manager。它失败并出现以下错误:
[root@ip-10-xxx-xxx-xx bin]# ./removeNode.sh -username wasadmin
-password wasadmin
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/Custom074/logs/removeNode.log
ADMU0128I: Starting tool with the Custom074 profile
ADMU2001I: Begin removal of node: ip-10-xxx-xxx-xx
ADMU0009I: Successfully connected to Deployment Manager Server:
ip-10-yyy-yyy-yyy:8880
ADMU0041E: Another addNode or removeNode operation is currently in progress.
Please attempt this operation later.
ADMU0211I: Error details may be seen in the file:
/opt/IBM/WebSphere/AppServer/profiles/Custom074/logs/removeNode.log
自定义配置文件在我的脚本中启动自己的联合。如何使配置文件同时联合?有没有办法轮询Deployment Manager(使用SOAP或类似的)来查看部署管理器当前是否正在执行任何addNode / removeNode操作,以便脚本可以等到它结束后再尝试联合自身?
答案 0 :(得分:1)
从2002年左右开始,WAS要求从v5开始连续执行addNode / removeNode。没有API来测试它。最好的建议是串行完成所有addNode / removeNode。如果需要处理并发addNode / removeNode请求,则必须捕获错误,暂停,重试,说N次,直到成功或放弃操作。但即便如此,实际的addNode / removeNode操作本身必须一个接一个地执行才能成功。