Uninstalling AMS on AIX
On AIX® platforms, you can remove Advanced Message Security component either using SMIT or the command line.
Procedure
- Stop all IBM® MQ applications associated with the installation you are uninstalling.
-
For a server installation, end any IBM MQ activity
associated with the installation you are uninstalling:
-
Log in as a user in the group
mqm
. -
Set up your environment to work with the installation you want to uninstall. Enter the
following command:
where. MQ_INSTALLATION_PATH/bin/setmqenv
. MQ_INSTALLATION_PATH
refers to the location where IBM MQ is installed. -
Display the state of all queue managers on the system. Enter the following command:
dspmq -o installation
-
Stop all running queue managers associated with the installation you want to uninstall. Enter
the following command for each queue manager:
endmqm QMgrName
-
Stop any listeners associated with the queue managers. Enter the following command for each
queue manager:
endmqlsr -m QMgrName
-
Log in as a user in the group
- Log in as root.
-
Uninstall AMS component using either
installp or smit. If AMS component was installed in a non-default location,
you must use installp to uninstall.
- Uninstall using installp by entering one of the following commands:
- For an installation in the default location /usr/mqm
installp -u mqm.ams.rte
- For an installation in a non-default location:
where usil is the path of the User Specified Installation Location (USIL) specified when the product was installed.installp -R usil -u mqm.ams.rte
- For an installation in the default location /usr/mqm
- Uninstall using smit:
- Select the required smit window using the following sequence:
Software Installation and Maintenance Software Maintenance and Utilities Remove Installed Software
- List the software in the SOFTWARE name field:
- Enter .
- Press F4
- Select the file sets to uninstall from the list (those beginning with mqm), and press Enter. There is an option at this stage to do a preview. Leave the option set to the default value of Yes to preview the file sets you are uninstalling, or select No to not preview these file sets.
- Press Enter on the Remove Installed Software panel, it asks whether you are sure, press Enter.
- Select the required smit window using the following sequence:
- Uninstall using installp by entering one of the following commands: