deleteSIBWMQServer command
Use the deleteSIBWMQServer command to delete a specified IBM MQ server and remove the associated IBM MQ server bus members, assigned queue points and mediation points.
You can delete a IBM MQ server by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting an IBM MQ server definition.
如果要執行這個指令,請使用 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
IBM MQ 伺服器代表 IBM MQ 佇列管理程式或(若為 IBM MQ for z/OS)佇列共用群組。 This command deletes a specified IBM MQ server and removes any associated IBM MQ server bus members, assigned queue points and mediation points. This operation does not remove the corresponding IBM MQ queue manager or queue-sharing group, and it does not remove messages from any queues that are assigned to corresponding IBM MQ server bus members. The bus members for a given IBM MQ server are those created when the server is added to a bus.
Target object
A selected IBM MQ server.
Required parameters
- -name
- The name of the IBM MQ server to delete. This value is specified for the -name parameter (not the -serverName parameter), when the IBM MQ server is created, and is the name of the WebSphere Application Server administrative object, not the name of the IBM MQ object. If you issue the delete command, it is the WebSphere Application Server administrative object that is deleted, not the IBM MQ resource.
Conditional parameters
None
Optional parameters
None
Example
- Using Jython:
AdminTask.deleteSIBWMQServer(["-name", "Finance dept QM"])
- Using Jacl:
$AdminTask deleteSIBWMQServer {-name "Finance dept QM"}