removeSIBusMember command
Use the removeSIBusMember command to remove a member from a service integration bus by using the wsadmin tool. A bus member can be an application server or a IBM MQ server.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
![[IBM i]](../images/iseries.gif)
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
服務整合匯流排指令有指令行說明:
- 如需 Jython 中可用的服務整合匯流排指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBAdminCommands')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
使用指令之後,請利用下列指令,儲存對主要配置所做的變更:
AdminConfig.save()
Purpose
The removeSIBusMember command
removes a bus member from the named bus. It cleans up artifacts that
are associated with the removed membership, for example, associated IBM MQ server bus member artifacts,
mediation execution points, or core group policies for messaging engines
that are associated with the bus member. To remove a bus member by using
this command, specify one of the following resources:
- The server and the node on which that server runs
- The IBM MQ server
Target object
A service integration bus.
Required parameters
- -bus bus_name
- The name by which the service integration bus is known. You can use the listSIBuses command to list the names of existing buses.
Conditional parameters
- -node node_name
- -server server_name
- To remove an application server from a bus, specify both the name
of the node on which the server runs and the name of the server.
If you specify these parameters, do not specify the -wmqServer parameter.
- -wmqServer mqservername
- To remove a IBM MQ server from a bus, specify
the name of the IBM MQ server. This is the name that
was specified in the -name parameter when the IBM MQ server was created.
If you specify this parameter, do not specify the -node or -server parameters.
Optional parameters
None.
Example
Remove server1 from bus1.
AdminTask.removeSIBusMember('[-bus bus1 -node node1 -server server1 ]')
參照主題