createMissingSIBEnginePolicy command

Use the createMissingSIBEnginePolicy command to create a core group policy for a messaging engine in 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.

只有在搭配 WebSphere® Application Server 7.0 版或更新版本應用程式伺服器使用時,這個指令才有效。 請勿搭配較舊的版本來使用它。

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

    print AdminTask.help('SIBAdminCommands')

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

    print AdminTask.help('command_name')

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

AdminConfig.save()

Purpose

Use this command to create a core group policy for a messaging engine. For example, you must do this after you create a new messaging engine for the cluster by using the createSIBEngine command. Use this command only when the cluster has messaging engine policy assistance enabled and the custom policy specified. To do this, use the addSIBusMember or modifySIBusMemberPolicy commands.

Target object

A messaging engine.

Required parameters

-name messaging_engine_name
The name of the messaging engine for which to create a core group policy.

Optional parameters

-failover TRUE | FALSE
A parameter that specifies whether the messaging engine in the cluster can fail over to another server in the cluster if the host server for the messaging engine fails. This parameter has two possible values:
TRUE
The messaging engine can fail over.
FALSE
The messaging engine cannot fail over.

The default value is FALSE. Use this parameter if the cluster has messaging engine policy assistance enabled and the custom policy specified. To do this, use the addSIBusMember or modifySIBusMemberPolicy commands.

-failback TRUE | FALSE
A parameter that specifies whether the messaging engine in the cluster that has failed over can fail back to a more preferred server in the preferred servers list if that server becomes available again. This parameter has two possible values:
TRUE
The messaging engine can fail back. If you use this option, supply a -preferredServerList parameter.
FALSE
The messaging engine cannot fail back.

The default value is FALSE. Use this parameter if the cluster has messaging engine policy assistance enabled and the custom policy set. To do this, use the addSIBusMember or modifySIBusMemberPolicy commands.

-preferredServersOnly TRUE | FALSE
A parameter that specifies whether the messaging engine in the cluster can run only on servers in the preferred servers list, or on any server in the cluster. This parameter has two possible values:
TRUE
The messaging engine can run only on servers in the preferred servers list. If you use this option, supply a -preferredServerList parameter.
FALSE
The messaging engine can run on any server in the cluster.

The default value is FALSE. Use this parameter if the cluster has messaging engine policy assistance enabled and the custom policy set. To do this, use the addSIBusMember or modifySIBusMemberPolicy commands.

-preferredServerList {{node server}}
The list of servers, in order of preference, on which the messaging engine in the cluster prefers to run. For each server in the list, specify both the name of the node on which the server runs, and the name of the server. There is no default value for this parameter. Use this parameter if the cluster has messaging engine policy assistance enabled and the custom policy set. To do this, use the addSIBusMember or modifySIBusMemberPolicy commands.

Example

Create a core group policy for the messaging engine cluster1.000-bus1. Configure the core group policy so that the messaging engine can fail over, cannot fail back, and can run only on server1 and server2:

AdminTask.createMissingSIBEnginePolicy('[-name cluster1.000-bus1 
-failover true -failback false -preferredServersOnly true 
-preferredServerList [[node1 server1] [node2 server2]]]') 

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



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