ActiveMQ
From Wikitech
Revision as of 17:46, 11 October 2011 by Tomasz Finc (Talk | contribs)
Were adding ActiveMQ as part of our 2009 Fundraiser architecture. It will stand between civicrm and our operational cluster running the Donation Gateway extension providing a new payment gateway.
It's currently living on erzurumi within our private pmtpa.wmnet network.
Contents |
Software
Currently were running ActiveMQ 5.4.1 for our installation. The software needs to be pupitized but in the interm is located in /usr/local/apache-activemq sym linked to the current version. The configuration is located in /etc/activemq.conf.
Connectors
<transportConnector name="openwire" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> <transportConnector name="ssl" uri="ssl://localhost:61617"/> <transportConnector name="stomp" uri="stomp://localhost:61613"/> <transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
Start/Stop
/etc/init.d/activemq {start|stop}
note: if stop doesn't work then just killall java
Escalation
Activity
Check /var/log/activemq.log for what's going on.
or
- Log into any wikimedia cluster machine. ex. ssh tfinc@fenari.wikimedia.org -L 4000:erzurumi.pmtpa.wmnet:8161
- Load http://localhost:4000/admin/queues.jsp
=
Monitoring
Nagios is setup to check both the stomp protocal and ssh.