Welcome to the Linux Foundation Forum!

Web Server Balancer Configuration

I'm confused by the modules required for a load balancer.

* mod_proxy_balancer and one of the load balancing scheduling modules:
- mod_libmethod_byrequests (request counting)
- mod_ibmethod_traffic (weighted traffic counting)
- mod_libmethod_bybusyness (pending request counting)
- mod_ibmethod_heartbeat (heartbeat traffic counting)

Some of the above refer to mod_lib and some to mod_ib -- typos?

Further in the configuration example is what appears to be "lbmethod" ("LBmethod" -- load balancing):

ProxySet lbmethod=byrequests # balancer setting, round-robin

Also, my a2enmod tab-auto-complete isn't helping me find any related modules except proxy_balancer.

How do I enable the other required load balancing scheduling modules?

Oh...

Having re-read my post in editing, I see the "LBMETHOD" is correct and all "LIBmethod" and "IBmethod" are typos.

I have the 4 options of load balancing method modules:

lbmethod_bybusyness
lbmethod_byrequests
lbmethod_bytraffic
lbmethod_heartbeat

Interesting that no one seems to have noticed this before.

Perhaps an update to material is justified?

Thanks.

Comments

  • fcioanca
    fcioanca Posts: 2,020

    We have corrected the typos. Thank you for pointing them out.

  • lee42x
    lee42x Posts: 380

    Thank you for the input. I think the spell checker caused the change from "lbmethod" to "libmethod" on page 208 "Web Server Balancer Configuration" , this will be corrected.

    Can you please post the page number for the 'ibmethod" you found.

    There can only one load balance per proxy stanza. If you have multiple Virtual Webservers, they could have different load balance configurations.

    I have been unable to dupicate a problem with autocompletion using the "a2enmod command on Ubuntu 20.04.

  • fcioanca
    fcioanca Posts: 2,020

    @lee42x The "ibmethod" typo was in the elearning course on the "Web Server Balancer Configuration" page, and it has been corrected.

  • Thank you @fcioanca and @lee42x, for correcting this.

Categories

Upcoming Training