(Category) (Category) LON-CAPA User Help : (Category) Server System Administration :
How can I tell if load-balancing is working between the servers listed in /home/httpd/lonTabs/spare.tab?
Overload the machine and then try logging in. You should end up on a different machine.
This might be done (on a server which is not currently in production demand) by changing the server load parameter which, when exceeded, will trigger the attempt to use an alternate server.
To change the server load which will trigger load balancing to another server adjust the following parameter
 /etc/httpd/conf/loncapa.conf 
PerlSetVar lonLoadLim 2.00
2 is default, could be higher on a busy library server.
Set it low to test out load balancing.
(After changing tha loncapa.conf lonLoadLim parameter, you will need to restart httpd)
batchelo@sfu.ca
Subcategories:

Answers in this category:

[New Answer in " How can I tell if load-balancing is working between the servers listed in /home/httpd/lonTabs/spare.tab?"]
Previous: (Answer) New Item
Next: (Answer) How Transparent is Load-balancing to the users?
This document is: http://help.loncapa.org/cgi-bin/fom?file=332
[Search] [Appearance] [Show This Entire Category] [Show This Category As Text] [Show This Entire Category As Text]
This is a Faq-O-Matic 2.719.
This FAQ administered by the LON-CAPA team at MSU. Submit a help request ticket to contact us.