modifySIBusMemberPolicy command

Use the modifySIBusMemberPolicy command to change the messaging engine configuration for a cluster that is a member of a service integration bus.

如果要執行這個指令,請使用 wsadmin Scripting 用戶端AdminTask 物件

[IBM i][IBM i]wsadmin Scripting 用戶端是從 Qshell 執行. [IBM i]如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.

服務整合匯流排指令有指令行說明:
  • 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('SIBAdminCommands')

  • 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('command_name')

使用指令之後,請利用下列指令,儲存對主要配置所做的變更:

AdminConfig.save()

Purpose

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.

Target object

None.

The configuration of the messaging engines in the cluster is changed to implement the specified messaging engine policy.

Required parameters

-bus busname
The name of the service integration bus that the cluster belongs to. You can use the listSIBuses command to list the names of existing buses.
-cluster cluster
The name of the cluster that you want to change.

Optional parameters

-enableAssistance TRUE | FALSE
Whether to enable messaging engine policy assistance. This parameter has two possible values:
TRUE
Messaging engine policy assistance is enabled. You must supply a -policyName parameter.
FALSE
Messaging engine policy assistance is not enabled.
The default value is FALSE.
-policyName HA | SCALABILITY | SCALABILITY_HA | CUSTOM
The type of messaging engine policy to apply to the cluster. This parameter has four possible values:
HA
Apply the high availability messaging engine policy to the cluster.
SCALABILITY
Apply the scalability messaging engine policy to the cluster.
SCALABILITY_HA
Apply the scalability with high availability messaging engine policy to the cluster.
CUSTOM
Apply the custom messaging engine policy to the cluster.
This parameter has no default. Use this parameter if the -enableAssistance parameter is set to TRUE.

Example

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 ]') 

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:12
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjj_cli_busm_modify
檔名:rjj_cli_busm_modify.html