Question

I am developing a scaling app for RH Openshift. I plan to use three gears for the following purposes:
1) HAProxy and web cartridge
2) MySQL 5.1 database
3) Background process (Celery)

I have already setup the first two gears by creating a scalable app, and adding the MySQL database cartridge. How can I assign the last gear to run Celery?

Was it helpful?

Solution

rhc cartridge-add https://raw.github.com/tresbailey/openshift-celery-cartridge/master/metadata/manifest.yml -a <appname>

I have not tested this cartridge, it's just one i found when searching for "openshift celery cartridge", but I can verify that it installs on it's own gear in a scaled application. You can run rhc app show <appname> --gears to verify how many gears your application is using, and what cartridges each is running (both before and after installing the above cartridge)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top