Removing a bus member using the wsadmin tool

Use this command to remove a member from a service integration bus.

To run the command, use the AdminTask object of the wsadmin scripting client.

This command is only valid when used with WebSphere® Application Server Version 6 and later application servers. Do not use it with earlier versions.

Command-line help is provided for service integration bus commands:

After using the command, save your changes to the master configuration; for example, by using the following command:
 $AdminConfig save

Purpose

This command removes a bus member from the named bus, and cleans up artifacts that are associated with the removed membership. For example, this command cleans up associated WebSphere MQ server bus member artifacts, and mediation execution points. To remove a bus member using this command, specify one of the following resources:
  • The name of the node on which the server runs and the name of the server
  • The cluster
  • The WebSphere MQ server
This command does not delete messages from the associated WebSphere MQ queues, and it does not delete the queues.
Command name
RemoveSIBusMember
Target
None.
Result
The bus member is removed from the 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.
-wmqServer
The name of the WebSphere MQ server bus member to remove from the bus membership. This is the name specified in the -name parameter when creating the WebSphere MQ server. If you specify this parameter, do not specify the node, server or cluster parameters.
-server server_name
The name of the server. If you specify this parameter, you must also specify the node parameter, but not the cluster or wmqServer parameters.
-node node_name
The name of the node on which the server runs. If you specify this parameter, you must also specify the server parameter, but not the cluster or wmqServer parameters.
-cluster cluster
The name of the cluster.

If you specify this parameter, do not specify the node, server, or any WebSphere MQ server parameters.

Conditional parameters

-node nodename -server servername
To remove an application server as a bus member, specify both the name of the node on which the server runs and the name of the server.
-cluster cluster
To remove a server cluster as a bus member, specify the name of the cluster.

Optional parameters

None.

Example

Remove server1 from bus1.

wsadmin>$AdminTask removeSIBusMember {-bus bus1 -node aloneNode -server server1}
wsadmin>



Related reference
Buses administrative commands
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=rjj_cli_busm_remove
File name: rjj_cli_busm_remove.html