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.
Para executar o comando, utilize o objeto AdminTask do cliente de script wsadmin.
![[IBM i]](../images/iseries.gif)
O cliente de script wsadmin é executado do Qshell.
Para obter informações adicionais, consulte Configurando o Qshell para Executar Scripts do WebSphere Usando o Script wsadmin.
A ajuda da linha de comandos é fornecida para comandos do barramento de integração de serviços:
- Para obter uma lista dos comandos de barramento de integração de
serviços disponíveis no Jython e uma breve descrição de cada comando, digite o seguinte
comando no prompt wsadmin:
print AdminTask.help('SIBAdminCommands')
- Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt wsadmin:
print AdminTask.help('command_name')
Após utilizar o comando, salve suas alterações na configuração principal, utilizando o seguinte comando:
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 ]')
Tópico de Referência