From mike.gabriel@das-netzwerkteam.de  Mon Jan 15 22:36:12 2024
Received: (at 1318) by bugs.x2go.org; 15 Jan 2024 21:36:16 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 5C2FF5DAD6
	for <1318@bugs.x2go.org>; Mon, 15 Jan 2024 22:36:12 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105])
	by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 4BD6E6042C
	for <1318@bugs.x2go.org>; Mon, 15 Jan 2024 21:36:12 +0000 (UTC)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 2E3FEC0130
	for <1318@bugs.x2go.org>; Mon, 15 Jan 2024 22:36:12 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de;
	s=dkim; t=1705354572;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=4GVhHVAWJU0jvKDccU/dM9d5aRQDWPNaGysergeVKSU=;
	b=v5vWSbiQSTFLfj6tOhzCbd/sGZyVHhGomVGx0mAudYX78D89yHyVlc3eAIIPo5tu87i8AB
	gLEg3SO4ik3x6NLITOO7iUWlM3VhDUVg8EpGxlWQb1FnF7MbLlK72zp+ZJzyx4XI68jEEe
	IYmmUPmN6tXclallbhgf3ljoFmFZ44SXdozkG18eFetZJFfilMWOS0tFt+qRVHa4CK0S43
	G2SwFvlKv2nTWF7B3LaTVlglZXpEebCDOK3ytDWeXIu1OkCn0svQUTNsRbtR1FLFsis/fU
	Hw7pw71Cq5ywD1Gx0UsZrB1UKNfNQ0tz8pzTQz5iWgQJoyWPYsPH5hKFXeBSmztEH0fnzq
	rB3EONvGnoe4iMcRAcdWuKvkAKZvAEBCdLFyQzJG1nc+Bc9OVRzhNBFU0ZdaYLZ5xGRNxY
	CE1Pwv/pG8OmmfUejS0uJ57z3SeLG2d1qlaf3ZGL8IICchq/x6CjlaxNK7vvBQZJxgI1/C
	4sfLnux/tkD1QIz8eeLoAYyMEuz7OJ3DQDHk1+FxBfex+v/ogRCS1C5dUPAlxL+vuqxreh
	0A4yLpRkTdLGuZOc6V3hUiDU7iZqvOBiJELPaFlb5UsZoXmPVWgUbe16dGkXVoYKlOuBAD
	BB3N13zAz1kbsYmDV8Ot1D8VCvEAZuAJXpkBafbXYEnly2YznP05Y=
Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTPS; Mon, 15 Jan 2024 21:36:12 +0000
Date: Mon, 15 Jan 2024 21:36:12 +0000
Message-ID: <20240115213612.Horde.uJhcIb-uek8PiCHPpXZ97CJ@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 1318@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1318: x2gobroker : maintenance mode
References: <1645395177.4011470.1534160988289.JavaMail.root@servicemagic.eu>
 <1674651030.4011736.1534161016401.JavaMail.root@servicemagic.eu>
In-Reply-To: <1674651030.4011736.1534161016401.JavaMail.root@servicemagic.eu>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 153.92.39.241
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/120.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_G9ayvP13PB9YjHSi7tkioUm";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_G9ayvP13PB9YjHSi7tkioUm
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: close -1

On  Mo 13 Aug 2018 13:50:16 CEST, Walid MOGHRABI wrote:

> package: x2gobroker
> version: 0.0.4.0-0~1038~ubuntu16.04.1
> priority: enhancement
>
>
>
> In case of trouble, this is sometimes needed to block any new=20=20
>=20incoming connection to the broker (the broker itself, not the x2go=20=
=20
>=20server).
> For example, lately I did a stupid thing by mistake, I shut down a=20=20
>=20whole X2Go servers chassis (16 servers at the same time) so 2/3 of=20=
=20
>=20my users were kicked off the platform.
> Problem is that they tried to reconnect before I could restart those=20=
=20
>=20servers and thus, the broker did his job and sent them to the=20=20
>=20remaining servers except that they are 2 times less so they couldn't=20=
=20
>=20handle that much people at the same time.
> We lost precious time by asking people to throttle their connecions=20=20
>=20and wait for the platform to be ready.
>
>
> Would be great to have a "maintenance mode" option in the=20=20
>=20x2gobroker-sessionprfiles.conf (or even globally on the=20=20
>=20x2gobroker.conf), just a switch with a message you can activate so=20=
=20
>=20that, in case of trouble, with this switch enabled, users trying to=20=
=20
>=20connect would get a message from the broker saying it is in a=20=20
>=20maintenance mode and they should try again later.
> ---
> DISCLAIMER: This e-mail is private and confidential and may contain=20=20
>=20proprietary or legally privileged information. It is for the=20=20
>=20intended recipient only. If you have received this email in error,=20=
=20
>=20please notify the author by replying to it and then destroy it. If=20=
=20
>=20you are not the intended recipient you must not use, disclose,=20=20
>=20distribute, copy, print or rely on this e-mail or any attachment.=20=20
>=20Thank you

Migrated to X2Go GitLab's issue tracker as:
https://gitlab.x2go.org/x2go/broker/x2gobroker/-/issues/2

Closing the issue here, discussion continues over at GitLab.

Mike
--=20

DAS-NETZWERKTEAM
c\o=20Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de


--=_G9ayvP13PB9YjHSi7tkioUm
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWlpUoACgkQmvRrMCV3
GzFZbA/9GjCXJtVcenfXbIh1wi4IP/HfMJbGV3WP84kEnhXK63iTubPptd8taV+j
oWz+69ZCQHMnUA3hdGPqcZLdu8fbEYa7JW6VfR+K6fpRcjN+uTK5A5jR5GzhXxgj
nzpFI4qiq5SxSVNhmV+0uNz1bDUIiHsTCgVJqUdb03LIeMQ2lNCqqzDMa9ttIb5b
WvtUrHbQxXWYKs64AG6y7a2vaByX6iYUT/hmHg8zLUOdr3lSih44radYBORD6ZL6
crSBR4xW60h41ughC1Qjoyn+ViXakmeV7NKkMHKX83bImZ6+M/L8wyK/01kvRJec
TJkkcwegzjJNjKmY6D27x9bdBnQPTrdzZdUivbZ8ADFUK/Vm4f67vVOhH89808pE
zBQKSPXjLCsUw468UiPkSykNV43iDQcgaVkGIJYywhELuuvMHmyWdqwcNoHKnwh3
fFe15GvxrA4W4T1KwY839WzeQdka8KmqBCCsxFgx6SIBslSzmt1QRIy4Xft+ADOs
RjBQIHBKyznOkeyK1lXuoNqNxDcvplLvsPLpf9GJTPshRrtggOIhfgh7FEOSGqSR
VLPPXGG76lsLvsWdCauz9XYHUjrsuMfqpjsUqokrgVdMhPtlP30+a4sMcHjYU/tZ
hozZ1JqFqnezR/shjfqsGOhTCt0iE5Q2xO3rYKNHt7tsCkUipM0=
=NwQ7
-----END PGP SIGNATURE-----

--=_G9ayvP13PB9YjHSi7tkioUm--

