trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Balancer module

Open taojishou opened this issue 4 years ago • 6 comments

Is there no balancer module in version 9.0.x?
how to realize load balancing now

taojishou avatar Jun 28 '21 05:06 taojishou

The plugin is in our 8.1.x tree. We deprecated it because the parent configuration can handle the scenario.

bryancall avatar Jun 28 '21 23:06 bryancall

if use parent configuration , how to set the remap configure?

taojishou avatar Jun 29 '21 01:06 taojishou

We configured the parent cache, now there's a 502 error
remap.config map http://test.ole.com/ http://t.ole.com/ parent.config dest_domain=t.ole.com method=get parent="217.182.197.203:80" round_robin=stric

taojishou avatar Jun 30 '21 06:06 taojishou

@rob05c can you help with setting up parent config?

bryancall avatar Jul 08 '22 15:07 bryancall

@taojishou are you still having an issue with this?

bryancall avatar Jul 08 '22 15:07 bryancall

  • can you show a curl to your parent with both the t.ole.com and the test.ole.com host: headers? eg, like curl -sIXGET --resolve t.ole.com:80:217.182.197.203 "http://t.ole.com" and curl -sIXGET --resolve test.ole.com:80:217.182.197.203 "http://test.ole.com"

For what its worth, the way we use parents is like Child: remap: map http://inbound.example.com http://inbound.example.com parent.config: dest_domain= inbound.example.com scheme=http parent="machine.hostname:80" go_direct=false round_robin=consistent_hash Parent: remap: map http://inbound.example.com http://origin.example.com (and use conf_remap to set/unset proxy.config.url_remap.pristine_host_hdr

mlibbey avatar Jul 08 '22 15:07 mlibbey

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

github-actions[bot] avatar Jul 09 '23 02:07 github-actions[bot]