Why and when to perform this task
If you are creating a WebSphere cluster setup of process choreographer using a WebSphere MQ cluster, you must create the queue managers, queues, cluster, repositories, channels, and listeners.Steps for this task
cd install_root/ProcessChoreographer createQueues.sh getQueueManager clusterName putQueueManagerName
where:
If the queue managers already exist they are used. If the queue managers do not exist they are created and used.
runmqsc getQueueManager
DEFINE CHANNEL('SYSTEM.ADMIN.SVRCONN') TYPE(CHLTYPE)
ALTER QMGR REPOS('clusterName') REPOSNL(' ')
DEFINE CHANNEL('TO.repositoryQueueManager.TCP') + CHLTYPE(CLUSRCVR) + CLUSTER('clusterName') + CLUSNL(' ') + CONNAME('repositoryIP-Address(port)') + DESCR('Cluster receiver channel at repositoryQueueManager TCPIP') + MAXMSGL(4194304) + TRPTYPE(TCP) + MCAUSER('principal') + REPLACE
For each cluster sender channel:
DEFINE CHANNEL('TO.repositoryQueueManager.TCP') + CHLTYPE(CLUSSDR) + CONNAME('repositoryIP-Address(port)') + CLUSTER('clusterName') + CLUSNL(' ') + DESCR('Cluster sender channel to repositoryQueueManager TCPIP') + MAXMSGL(4194304) + TRPTYPE(TCP) + MCAUSER('targetPrincipal') + REPLACE + NPMSPEED (NORMAL)
where:
runmqlsr -t tcp -p port -m QueueManager
cd install_root\ProcessChoreographer createQueues.bat queueManager clusterName putQueueManager
where:
If the queues already exist they are used. If the queues do not exist, they are created and used.
runmqsc queueManager
DEFINE CHANNEL('SYSTEM.ADMIN.SVRCONN') TYPE(CHLTYPE)
ALTER QMGR REPOS('clusterName') REPOSNL(' ')
DEFINE CHANNEL('TO.repositoryQueueManager.TCP') + CHLTYPE(CLUSRCVR) + CLUSTER('clusterName') + CLUSNL(' ') + CONNAME('repositoryIP-Address(port)') + DESCR('Cluster receiver channel at repositoryQueueManager TCPIP') + MAXMSGL(4194304) + TRPTYPE(TCP) + MCAUSER('principal') + REPLACE
For each cluster sender channel:
DEFINE CHANNEL('TO.repositoryQueueManager.TCP') + CHLTYPE(CLUSSDR) + CONNAME('repositoryIP-Address(port)') + CLUSTER('clusterName') + CLUSNL(' ') + DESCR('Cluster sender channel to repositoryQueueManager TCPIP') + MAXMSGL(4194304) + TRPTYPE(TCP) + MCAUSER('principal') + REPLACE + NPMSPEED (NORMAL)
where:
runmqlsr -t tcp -p port -m QueueManager
display chstatus(*)
Results
The queue manager, queues, cluster, repositories, channels, and listeners exist.