[X2Go-Dev] X2Go Session Broker, now with load checker service

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Mon Mar 30 16:51:35 CEST 2015


Dear all,

within the last week I have been working on X2Go Session Broker a bit  
more, pushing it towards release 0.0.3.0.

One feature, that was still missing, was a means to perform load  
checks on associated load-balanced X2Go servers, so that a real "load"  
balancing could take place.

Until last week, server load was detected by only counting the number  
of running / suspended X2Go sessions. If you have users that are  
working hard on an X2Go server, then the number of sessions is a very  
inaccurate way of detecting server load.

So now, we count X2Go sessions plus detect a couple of server metrics  
(via a background daemon, aka x2gobroker-loadchecker). All gathered  
information will be combined into a load-factor. The load-factor and  
the number of running/suspended sessions, will decide on what host the  
next new X2Go session will be started.

Quick install for testing the new feature (from the nightly builds, of couse):

Debian:

   apt-get install x2gobroker # will update your x2gobroker packages
   apt-get install x2gobroker-loadchecker

-> make sure x2gobroker-loadchecker starts via your init system

   edit /etc/x2go/x2gobroker.conf, set use-load-checker for inifile  
broker backend

-> make sure, you have at least one session profile setup in  
/etc/x2go/broker/x2gobroker-sessionprofiles.conf that uses more than  
one host

-> make sure, that you use "broker-agent-query-mode = SSH" for this  
session profile.

-> for the fully-featured show, enable X2GOBROKER_DEBUG in  
/etc/x2go/broker/defaults.conf

Now watch /var/log/x2gobroker/loadchecker.log and  
/var/log/x2gobroker/broker.log for system load information.

I'd be happy to receive some test results within the next couple of  
days/2-weeks. The 0.0.3.0 release is heavily overdue and I would like  
to finalize this version by the beginning of April.

Thanks+Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150330/7fe1576f/attachment.pgp>


More information about the x2go-dev mailing list