LON-CAPA User Help: How can I tell if load-balancing is working between the servers listed in /home/httpd/lonTabs/spare.tab?
LON-CAPA User Help : 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:
+
This document is at: http://help.loncapa.org/cgi-bin/fom?file=332
Generated by FAQ-O-Matic 2.719,
available at http://faqomatic.sourceforge.net/