Hi, I started using Traffic server recently for my graduate research. I want to use balancer plugin for my experiment. I configured traffic server with configure enable-experimental plugin option. I could see balance.so, hash.so and roundrobin.so files under /usr/local/libexec/trafficserver/ folder. I have set "proxy.config.plugin.plugin_dir" to the above folder. My remap.config contains: map http://px206.perk http://px206.perk \ @plugin=balancer.so @pparam=--policy=roundrobin, url @pparam=http://px205.perk:80 @pparam=http://py205.perk:80
I tested with hash policy too. I am getting connection refused error as below: root@px207:~# wget http://px206.perk:80/ --2016-03-09 13:35:43-- http://px206.perk/ Resolving px206.perk (px206.perk)... 10.0.101.6 Connecting to px206.perk (px206.perk)|10.0.101.6|:80... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. --2016-03-09 13:36:42-- (try: 2) http://px206.perk/ Connecting to px206.perk (px206.perk)|10.0.101.6|:80... failed: Connection refused. Resolving px206.perk (px206.perk)... 10.0.101.6 Connecting to px206.perk (px206.perk)|10.0.101.6|:80... failed: Connection refused. root@px207:~# My client is px207.perk. Proxy is running from px206.perk and I want to load balance between px205.perk and py205.perk. On both px205 and py205 apache2 is running. I am just trying to get index.html file. When I tested with reverse proxy configuration it worked for me for both origin servers. Am I missing something here. Kindly help me. Thanks Gandhimathi
