<div dir="ltr">Why not introduce a datastore which holds the current state of all the servers in the server farm? Then the broker could query that one for information to choose server from.<div>One could either use a separate database server for this or use something like sqlite (or mysql / postgresql / other) on each server host with some sort of replication (redundancy and avoids the need to contact one specific server - all can reply to the queries) or caching of the central datastore contents.</div><div><br></div><div>On how to update this information in the datastore there's two ways I'm thinking of right now:</div><div>1. Each server in the server farm writes to the datastore it's current status at regular intervals</div><div>2. One, or several (backup role if the "master" should fail) server(s) have been given the responsibility to query the servers in the farm for their status at regular intervals</div><div><br></div><div>Regardless of the chosen implementation from one of those solutions would IMO:</div><div>* Make the broker-role easier to implement with regard to "advanced" setups</div><div>* Removes the wait for / time issue at connection, or selection, process - just contact the datastore</div><div>* Makes it possible to write a simple and central management app/webapp which one could administer the entire server farm</div><div>* other possibilites</div><div><br></div><div>Regards,</div><div>Terje</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-08 14:06 GMT+01:00 Sergey Savko <span dir="ltr"><<a href="mailto:savko@tophouse.ru" target="_blank">savko@tophouse.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you make a x2goclient connection to each farm server, then time will be increased by seconds for such connection.<br>
And if the server farm consist of more then 2-3 servers, then connection time will increase strongly.<br>
<br>
----- Исходное сообщение -----<br>
<span class="im HOEnZb">>Plus, I still think, that X2Go Client should request another machine,<br>
>if the provided server was offline and more than one server is<br>
>configured in the broker's session profile.<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
x2go-dev mailing list<br>
<a href="mailto:x2go-dev@lists.x2go.org">x2go-dev@lists.x2go.org</a><br>
<a href="http://lists.x2go.org/listinfo/x2go-dev" target="_blank">http://lists.x2go.org/listinfo/x2go-dev</a></div></div></blockquote></div><br></div>