Difference between revisions of "NEMO/Login"

From bwHPC Wiki
Jump to: navigation, search
m
m
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
{|style="background:#deffee; width:100%;"
= Login =
 
  +
|style="padding:5px; background:#cef2e0; text-align:left"|
  +
[[Image:Attention.svg|center|25px]]
  +
|style="padding:5px; background:#cef2e0; text-align:left"|
  +
Access to NEMO is '''limited to IP addresses from the BelWü network'''.
  +
All home institutions of our current users are connected to BelWü, so if you are on your campus network (e.g. in your office or on the campus WiFi) you should be able to connect to NEMO without restrictions.
  +
If you are outside one of the BelWü networks (e.g. at home), a VPN connection to the home institution or a connection to an SSH jump host at the home institution must be established first.
  +
|}
   
  +
The login nodes of the bwHPC clusters are the access point to the compute system, your <code>$HOME</code> directory and your workspaces.
After registration (registration procedure at [[bwForCluster User Access]], the bwForCluster NEMO can be accessed via a Secure Shell like <tt>ssh</tt> on Linux and Mac or <tt>PuTTY</tt> on Windows systems.
 
  +
All users must log in through these nodes to submit jobs to the cluster.
   
  +
'''Prerequisites for successful login:'''
From linux machines, you can log in using
 
   
  +
You need to have
ssh <UserID>@login1.nemo.uni-freiburg.de
 
  +
* completed the 3-step [[registration]] procedure.
ssh <UserID>@login2.nemo.uni-freiburg.de
 
  +
* [[Registration/Password|set a service password]] for NEMO.
   
To run graphical applications, you can use the -X or -Y flag to openssh:
 
   
  +
= Login to bwForCluster NEMO =
ssh -Y -l <UserID> login1.nemo.uni-freiburg.de
 
ssh -Y -l <UserID> login2.nemo.uni-freiburg.de
 
   
  +
Login to bwForCluster NEMO is only possible with a Secure Shell (SSH) client for which you must know your username on the cluster and the hostname of the login nodes.
For better performance on slow connections you should use e.g. [[VNC]].
 
  +
For more general information on SSH clients, visit the [[Registration/Login/Client|SSH clients Guide]].
   
  +
== Username ==
   
  +
If you want to use the NEMO cluster you need to add a prefix to your local username.
== About UserID / Username ==
 
  +
For prefixes please refer to the [[Registration/Login/Username|'''Username Wiki''']].
   
  +
Example:<br/>
<UserID> of the ssh command is a placeholder for your username at your home organization and a prefix denoting your organization. Prefixes and resulting user names are as follows:
 
  +
* If your local username for the University is <code>vwxyz1234</code> and you are a user from the University of Freiburg this would combine to: <code>fr_vwxyz1234</code>.
   
  +
{| style="border:3px solid darkgray; margin: 5em auto 5em auto;" width="60%"
 
  +
== Hostnames ==
|-
 
  +
!scope="row" {{Darkgray}} | Site
 
  +
The system has two login nodes.
!scope="row" {{Darkgray}}| Prefix
 
  +
You have to select the login node yourself.
!scope="row" {{Darkgray}}| Username
 
  +
  +
{| class="wikitable"
  +
! Hostname !! Node type
 
|-
 
|-
  +
| '''login.nemo.uni-freiburg.de''' || NEMO first login node alias
| Freiburg
 
| fr
 
| fr_username
 
 
|-
 
|-
  +
| '''login1.nemo.uni-freiburg.de''' || NEMO first login node
|Heidelberg
 
|hd
 
|hd_username
 
 
|-
 
|-
  +
| '''login2.nemo.uni-freiburg.de''' || NEMO second login node
|Hohenheim
 
|ho
 
|ho_username
 
 
|-
 
|-
|Karlsruhe
 
|ka
 
|ka_username
 
|-
 
|Konstanz
 
|kn
 
|kn_username
 
|-
 
|Mannheim
 
|ma
 
|ma_username
 
|-
 
|Stuttgart
 
|st
 
|st_username
 
|-
 
|Tübingen
 
|tu
 
|tu_username
 
|-
 
|Ulm
 
|ul
 
|ul_username
 
 
|}
 
|}
   
== Allowed activities on login nodes ==
 
   
  +
== Login with SSH command (Linux, Mac, Windows) ==
The login nodes are the access point to the compute system and its $HOME directory. The login nodes are shared with all the users of the cluster. Therefore, your activities on the login nodes are limited to primarily set up your batch jobs. Your activities may also be:
 
* compilation of your program code and
 
* short pre- and postprocessing of your batch jobs.
 
   
  +
Most Unix and Unix-like operating systems like Linux, Mac OS and *BSD come with a built-in SSH client provided by the OpenSSH project.
To guarantee usability for all the users of the bwForCluster you must not run your compute jobs on the login nodes. Compute jobs must be submitted as [[Batch Jobs]]. Any compute job running on the login nodes will be terminated without any notice.
 
  +
More recent versions of Windows 10 and Windows 11 using the [https://docs.microsoft.com/en-us/windows/wsl/install Windows Subsystem for Linux] (WSL) also come with a built-in OpenSSH client.
   
  +
For login use one of the following ssh commands:
= Password Reset =
 
   
  +
ssh <username>@login.nemo.uni-freiburg.de
If you forgot your password for the bwForCluster NEMO you can set a new one on the [https://bwservices.uni-freiburg.de NEMO service page]. Just use the link in the "bwForCluster NEMO" service box.
 
  +
ssh -l <username> login.nemo.uni-freiburg.de
   
  +
To run graphical applications, you can use the <code>-X</code> or <code>-Y</code> flag to <code>ssh</code>:
If you have trouble resetting your password, please try to delete your password first (use button) and then reset it again. If this does not help de-register and re-register the NEMO service. Otherwise please contact the [[bwForCluster NEMO Support]].
 
   
  +
ssh -Y -l <username> login.nemo.uni-freiburg.de
   
  +
For better performance, we recommend using [[VNC]].
= Further reading =
 
  +
  +
== Login with graphical SSH client (Windows) ==
  +
  +
For Windows we suggest using MobaXterm for login and file transfer.
  +
  +
Start ''MobaXterm'', fill in the following fields:
  +
<pre>
  +
Remote name : login.nemo.uni-freiburg.de # or login1.nemo.uni-freiburg.de, login2.nemo.uni-freiburg.de
  +
Specify user name : <username>
  +
Port : 22
  +
</pre>
  +
  +
After that click on 'ok'. Then a terminal will be opened and there you can enter your credentials.
  +
  +
== Login Example ==
  +
  +
To log in to NEMO, you must provide your [[Registration/Password|service password]].
  +
Proceed as follows:
  +
# Use SSH for a login node.
  +
# The system will ask you for your service password <code>Password:</code>. Please enter it and confirm it with Enter/Return. If you do not have a service password yet or have forgotten it, please create one (see [[Registration/Password]]).
  +
# You will be greeted by the cluster, followed by a shell.
  +
  +
<pre>
  +
~ $ ssh fr_vwxyz1234@login.nemo.uni-freiburg.de
  +
fr_vwxyz1234@login.nemo.uni-freiburg.de's password:
  +
  +
Last login: Thu Sep 8 16:01:18 2022 from host1.nemo.uni-freiburg.de
  +
  +
Research Cluster Baden Wuerttemberg
  +
bwForCluster
  +
  +
ooooo ooo oooooooooooo ooo ooooo .oooooo.
  +
`888b. `8' `888' `8 `88. .888' d8P' `Y8b
  +
8 `88b. 8 888 888b d'888 888 888
  +
8 `88b. 8 888oooo8 8 Y88. .P 888 888 888
  +
8 `88b.8 888 " 8 `888' 888 888 888
  +
8 `888 888 o 8 Y 888 `88b d88'
  +
o8o `8 o888ooooood8 o8o o888o `Y8bood8P'
  +
  +
Neuroscience Elementary Microsystems Materials
  +
Particle Engineering Science
  +
Physics
  +
  +
--------------------------------------------------------------------------------
  +
Node : login1.nemo.uni-freiburg.de
  +
OS : CentOS 7.9 (Rev. 23), 3.10.0-1160.76.1
  +
--------------------------------------------------------------------------------
  +
NEMO Info : http://www.nemo.uni-freiburg.de
  +
NEMO Status : http://www.nemo.uni-freiburg.de/nemo/stat/
  +
NEMO Support : http://www.nemo.uni-freiburg.de/support/
  +
NEMO News : http://www.nemo.uni-freiburg.de/news/
  +
Central Wiki : http://wiki.bwhpc.de
  +
  +
--------------------------------------------------------------------------------
  +
Status : NEMO: normal operation
  +
--------------------------------------------------------------------------------
  +
Published : 2022-09-03 by HPC Team Freiburg
  +
  +
Security update September applied (CentOS 7.9, Rev. 23).
  +
See update log for timestamps
  +
/opt/bwhpc/os-revisions/security_update_2022-09.
  +
  +
See http://www.nemo.uni-freiburg.de for more information on NEMO.
  +
--------------------------------------------------------------------------------
  +
  +
fr_vwxyz1234@login1 ~]$
  +
</pre>
  +
  +
= Allowed Activities on Login Nodes =
  +
  +
{|style="background:#deffee; width:100%;"
  +
|style="padding:5px; background:#cef2e0; text-align:left"|
  +
[[Image:Attention.svg|center|25px]]
  +
|style="padding:5px; background:#cef2e0; text-align:left"|
  +
To guarantee usability for all the users of clusters you must not run your compute jobs on the login nodes.
  +
Compute jobs must be submitted to the queuing system.
  +
Any compute job running on the login nodes will be terminated without any notice.
  +
Any long-running compilation or any long-running pre- or post-processing of batch jobs must also be submitted to the queuing system.
  +
|}
   
  +
The login nodes of the bwHPC clusters are the access point to the compute system, your <code>$HOME</code> directory and your workspaces.
* Scientific software is made accessible using the [[Environment Modules]] system
 
  +
These nodes are shared with all the users therefore, your activities on the login nodes are limited to primarily set up your batch jobs.
  +
Your activities may also be:
  +
* '''short''' compilation of your program code and
  +
* '''short''' pre- and post-processing of your batch jobs.
   
  +
We advise users to use [[BwForCluster_NEMO_Specific_Batch_Features#Interactive_Jobs|interactive jobs]] for compute and memory intensive tasks like compiling.
* Compute jobs must be submitted as [[Batch Jobs]]
 
   
  +
= Related Information =
   
  +
* If you want to reset your service password, consult the [[Registration/Password|Password Guide]].
----
 
  +
* If you want to de-register, consult the [[Registration/Deregistration|De-registration Guide]].
[[Category:BwForCluster NEMO]]
 
[[Category:BwForCluster NEMO|Access]]
 
[[Category:BwForCluster NEMO|Login]]
 
[[Category:Access|bwForCluster NEMO]]
 

Revision as of 18:43, 21 November 2022

Attention.svg

Access to NEMO is limited to IP addresses from the BelWü network. All home institutions of our current users are connected to BelWü, so if you are on your campus network (e.g. in your office or on the campus WiFi) you should be able to connect to NEMO without restrictions. If you are outside one of the BelWü networks (e.g. at home), a VPN connection to the home institution or a connection to an SSH jump host at the home institution must be established first.

The login nodes of the bwHPC clusters are the access point to the compute system, your $HOME directory and your workspaces. All users must log in through these nodes to submit jobs to the cluster.

Prerequisites for successful login:

You need to have


1 Login to bwForCluster NEMO

Login to bwForCluster NEMO is only possible with a Secure Shell (SSH) client for which you must know your username on the cluster and the hostname of the login nodes. For more general information on SSH clients, visit the SSH clients Guide.

1.1 Username

If you want to use the NEMO cluster you need to add a prefix to your local username. For prefixes please refer to the Username Wiki.

Example:

  • If your local username for the University is vwxyz1234 and you are a user from the University of Freiburg this would combine to: fr_vwxyz1234.


1.2 Hostnames

The system has two login nodes. You have to select the login node yourself.

Hostname Node type
login.nemo.uni-freiburg.de NEMO first login node alias
login1.nemo.uni-freiburg.de NEMO first login node
login2.nemo.uni-freiburg.de NEMO second login node


1.3 Login with SSH command (Linux, Mac, Windows)

Most Unix and Unix-like operating systems like Linux, Mac OS and *BSD come with a built-in SSH client provided by the OpenSSH project. More recent versions of Windows 10 and Windows 11 using the Windows Subsystem for Linux (WSL) also come with a built-in OpenSSH client.

For login use one of the following ssh commands:

ssh <username>@login.nemo.uni-freiburg.de
ssh -l <username> login.nemo.uni-freiburg.de

To run graphical applications, you can use the -X or -Y flag to ssh:

ssh -Y -l <username> login.nemo.uni-freiburg.de

For better performance, we recommend using VNC.

1.4 Login with graphical SSH client (Windows)

For Windows we suggest using MobaXterm for login and file transfer.

Start MobaXterm, fill in the following fields:

Remote name              : login.nemo.uni-freiburg.de    # or login1.nemo.uni-freiburg.de, login2.nemo.uni-freiburg.de
Specify user name        : <username>
Port                     : 22

After that click on 'ok'. Then a terminal will be opened and there you can enter your credentials.

1.5 Login Example

To log in to NEMO, you must provide your service password. Proceed as follows:

  1. Use SSH for a login node.
  2. The system will ask you for your service password Password:. Please enter it and confirm it with Enter/Return. If you do not have a service password yet or have forgotten it, please create one (see Registration/Password).
  3. You will be greeted by the cluster, followed by a shell.
~ $ ssh fr_vwxyz1234@login.nemo.uni-freiburg.de
fr_vwxyz1234@login.nemo.uni-freiburg.de's password: 

Last login: Thu Sep  8 16:01:18 2022 from host1.nemo.uni-freiburg.de

                     Research Cluster Baden Wuerttemberg
                                 bwForCluster

           ooooo      ooo oooooooooooo ooo        ooooo   .oooooo.
           `888b.     `8' `888'     `8 `88.       .888'  d8P'  `Y8b
            8 `88b.    8   888          888b     d'888  888      888
            8   `88b.  8   888oooo8     8 Y88. .P  888  888      888
            8     `88b.8   888    "     8  `888'   888  888      888
            8       `888   888       o  8    Y     888  `88b    d88'
           o8o        `8  o888ooooood8 o8o        o888o  `Y8bood8P'

            Neuroscience   Elementary   Microsystems   Materials
                               Particle     Engineering     Science
                                   Physics

--------------------------------------------------------------------------------
 Node            : login1.nemo.uni-freiburg.de 
 OS              : CentOS 7.9 (Rev. 23), 3.10.0-1160.76.1
--------------------------------------------------------------------------------
 NEMO Info       : http://www.nemo.uni-freiburg.de
 NEMO Status     : http://www.nemo.uni-freiburg.de/nemo/stat/
 NEMO Support    : http://www.nemo.uni-freiburg.de/support/
 NEMO News       : http://www.nemo.uni-freiburg.de/news/
 Central Wiki    : http://wiki.bwhpc.de

--------------------------------------------------------------------------------
 Status          : NEMO: normal operation
--------------------------------------------------------------------------------
 Published       : 2022-09-03 by HPC Team Freiburg

 Security update September applied (CentOS 7.9, Rev. 23).
 See update log for timestamps
 /opt/bwhpc/os-revisions/security_update_2022-09.

 See http://www.nemo.uni-freiburg.de for more information on NEMO.
--------------------------------------------------------------------------------

fr_vwxyz1234@login1 ~]$ 

2 Allowed Activities on Login Nodes

Attention.svg

To guarantee usability for all the users of clusters you must not run your compute jobs on the login nodes. Compute jobs must be submitted to the queuing system. Any compute job running on the login nodes will be terminated without any notice. Any long-running compilation or any long-running pre- or post-processing of batch jobs must also be submitted to the queuing system.

The login nodes of the bwHPC clusters are the access point to the compute system, your $HOME directory and your workspaces. These nodes are shared with all the users therefore, your activities on the login nodes are limited to primarily set up your batch jobs. Your activities may also be:

  • short compilation of your program code and
  • short pre- and post-processing of your batch jobs.

We advise users to use interactive jobs for compute and memory intensive tasks like compiling.

3 Related Information