/etc/ltsp/lbsconfig.xml is in ltsp-cluster-lbserver 2.0.0-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?xml version="1.0"?>
<lbsconfig>
<lbservice listen="*:8008" max-threads="2" refresh-delay="60" returns="$IP"/>
<lbslave is-slave="false"/>
<mgmtservice enabled="true" listen="*:8001"/>
<nodes>
<group default="true" name="default">
<node address="http://ltsp-appserv01.yourdomain.com:8000" name="ltsp-appserv01"/>
</group>
</nodes>
<rules>
<variable name="LOADAVG" weight="50">
<rule capacity=".7"/>
</variable>
<variable name="NBX11SESS" weight="25">
<rule capacity="$CPUFREQ*$CPUCOUNT*$CPUCOUNT/120" critical="$CPUFREQ*$CPUCOUNT*$CPUCOUNT/100"/>
</variable>
<variable name="MEMUSED" weight="25">
<rule capacity="$MEMTOTAL-100000"/>
</variable>
</rules>
</lbsconfig>
|