deleteSIBWMQServer command
Use the deleteSIBWMQServer command to delete a specified IBM MQ server and remove the associated IBM MQ server bus members, assigned queue points and mediation points.
You can delete a IBM MQ server by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting an IBM MQ server definition.
Para executar o comando, utilize o objeto AdminTask do cliente de script wsadmin.
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.
- 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')
AdminConfig.save()
Purpose
Um servidor IBM MQ representa um gerenciador de filas ou um grupo de filas compartilhadas do IBM MQ (para IBM MQ for z/OS). This command deletes a specified IBM MQ server and removes any associated IBM MQ server bus members, assigned queue points and mediation points. This operation does not remove the corresponding IBM MQ queue manager or queue-sharing group, and it does not remove messages from any queues that are assigned to corresponding IBM MQ server bus members. The bus members for a given IBM MQ server are those created when the server is added to a bus.
Target object
A selected IBM MQ server.
Required parameters
- -name
- The name of the IBM MQ server to delete. This value is specified for the -name parameter (not the -serverName parameter), when the IBM MQ server is created, and is the name of the WebSphere Application Server administrative object, not the name of the IBM MQ object. If you issue the delete command, it is the WebSphere Application Server administrative object that is deleted, not the IBM MQ resource.
Conditional parameters
None
Optional parameters
None
Example
- Using Jython:
AdminTask.deleteSIBWMQServer(["-name", "Finance dept QM"])
- Using Jacl:
$AdminTask deleteSIBWMQServer {-name "Finance dept QM"}