Openshift cartridge providing the RabbitMQ message broker. It does not yet support clustered setups, but ought to work in a scaled application.
This cartridge depends on Erlang being installed in the system. The reason is that the runtime environment is a bit too big to be possible to build or install as a cartridge without timeouts.
Ask your Openshift administrator to run this:
yum install erlang
On RHEL-based systems the EPEL repository must first be added: http://fedoraproject.org/wiki/EPEL/FAQ#howtouse
Add the cartridge from github:
rhc cartridge add https://raw.github.com/commonsmachinery/openshift-rabbitmq-cart/master/metadata/manifest.yml -a MY_APP
These are relevant to applications and other gears:
OPENSHIFT_RABBITMQ_URI
: Fullamqp:
URI, which is probably the only of these variables that you need to use.OPENSHIFT_RABBITMQ_BROKER_HOST
: Hostname or IP of the brokerOPENSHIFT_RABBITMQ_BROKER_PORT
: Port the broker is listening onOPENSHIFT_RABBITMQ_USERNAME
: Admin account usernameOPENSHIFT_RABBITMQ_PASSWORD
: Admin account password