How to configure FunkLoad monitor in two servers?
Hi, Im Witold.
I have a small problem. How to configure monitor and run?!
Now ,I try use this configuration - but this is not work. Can I count on help?
I have two servers:
- Imitation server clients (184.108.40.206)
- A server application (220.127.116.11)
In server 1 file is configuration (18.104.22.168):
[monitor] hosts=22.214.171.124 [126.96.36.199] port=8008 description=Description my test
and run test:
fl-run-bench -c 1:2 -D 5 test_TestDjangoORM.py TestDjangoORM.test_django_select1
This is file monitor.conf in server 2 (188.8.131.52):
[server] host = 184.108.40.206 port = 8008 interval = .5 interface = eth0 [client] host = localhost port = 8008
and run monitor:
fl-monitor-ctl monitor.conf start
But this is not work.. :/ PS. Testing servers OS is Debian 7.0
You need :
a monitor.conf file for each server that you want to monitor,
to bind host and port to something that is reachable from the bencher
to run the fl-monitor-ctl command on each hosts
to setup the bencher configuration to point to a list of monitored hosts:
[monitor] hosts=220.127.116.11 18.104.22.168 [22.214.171.124] port=8008 description=My first server [126.96.36.199] port=8008 description=My second server
Then run the bench