correctSIBEnginePolicy command
Use the correctSIBEnginePolicy command to change a core group policy for a messaging engine in a cluster that is a member of a service integration bus, so that the core group policy conforms to the current messaging engine policy set for the cluster.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
只有在搭配 WebSphere® Application Server 7.0 版或更新版本應用程式伺服器使用時,這個指令才有效。 請勿搭配較舊的版本來使用它。
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
Use this command when there is a messaging engine for the cluster that does not have the correct core group policy settings for the messaging engine policy that you want to use for the cluster. Use this command only when the messaging engine already exists, and the cluster has messaging engine policy assistance enabled and the high availability, scalability, or scalability with high availability messaging engine policy specified. To do this, you use the addSIBusMember or modifySIBusMemberPolicy commands.
Target object
A core group policy.
Required parameters
- -name messaging_engine_name
- The name of the messaging engine for which to correct the core group policy.
Example
Correct the core group policy for the messaging engine cluster1.000-bus1.
AdminTask.correctSIBEnginePolicy ('[-name cluster1.000-bus1]')