Uninstalling WebSphere MQ

 

To uninstall WebSphere MQ (server or client), use the Solaris pkgrm program.

If any updates have been applied, remove them first.

  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 pkgrm mqm to uninstall the mqm package.

    If for any reason the product was not properly uninstalled, you must delete the files and directories contained in/opt/mqm.

  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.

 

Parent topic:

Welcome to WebSphere MQ V6.0


sq10800_