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, a IBM MQ server, or a server cluster.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell.
For more information, see Configuring Qshell to run WebSphere scripts using wsadmin scripting.
- For a list of the available service integration bus commands in Jython and a brief
description of each command, enter the following command at the wsadmin prompt:
print AdminTask.help('SIBAdminCommands')
- For overview help on a given command, enter the following command at the wsadmin
prompt:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
- The server and the node on which that server runs
- The cluster
- 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 -cluster or -wmqServer parameters.
- -cluster cluster
- To remove a server cluster from a bus, specify the name of the
cluster.
If you specify this parameter, do not specify the -node, -server, or -wmqServer parameters.
- -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 -cluster, -node, or -server parameters.
Optional parameters
None.
Example
Remove server1 from bus1.
AdminTask.removeSIBusMember('[-bus bus1 -node node1 -server server1 ]')