Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set load balancing ratio in MetaFram 1.1 for UNIX

Status
Not open for further replies.

charwong

Programmer
Apr 11, 2002
8
HK
We are currently configured two servers for load balancing. As in MetaFrame 1.8 For Windows, load balancing factor can be set. I wonder how we can do the same in the UNIX version. Thanks for helping.
 
As with MF 1.8, you need a load-balancing license, and also as with MF 1.8, the load balancing factor is a number between 1 - 10000. The default is 100.

Remember to stop the ICA daemon before making these tweaks, by using ctxsrv stop browser, and restarting it afterwards.

With ctxcfg, use -l to limit the number of users permitted on the server, and -k loadfactor to adjust the load factor.

Normally you'd only want to do this if one or more servers are significantly more underpowered than the rest, or one or more servers have a heavier load due to users' specific application requirements.

Use ctxcfg -g | grep loadfactor to view the existing load factor (and prove your tweaks are set).

To display the load for a particular server or application, use ctxqserver -app [application-name | server-name]

I hope this helps CitrixEngineer@yahoo.co.uk
 
Thanks.
What does the load factor mean?
If I want to set, for example, one server receive all the connection and the other one does not. What should I set?

We will implement this in the production server and contigency server.
 
As far as I understand it, the load factor is just a number from 1 - 10000. 1 being low load. By setting the load to 10000 you will have that machine marked as having full load, and connections will not occur to that server. There are a couple of special numbers, which I think are in the admin guide.

I would guess that you could do it either way; you could either set a high load factor on one server to prevent connections, or you could set users to 0.

Try these settings on your contingency server first ;-)

I hope this helps.
CitrixEngineer@yahoo.co.uk
 
Thanks.

Whenever I set the load factor to 1 or 10000, the load of that server is 0 when there is no connection made to that (as seen by ctxqserver -app).

If I set the factor to 1, the load will be 10000 when there is one connection made to.

And minimum value of maximum connection is 1. I can't prevent connection to the server.

Please help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top