Technical Blog Post
Abstract
MDM Post Install Configuration Targets - switch_to_mq
Body
Target switch_to_mq
Uninstalls configuration related to WebSphere Embedded Messaging (WEM) and configures the application server to make use of WebSphere Messaging Queues.
When to use:
When MDM has be installed using WebSphere Embedded Messaging (WEM) and has to be configured to use WebSphere Messaging Queue (WMQ) the target switch_to_mq can be used.
Inputs obtained:
The target reads the below properties from file <MDM_INSTALL_DIR>/properties/post_config.properties
# MQ server host name
messagingHost=<MQ-host>
# MQ server listener port
messagingPort=1414
# MDM user name to access to MQ server
messagingUser=<MQ-user>
# MDM user password to access to MQ server
messagingPassword=<MQ-user-password>
# The MQ Queue Manager name for MDM server
messagingQueueManager=<MDM-QMGR>
# The MQ server connection channel name for MDM server
messagingChannel=<MDM-SVR-CHANNEL>
# The MQ queue transport type for MDM server, CLIENT or BINDING
messagingTransport=CLIENT
# The MQ server home path
messagingHomePath=/usr/mqm
Please fill in the above file before invoking the target.
Properties pertaining to MDM application server are read from <MDM_INSTALL_DIR>/properties/mdm_install.properties file.
Please note that the default queue names are used during configuration. The default queue names can be found in file <MDM_INSTALL_DIR>/properties/post_config.properties
Invocation:
- When the operating system is Windows:
- Go to <MDM_INSTALL_DIR>/mds/scripts
- Invoke madconfig switch_to_mq
- In other operating systems
- Go to <MDM_INSTALL_DIR>/mds/scripts
- Invoke ./madconfig.sh switch_to_mq
Tasks performed:
- Removes WEM related configuration from the application server on which MDM is installed.
- Configures the server to use WMQ by obtaining input from <MDM_INSTALL_DIR>/properties/post_config.properties
Logs:
Logs can be found at
- <MDM_INSTALL_DIR>/logs/madconfig/java
Available in:
- MDM v11.5
- MDM v11.6
UID
ibm11142056