Commande deleteSIBWMQServer
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.
Pour exécuter la commande, utilisez l'objet AdminTask du client de scriptage wsadmin.
Le client de scriptage wsadmin est exécuté à partir de Qshell.
Pour plus d'informations, voir Configuration de Qshell pour exécuter des scripts WebSphere à l'aide de l'outil de scriptage wsadmin.
- Pour obtenir une liste des commandes de bus d'intégration de services
disponibles dans Jython et une brève description de chacune d'elles, entrez la commande suivante
à l'invite wsadmin :
print AdminTask.help('SIBAdminCommands')
- Pour obtenir une aide générale sur une commande donnée,
entrez la commande suivante à l'invite wsadmin :
print AdminTask.help('nom_commande')
AdminConfig.save()
Rôle
Un serveur IBM MQ représente un gestionnaire de files d'attente IBM MQ ou (pour IBM MQ for z/OS) un groupe de partage de files d'attente. 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.
Objet cible
A selected IBM MQ server.
Paramètres obligatoires.
- -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. La commande de suppression élimine l'objet d'administration WebSphere Application Server et non la ressource IBM MQ.
Paramètres conditionnels
Aucune
Paramètres optionnels
Aucune
Exemple
- En langage
Jython :
AdminTask.deleteSIBWMQServer(["-name", "Finance dept QM"])
- Avec Jacl :
$AdminTask deleteSIBWMQServer {-name "Finance dept QM"}