Use the modifySIBusMemberPolicy command to change the messaging engine configuration for a cluster that is a member of a service integration bus.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.
print AdminTask.help('SIBAdminCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command changes the messaging engine policy that is applied to a cluster that is a member of a service integration bus. You can enable or disable messaging engine policy assistance, or use messaging engine policy assistance to change the messaging engine configuration for a cluster. For example, you can change from a high availability messaging engine policy to a scalability messaging engine policy.
If you enable messaging engine policy assistance and select the high availability policy, the settings of the first messaging engine in the cluster are automatically set to support the policy. If there are currently additional messaging engines in the cluster, you might have to use the deleteSIBEngine command to remove unwanted messaging engines from the cluster and therefore conform with the policy.
If you enable messaging engine policy assistance and select the scalability or scalability with high availability policy, the settings of the messaging engines that are currently in the cluster are automatically set to support the selected policy. You might have to use the createSIBEngine command or deleteSIBEngine commands to achieve the number of messaging engines to conform with the policy (there should be one messaging engine for each application server in the cluster). For each new messaging engine that you create, the settings that support the selected policy are created automatically.
If you enable messaging engine policy assistance and select the custom policy, the settings of the messaging engines that are currently in the cluster are unchanged. You can use the createMissingSIBEnginePolicy command to specify the settings for each messaging engine in the cluster, or the createSIBEngine command to create additional messaging engines.
None.
The configuration of the messaging engines in the cluster is changed to implement the specified messaging engine policy.
Enable messaging engine policy assistance for cluster1, a member of bus1, and apply the scalability messaging engine policy:
AdminTask.modifySIBusMemberPolicy('[-bus bus1 -cluster cluster1 -enableAssistance true -policyName SCALABILITY ]')
Disable messaging engine policy assistance for cluster1, a member of bus1:
AdminTask.modifySIBusMemberPolicy('[-bus bus1 -cluster cluster1 -enableAssistance false ]')