Hello,
What is the status of load balancing in X2go?
Is it eventually an idea to use an load balancing system what is more generic? Someone experience with X2go?
I have contact with somebody who wants X2go as a terminal server for more then 100 users.
Is there commercial second-line support for X2go?
With regards, Paul van der Vlis
-- Paul van der Vlis Linux systeembeheer, Groningen http://www.vandervlis.nl
Hi Paul,
On Di 13 Sep 2011 11:19:38 CEST Paul van der Vlis wrote:
I have contact with somebody who wants X2go as a terminal server for more then 100 users.
Is there commercial second-line support for X2go?
I cannot speak for Heinz or Alex... So they have to reply by
themselves to the question. Speaking for myself: yes there is
commercial second-line support.
E.g.: The X2go TCE work I have contributed earlier this year was
sponsored by the Rohloff AG in Kassel, Germany. The contract type was
a mixture of consultancy and code development.
Basically, whatever is needed will be possible... Please contact me
privately and I will discuss your demands with Heinz and Alex to find
a solution for your end customer.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi again,
On Di 13 Sep 2011 11:19:38 CEST Paul van der Vlis wrote:
What is the status of load balancing in X2go?
Is it eventually an idea to use an load balancing system what is more generic? Someone experience with X2go?
X2go has load balancing included in x2goclient code. On possible
mechanism for load balancing is using LDAP. We currently do not offer
LDAP bootstrap utilities any more, though. And it is not documented in
the Wiki either. A real deficit that you digged out.
Tools for X2go http broker based load balancing are currently under
development, but not yet released for the public. This is all
x2goclient based, currently.
Python-X2go at the moment does not have any kind of load balancing
included. Once the http brokerage code is available for the community,
I will probably add the client part to python-x2go, so it will be able
to use pyhoca-gui, pyhoca-cli with load balancing or simply write your
own little X2go application that handles load balancing.
More generic load balancers (like DNS round robin etc.) may or may not
work, but personally, I do not think they will.
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Op 13-09-11 12:44, Mike Gabriel schreef:
Hi again,
On Di 13 Sep 2011 11:19:38 CEST Paul van der Vlis wrote:
What is the status of load balancing in X2go?
Is it eventually an idea to use an load balancing system what is more generic? Someone experience with X2go?
X2go has load balancing included in x2goclient code. On possible mechanism for load balancing is using LDAP. We currently do not offer LDAP bootstrap utilities any more, though. And it is not documented in the Wiki either. A real deficit that you digged out.
Do you think the older LDAP bootstrap utilities will still work?
Tools for X2go http broker based load balancing are currently under development, but not yet released for the public. This is all x2goclient based, currently.
What do you mean with "http broker based"? (I really don't understand what you mean) Who is working on it? Is it in git?
What do you know about bigger excisting installations? Are there installations with load balancing, eventually with an older version of X2go?
With regards, Paul.
-- Paul van der Vlis Linux systeembeheer, Groningen http://www.vandervlis.nl
On Wed, 2011-09-14 at 09:43 +0200, Paul van der Vlis wrote:
Op 13-09-11 12:44, Mike Gabriel schreef:
Hi again,
On Di 13 Sep 2011 11:19:38 CEST Paul van der Vlis wrote:
What is the status of load balancing in X2go?
Is it eventually an idea to use an load balancing system what is more generic? Someone experience with X2go?
X2go has load balancing included in x2goclient code. On possible mechanism for load balancing is using LDAP. We currently do not offer LDAP bootstrap utilities any more, though. And it is not documented in the Wiki either. A real deficit that you digged out.
Do you think the older LDAP bootstrap utilities will still work?
Tools for X2go http broker based load balancing are currently under development, but not yet released for the public. This is all x2goclient based, currently.
What do you mean with "http broker based"? (I really don't understand what you mean) Who is working on it? Is it in git?
What do you know about bigger excisting installations? Are there installations with load balancing, eventually with an older version of X2go?
With regards, Paul.
We are building that scale of environment. For better or worse, we have been so overrun with consulting work that we are way behind where we hoped to be in our X2Go build but we have taken a different approach.
We integrated X2Go and Linux-VServer. Each user has a dedicated system (great for things like non-repudiation) but the extra resource requirements are minimal. We then moved the x2gocleansession processing to the VServer host so there is only one daemon running every five seconds instead of hundreds.
We also adapted the database to use schemas - one per user, and triggers for coordinating individual user changes with the master database used by x2gocleansession and other reporting utilities we created. Thus, we have a single database for all those potentially hundreds of X2Go servers.
Finally, we adapted the x2go printing so that we could use a single CUPS server for all X2Go users and not have hundreds of instances of CUPS running.
So far it has scaled very nicely but I am way behind in seeing how we would make the same changes to 3.99 - John
Op 16-09-11 07:31, John A. Sullivan III schreef:
We are building that scale of environment. For better or worse, we have been so overrun with consulting work that we are way behind where we hoped to be in our X2Go build but we have taken a different approach.
We integrated X2Go and Linux-VServer. Each user has a dedicated system (great for things like non-repudiation) but the extra resource requirements are minimal.
Even with RAM? I think every user needs his own OpenOffice in RAM, so you need much more RAM this way. But maybe I'm wrong.
We have been thinking about using Linux containers. But we decide first to work with some shared virtual machines because we have more experience with that. http://lxc.sourceforge.net/
We then moved the x2gocleansession processing to the VServer host so there is only one daemon running every five seconds instead of hundreds.
We also adapted the database to use schemas - one per user, and triggers for coordinating individual user changes with the master database used by x2gocleansession and other reporting utilities we created. Thus, we have a single database for all those potentially hundreds of X2Go servers.
Finally, we adapted the x2go printing so that we could use a single CUPS server for all X2Go users and not have hundreds of instances of CUPS running.
So far it has scaled very nicely but I am way behind in seeing how we would make the same changes to 3.99 - John
Does every user have it's own IP on the server?
With regards, Paul.
-- Paul van der Vlis Linux systeembeheer, Groningen http://www.vandervlis.nl
Op 16-09-11 07:31, John A. Sullivan III schreef:
We are building that scale of environment. For better or worse, we have been so overrun with consulting work that we are way behind where we hoped to be in our X2Go build but we have taken a different approach.
We integrated X2Go and Linux-VServer. Each user has a dedicated system (great for things like non-repudiation) but the extra resource requirements are minimal.
Even with RAM? I think every user needs his own OpenOffice in RAM, so you need much more RAM this way. But maybe I'm wrong. Nope - with the impressive hashification feature of VServer there is only a single copy of the binary in memory. So if I have four hundred identical systems, I consume the disk space of one system and the memory footprint of one system (not quite realistic as it will have more binaries loaded than a single user would likely use but 300 users may have a single copy of OO in memory, 275 may have a single copy of Firefox, 50 a single copy of GIMP, etc., and the user data may consume considerably more than the binary (especially with massive Firefox memory leaks as we sometimes see).
We have been thinking about using Linux containers. But we decide first to work with some shared virtual machines because we have more experience with that. http://lxc.sourceforge.net/
We then moved the x2gocleansession processing to the VServer host so there is only one daemon running every five seconds instead of hundreds.
We also adapted the database to use schemas - one per user, and triggers for coordinating individual user changes with the master database used by x2gocleansession and other reporting utilities we created. Thus, we have a single database for all those potentially hundreds of X2Go servers.
Finally, we adapted the x2go printing so that we could use a single CUPS server for all X2Go users and not have hundreds of instances of CUPS running.
So far it has scaled very nicely but I am way behind in seeing how we would make the same changes to 3.99 - John
Does every user have it's own IP on the server? Each user has their own VM and thus their own IP and, since the VMs do not have root capability or system level privileges, they cannot change
On Mon, 2011-09-19 at 22:38 +0200, Paul van der Vlis wrote: their IPs (or do things like sniff packets). This works really nicely when we overlay Firepiping on the system (http://iscs.sourceforge.net) so that we can granularly restrict what packets users can send on the network to shut down any snooping or attempts at escalating privileges - John
With regards, Paul.
On Monday 19 September 2011 22:38:40 Paul van der Vlis wrote:
Op 16-09-11 07:31, John A. Sullivan III schreef:
We are building that scale of environment. For better or worse, we have been so overrun with consulting work that we are way behind where we hoped to be in our X2Go build but we have taken a different approach.
We integrated X2Go and Linux-VServer. Each user has a dedicated system (great for things like non-repudiation) but the extra resource requirements are minimal.
Even with RAM? I think every user needs his own OpenOffice in RAM, so you need much more RAM this way. But maybe I'm wrong.
Afaik shared libraries are not only shared by several apps without linking them static, they are also shared in memory when loaded. That only leaves the cache/render-space of openoffice/libre-office/chrom[e| ium]/firefox to take up lots of per-user memory.
Have fun,
Arnold