Uninstalling WebSphere MQ

 

To uninstall (server or client), use the HP-UX swremove program.

  1. Log in as root.

  2. Before starting to uninstall, end all WebSphere MQ activity.

    1. Log in as root.

    2. Use the dspmq command to display the state of all the queue managers on the system.

    3. Use the endmqm command to stop all running queue managers.

    4. Stop any listeners associated with the queue managers, using the command:
       endmqlsr -m QMgrName

    5. To check that you have stopped all of them, enter the following:
      ps -ef | grep mq

    6. Check that there are no processes listed that are running command lines beginning amq or runmq. Ignore any that start with amqi.

  3. Enter swremove MQSERIES to uninstall the MQSERIES package.

    1. Log in as root.

    2. Enter swremove MQSERIES to uninstall the MQSERIES package.

  4. After uninstalling WebSphere MQ, we can delete the /var/mqm directory tree, (this will destroy all queue managers and their associated data).

  5. If no other products require the Global Security Kit V7, we can uninstall packages gsk7bas and gsk7bas64 by typing:
    swremove gsk7bas
    or
    swremove gsk7bas64

 

Parent topic:

Welcome to WebSphere MQ for HP-UX


hq10810_