Uninstalling the WebSphere MQ BTM extension
This section describes how to uninstall the WebSphere MQ BTM extension from the following supported platforms:
Uninstalling the WebSphere MQ BTM extension from Windows
- Stop the WebSphere MQ configuration (qpcfg) and monitoring (qpmon) extensions.
- Stop WebSphere MQ programs that do not end with the queue manager such as listeners that are configured for manual start/stop and trigger monitors.
- Stop all of your WebSphere MQ applications.
- Stop the queue manager using
endmqm –w
- Stop any forgotten WebSphere MQ programs or applications that are preventing the queue manager from stopping. Do not continue until
endmqm –w
ends. - Navigate to Start > Programs > IBM WebSphere MQ > WebSphere MQ Explorer and expand WebSphere MQ Explorer.
- Right-click the queue manager you are using and select Properties > Exits.
- Select the exit for TrueSight Middleware and Transaction Monitor and click Remove.
- Click OK and exit the Explorer.
- Remove the dll files:
- For WebSphere MQ 7.1 or later:
- Remove the 32-bit btmmq_71.dll from the staging directory to the default 32-bit exits directory. For example: C:\Program Files (x86)\IBM\WebSphere MQ\exits
- Remove the 64-bit btmmq_71.dll from the staging directory to the default 64-bit exits directory. For example: C:\Program Files (x86)\IBM\WebSphere MQ\exits64
- For WebSphere MQ 7:
- Remove the 32-bit btmmq_70.dll from the staging directory to the default 32-bit exits directory. For example: C:\Program Files (x86)\IBM\WebSphere MQ\exits
- Remove the 64-bit btmmq_70.dll from the staging directory to the default 64-bit exits directory. For example: C:\Program Files (x86)\IBM\WebSphere MQ\exits64
- Start the queue manager, MQ applications, listeners, trigger monitors and WebSphere MQ configuration (qpcfg) and monitoring (qpmon) extensions as required.
Uninstalling the WebSphere MQ BTM extension from UNIX
- Stop the WebSphere MQ configuration (qpcfg) and monitoring (qpmon) extensions.
- Stop WebSphere MQ programs that do not end with the queue manager such as listeners that are configured for manual start/stop and trigger monitors.
- Stop all of your WebSphere MQ applications.
- Stop the queue manager using
endmqm –w
- Stop any forgotten WebSphere MQ programs or applications that are preventing the queue manager from stopping. Do not continue until
endmqm –w
ends. - Edit the qm.ini file to remove the exit information. Do not remove the ExitPath section even if added during installation as an exit added later might be using those paths now. Do note these paths for a later step. Remove the ApiExitLocal section for the BTM Extension.
qm.iniExitPath:
ExitsDefaultPath=/var/mqm/exits/
ExitsDefaultPath64=/var/mqm/exits64/
ApiExitLocal:
Name=BTMExtension
Sequence=3
Function=EntryPoint
Module=<btmmq71 or btmmq70>
- Edit the mqs.ini file to remove the exit information. This was an optional step so the exit cannot be configured here. Remove both the ApiExitTemplate and ApiExitCommon sections for the BTM Extension.
mqs.ini with added exitsApiExitTemplate:
Name=BTMExtension
Sequence=3
Function=EntryPoint
Module=btmmq
ApiExitCommon:
Name=BTMExtension
Sequence=3
Function=EntryPoint
Module=<btmmq71 or btmmq70>
- Remove the following files from the ExitsDefaultPath and ExitsDefaultPath64 directories (from the qm.ini file noted earlier).
- For WebSphere MQ 7.1 or later remove the btmmq71* versions of the files.
- For WebSphere MQ 7 remove the btmmq70* versions of the files.
- Restart the queue manager, MQ applications, listeners, trigger monitors and WebSphere MQ configuration (qpcfg) and monitoring (qpmon) extensions as required.
Uninstalling the WebSphere MQ BTM extension from i5/OS
- Stop the WebSphere MQ configuration (qpcfg) and monitoring (qpmon) extensions.
- Stop WebSphere MQ programs that do not end with the queue manager such as listeners that are configured for manual start/stop and trigger monitors.
- Stop all of your WebSphere MQ applications.
- Stop the queue manager using
endmqm –w
- Stop any forgotten WebSphere MQ programs or applications that are preventing the queue manager from stopping. Do not continue until
endmqm –w
ends. - Remove libbtmutil.so from from the directory specified by the MQS_HOME system environment variable (for example, /MQS_HOME/BTM/logs).
- Edit the qm.ini file to remove the BTM WebSphere MQ API exit information. Remove the ApiExitLocal section for the BTM Extension.
qm.iniApiExitLocal:
Name=BTMExtension
Sequence=3
Function=EntryPoint
Module=lib/BTMMQ
where:lib
is the library name to which the agents files were restored. - Edit the mqs.ini file to remove the exit information. This was an optional step so the exit cannot be configured here. Remove both the ApiExitTemplate and ApiExitCommon sections for the BTM Extension.
mqs.ini with added exitsApiExitTemplate:
Name=BTMExtension
Sequence=3
Function=EntryPoint
Module=lib/BTMMQ
ApiExitCommon:
Name=BTMExtension
Sequence=3
Function=EntryPoint
Module=lib/BTMMQ
where:lib
is the library name to which the agents files were restored. - Restart the queue manager, MQ applications, listeners, trigger monitors and WebSphere MQ configuration (qpcfg) and monitoring (qpmon) extensions as required.
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.