Ensure that you set the following Global Data Synchronization feature
parameters.
Procedure
- Open the
env_settings.ini
file, and go to the [gds]
section.
- Set the following parameters:
- enabled
- Set this parameter to either yes or no value. If you
want to enable GDS, set to yes. The default is no.
- company_code
- Set this parameter to the company code for which you want to load the GDS data model.
- gds_app_type
- Set this parameter to either Demand or Supply
value.
- ACTIVE_DATA_POOL_ID
- Set this parameter to either Transora or WWREV6.
- inbound_queue_name
- Enter the name of the IBM® MQ inbound queue
from where the listener of the Global Data Synchronization feature of IBM Product Master reads XML messages.
- outbound_queue_name
- Enter the name of the IBM MQ outbound queue
where the Global Data Synchronization feature of IBM Product Master posts or pushes XML messages.
- queue_connection_factory
- Enter the name of the IBM MQ queue connection
factory.
- datapool_gln
- Enter the GLN of the data pool with which the Global Data Synchronization feature of Product Master is supposed to exchange XML
messages.
- self_gln
- Enter the GLN of your organization. You need to populate this parameter only if your
organization is a retailer type of organization (gds_app_type=Demand).
- Because many functions in Global Data Synchronization have dependencies on the services
that are provided by IBM MQ, set the following
parameters in the [mq] section:
- enabled
- To enable the support for functions that have dependencies on the IBM MQ, set to yes.
- home
- The installation directory of the IBM MQ client.
- mq_security
- Set this parameter to either true or false. If you
want to enable IBM MQ security, set the value to
true. The default is false.
- username
- Enter the user name that has access to the IBM MQ.
If IBM MQ security is set to true,
you need to provide a user.
- password
- Enter the password. If IBM MQ security is set to
true and encrypt_password is set to
false, you need to provide the password.
- encrypt_password
- If you want the password to be encrypted, set the value to yes. Remove the
value from the password parameter. The default is no.
- Save and close the
env_settings.ini
file.
- If you are using WebSphere® Application Server
as your application server, you must complete these configuration steps for the IBM MQ .jar files.
- Change directories to the
<install_dir>/jars directory.
- Create the following three soft links, replacing WAS_HOME with the
home directory for WebSphere Application Server and
DEFAULT_APPSVR with the name of the default application server:
- ln -s
<WAS_HOME>/profiles/<DEFAULT_APPSVR>/installedConnectors/wmq.jmsra.rar/com.ibm.mq.jar
com.ibm.mq.jar
- ln -s
<WAS_HOME>/profiles/<DEFAULT_APPSVR>/installedConnectors/wmq.jmsra.rar/com.ibm.mqjms.jar
com.ibm.mqjms.jar
- ln -s
<WAS_HOME>/profiles/<DEFAULT_APPSVR>/installedConnectors/wmq.jmsra.rar/dhbcore.jar
dhbcore.jar
- Run the bin/configureEnv.sh script to update the class
path.
Example
Examples for the different sections of the env_settings.ini
file:
services
section
[services]
admin=admin
eventprocessor=eventprocessor
queuemanager=queuemanager
scheduler=scheduler
workflowengine=workflowengine
mq
section
[mq]
enabled=yes
home=/opt/mqm
mq_security=false
username=root
password=pwd
encrypt_password=no