How To Install And Use Oood
Multi-Oood is a proxy dispatching requests to a number of oood's. You can run some oood's with multi-oood. When you request multi-oood it will check witch oood is free and return results from them.
Installation
Requirements
- python
running oood
Check it out from svn at:
https://svn.erp5.org/repos/public/erp5/trunk/utils/multi-oood
Configuration
Edit moood.conf - most of entries are self-explanatory or described in the file. In [ooods] section add your ooods.
Running
Starting up
The manual way to run it in the foreground is:
cd /var/lib/moood ./moood.py --start
To stop multi-oood:
./moood.py --stop
Monitoring
Do:
./moood.py --status
to see if multi-oood is running. In example:
[adam@localhost moood]$ ./moood.py --state Multi-Oood is running.
Do:
watch "./moood.py --show-ooods"
to have some current information about ooods. In example:
[adam@localhost moood]$ ./moood.py --show-ooods erp5 available (busy) erp5-1 available (free) erp5-2 unavailable erp5-3 unavailable erp5-4 unavailable localhost available (free) localhost-1 available (free) localhost-2 unavailable localhost-3 unavailable localhost-4 unavailable
Testing
To test multi-oood you should use oood tests with --port= and --host= parametr.