deleteSIBEngine command
Use the deleteSIBEngine command to delete a messaging engine from a service integration bus member.
您應該提防在配置了 WS-Notification 受管理訂閱者的匯流排成員上,刪除再重建傳訊引擎,因為在某些情況之下,這可能使遠端 Web 服務訂閱保持作用中(以及向本端伺服器傳遞通知訊息),即使不再有它的任何記錄,也是如此。 For more information, see the WS-Notification troubleshooting tip Problems can occur when deleting administered subscribers and messaging engines.
If you promote a server bus member to a cluster that is not a member of the bus, do not delete then recreate the messaging engine. Use the migrateServerMEtoCluster command instead.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
This command deletes a messaging engine from a bus member. Any associated configurations of the messaging engine, such as core group policies or destinations, are also deleted. If the messaging engine uses a data store for the message store, objects in the data stores remain so that you can still access them. If you recreate the same messaging engine, you must remove any old data store tables before you start the new messaging engine.
This command also cleans up any mediation execution points that are on the messaging engine as the result of mediating a destination to a IBM MQ server bus member. The command unmediates the destination to which the mediation execution point corresponds.
Target object
A messaging engine.
Required parameters
- -bus bus_name
- The name of the service integration bus on which the bus member is configured. You can use the listSIBuses command to list the names of existing buses.
Conditional parameters
- -node node_name
- -server server_name
- To delete a messaging engine from an application server that is a bus member, specify both the name of the node on which the server runs and the name of the server.
- -cluster cluster_name
- To delete a messaging engine from a server cluster that is a bus member, specify the name of the cluster.
- -engine engine_name
- If the bus member has only one messaging engine, you do not need to specify the engine name. If the bus member has several messaging engines, you must specify the name of the engine that you want to delete.
Optional parameters
None.
Examples
Delete the messaging engine from server1 on node1 that is a member of a bus1.
AdminTask.deleteSIBEngine ('[-bus bus1 -node node1 -server server1]')
List the messaging engines for cluster1 that is a member of bus1, delete the messaging engine that is named cluster1.001-bus1, then list the messaging engines again.
AdminTask.listSIBEngines('[-bus bus1 -cluster cluster1 ]')
AdminTask.deleteSIBEngine('[-bus bus1 -cluster cluster1
-engine cluster1.001-clusterBus ]')
AdminTask.listSIBEngines('[-bus bus1 -cluster cluster1 ]')