+

Search Tips   |   Advanced Search

removeSIBusMember command

Use the removeSIBusMember command to remove a member from a service integration bus using the wsadmin tool. A bus member can be an application server, an IBM MQ server, or a server cluster.

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

(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .

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

After using the command, save the changes to the master configuration using the following command:

AdminConfig.save()

The removeSIBusMember command removes a bus member from the named bus. It cleans up artifacts associated with the removed membership, for example, associated IBM MQ server bus member artifacts, mediation execution points, or core group policies for messaging engines associated with the bus member. To remove a bus member using this command, specify one of the following resources:

This command does not delete messages from the associated IBM MQ queues, and it does not delete the queues.


Target object

A service integration bus.


Required parameters

-bus bus_name

The name by which the service integration bus is known. We can use the listSIBuses command to list the names of existing buses.


Conditional parameters

-node node

-server server

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 we 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 specified, do not specify the -node, -server, or -wmqServer parameters.

-wmqServer mqservername

To remove an 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 specified, 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 ]')