Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
manuals:bachelorservers [2020/02/17 11:12] – [Which bach(elor) server to connect to] venemans | manuals:bachelorservers [2020/03/25 12:41] – deul |
---|
* bach2.strw.leidenuniv.nl | * bach2.strw.leidenuniv.nl |
* bach3.strw.leidenuniv.nl | * bach3.strw.leidenuniv.nl |
As the servers are shared by many students, it is best to spread the load between the three servers. Before connecting (see below), one can look which machine has the most resources (free CPUs, memory, disk space) available by going to [[http://bachload.strw.leidenuniv.nl|this webpage]] (**NOT YET ACTIVE**). Note that there is a //fair use// policy in place, meaning that there are no hard limits on how much resources a single user or project can use. However, excessive use will be monitored, and limits may be put in place if excessive use leads to problems for other users. If large shares of resources are required for your project, please discuss this with your supervisor **and** the [[helpdesk@strw.leidenuniv.nl|Leiden Observatory IT department]]. | As the servers are shared by many students, it is best to spread the load between the three servers. Before connecting (see below), one can look which machine has the most resources (free CPUs, memory, disk space) available by going to [[http://bachload.strw.leidenuniv.nl|this webpage]] (log in with your STRW account). Note that there is a //fair use// policy in place, meaning that there are no hard limits on how much resources a single user or project can use. However, excessive use will be monitored, and limits may be put in place if excessive use leads to problems for other users. If large shares of resources are required for your project, please discuss this with your supervisor **and** the [[helpdesk@strw.leidenuniv.nl|Leiden Observatory IT department]]. |
| |
| |
followed by entering your password. The ''ssh'' command is available in the shell terminal / command prompt for most Windows, MacOS and Linux versions by default. An ''ssh'' connection to the bach servers can be set up both from inside and outside Leiden Observatory, and provides a text-based Linux shell from which commands can be issued. This does not allow for starting any programs with a graphical user interface (GUI). If your own computer is running X-server software (typically the case for MacOS and Linux), a connection which supports GUIs can be started as follows, e.g.: | followed by entering your password. The ''ssh'' command is available in the shell terminal / command prompt for most Windows, MacOS and Linux versions by default. An ''ssh'' connection to the bach servers can be set up both from inside and outside Leiden Observatory, and provides a text-based Linux shell from which commands can be issued. This does not allow for starting any programs with a graphical user interface (GUI). If your own computer is running X-server software (typically the case for MacOS and Linux), a connection which supports GUIs can be started as follows, e.g.: |
<code> | <code> |
ssh -X jklaassen@bach1.strw.leidenuniv.nl | ssh -XC jklaassen@bach1.strw.leidenuniv.nl |
</code> | </code> |
| The ''%%C%%'' option enables compression which will greatly help interactive graphica work. |
| |
The major disadvantage of the approach given above is that any interruption in the connection between your computer and the server, either intentionally or unintentionally, will permanently break the communication between your computer and the software that you started up. Below we describe two solutions to this problem, first a text-based solution using ''screen'' and then a GUI-based solution using ''xrdp''. | The major disadvantage of the approach given above is that any interruption in the connection between your computer and the server, either intentionally or unintentionally, will permanently break the communication between your computer and the software that you started up. Below we describe two solutions to this problem, first a text-based solution using ''screen'' and then a GUI-based solution using ''xrdp''. |
| |