Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MQSeries in a HACMP environment

Status
Not open for further replies.

made13

MIS
Aug 13, 2003
15
GB
Our current environment consists of a two IBM 630's in a HACMP cluster. Each node hosts multiple applications which use MQSeries. We have 'mqm' as the userid for all the Queue Managers. During HACMP failover, the MQ shutdown script runs the ipcrm command to clear out queues, shared memory and semaphores owned by the 'mqm' userid.

We want to have the ability of moving an application/queue manager to the other node if need arises, without affecting the other queue managers on the node.

We can relate the shared memory segments to the PID's of the individual queue managers, but are unable to distinguish the semaphores owned by each queue manager.

This is causing a problem because killing all semaphores effectively shuts down all queue managers on the node. Is there a way around this problem?

We've thought about creating each queue manager by a unique userid, but the semaphores/shared memory is still owned by 'mqm'.
 
You could try using the AMQICLEN command to delete the IPC resources instead. I believe it taks a QMgr name as one of the parameters. Note that although it doesn't say so, you need to run it as root!

Cheers,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top