Hi,

maybe someone of you also uses Heartbeat with MQ Series and can answer my Question.

my DRBD / Heartbeat failover configuration seems to work now.ip and drbd device (with qmgr and log dir on it) switch correct if one server failes.

But i also want heartbeat to start the QMGR that was running on the failing maschine on the failover Server.

i tried somthing like this

haresources:

HOSTNAME 10.10.121.130 drbddisk::drbd0 Filesystem::/dev/drbd0::/mountpoint::ext3 mqm

where mqm is:

/etc/ha.d/resource.d/mqm:

#!/bin/bash
su - mqm<< EOF
/usr/bin/strmqm TEST.QUEUE.MANAGER
EOF

this should start the QMGR at startup and after failover on the new maschine but its not working correct and throws several error message especially at failover (maybe because the QMGR start before my drbd device is fully available).

how do you do the mq failover with heartbeat?

thanks in advanced.

regards
Sebastian

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to