Helix/Login: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
(Troubleshooting added)
Line 1: Line 1:
= Prerequisites =
{|style="background:#deffee; width:100%;"
* The three [[registration/bwForCluster|bwForCluster registration]] steps are completed and still valid.
|style="padding:5px; background:#cef2e0; text-align:left"|
* Access to bwForCluster Helix is only possible from IP addresses within the [https://www.belwue.de BelWü] network which connects universities and other scientific institutions in Baden-Württemberg. If your computer is in your University network (e.g. at your office), you should be able to connect to bwForCluster Helix without restrictions. If you are outside the BelWü network (e.g. at home), a VPN (virtual private network) connection to your University network must be established first. Please consult the VPN documentation of your University.
[[Image:Attention.svg|center|25px]]
* As credentials you need your [[Registration/Password|service password]], Helix [[Registration/Login/Username|username]] and [[Registration/2FA|2FA token]].
|style="padding:5px; background:#cef2e0; text-align:left"|
* If you encounter any issues, please have a look at the troubleshooting section
Access to bwForCluster Helix is only possible from IP addresses within the [https://www.belwue.de BelWü] network which connects universities and other scientific institutions in Baden-Württemberg.
If your computer is in your University network (e.g. at your office), you should be able to connect to bwForCluster Helix without restrictions.
If you are outside the BelWü network (e.g. at home), a VPN (virtual private network) connection to your University network must be established first. Please consult the VPN documentation of your University.
|}

'''Prerequisites for successful login:'''

You need to have
* completed the 3-step [[registration/bwForCluster|bwForCluster registration]] procedure.
* [[Registration/Password|set a service password]] for bwForCluster Helix.
* registered a token for the [[Registration/2FA|two factor authentication (2FA)]].



= Login to bwForCluster Helix =
= Login to bwForCluster Helix =
Line 51: Line 40:


ssh -X -l <username> helix.bwservices.uni-heidelberg.de
ssh -X -l <username> helix.bwservices.uni-heidelberg.de


Depending on your authentication method (password or ssh key), it is advised to add an additional parameter to the command:
<pre>
# for password authentication add
-o PubkeyAuthentication=no
# for ssh key authentication add
-o IdentitiesOnly=yes -i \<priv.key>
</pre>


== Login with graphical SSH client (Windows) ==
== Login with graphical SSH client (Windows) ==
Line 137: Line 135:
* If you need an SSH key for your workflow, read [[Registration/SSH|Registering SSH Keys with your Cluster]].
* If you need an SSH key for your workflow, read [[Registration/SSH|Registering SSH Keys with your Cluster]].
* Configuring your shell: [[.bashrc Do's and Don'ts]]
* Configuring your shell: [[.bashrc Do's and Don'ts]]

= Troubleshooting =

If you encounter login problems, it is fastest to first check the following points before contacting the support at the [https://www.bwhpc.de/supportportal.php|bwhpc Suppport Portal].
If there are known issues with the cluster, we'll inform you at the Helix main page or via e-mail.

# The 3 steps from the bwForCluster registration procedure are still valid. This means you have:
#* An entitlemenet. You can check this at ... .
#* An active membership in an active RV. You can check this via ZAS.
#* A valid bwServices registration. You can check this by logging in to bwServices and check your access status. If you have "Lost Access" and the first two points are fulfilled, you might not have an active uniID anymore. As soon as your university membership ends (for example end of contract), you don't have access anymore.
# Service Password is correct: If you have forgotten it, you can set a new one via bwServices.
# 2FA Token is correct: You can check if your token is working by going to bwServices -> My Services -> Token.
# You are in the correct network:
#* Access to bwForCluster Helix is only possible from IP addresses within the BelWü network which connects universities and other scientific institutions in Baden-Württemberg. If your computer is in your university network (e.g. at your office), you should be able to connect to bwForCluster Helix without restrictions. If you are outside the BelWü network (e.g. at home), a VPN (virtual private network) connection to your university network must be established first. Please consult the VPN documentation of your university. To check if you are in the correct network, you can run "ping helix.bwservices.uni-heidelberg.de". If it shows 100% packet loss, you are not in the correct network.
#* You are not using LAN and WLAN at the same time. This prevents connection problems.

'''Lost Token'''

To reset your token you have to visit the IT-Service to validate your identity.
Mention that you want a reset of your Helix 2FA token. It is important to emphasize that the token reset is for Helix to avoid confusion with the token that is specific to members/students of the university of Heidelberg.

You can visit the IT service point of the URZ in person at INF 330, 69120 Heidelberg. Or you can use the video call service. It is recommended to use the Chrome browser for doing the video call. Please have on official identification ready in any case (Führerschein / Personalausweis) .
For further information please see here: https://it-service.uni-heidelberg.de.

To be on the save side, it is advised to create a backup TAN list additionally to the smartphone token.

Revision as of 11:27, 28 February 2025

Prerequisites

  • The three bwForCluster registration steps are completed and still valid.
  • Access to bwForCluster Helix is only possible from IP addresses within the BelWü network which connects universities and other scientific institutions in Baden-Württemberg. If your computer is in your University network (e.g. at your office), you should be able to connect to bwForCluster Helix without restrictions. If you are outside the BelWü network (e.g. at home), a VPN (virtual private network) connection to your University network must be established first. Please consult the VPN documentation of your University.
  • As credentials you need your service password, Helix username and 2FA token.
  • If you encounter any issues, please have a look at the troubleshooting section

Login to bwForCluster Helix

Login to bwForCluster Helix 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 gneral information on SSH clients, visit the SSH clients Guide.

Username

Your username on bwForCluster Helix consists of a prefix and your local username. For prefixes please refer to the Username Guide.

Example: If your local username at your University is ab123 and you are a user from Heidelberg University, your username on the cluster is: hd_ab123.

Hostnames

bwForCluster Helix has two login nodes. We use so-called DNS round-robin scheduling to load-balance the incoming connections between the nodes. If you open multiple SSH sessions, these sessions may run on different login nodes, so processes started in one session might not be visible in other sessions.

Hostname Destination
helix.bwservices.uni-heidelberg.de one of the two login nodes

Login with SSH command (Linux, Mac, Windows)

Most Unix and Unix-like operating systems like Linux or MacOS 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>@helix.bwservices.uni-heidelberg.de
ssh -l <username> helix.bwservices.uni-heidelberg.de

To run graphical applications on the cluster, you need to enable X11 forwarding with the -X flag:

ssh -X -l <username> helix.bwservices.uni-heidelberg.de


Depending on your authentication method (password or ssh key), it is advised to add an additional parameter to the command:

# for password authentication add
-o PubkeyAuthentication=no
# for ssh key authentication add
-o IdentitiesOnly=yes -i \<priv.key>

Login with graphical SSH client (Windows)

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

Start MobaXterm and fill in the following fields:

Remote name              : helix.bwservices.uni-heidelberg.de
Specify user name        : <username>
Port                     : 22

After that click on 'ok'. Then a terminal will open where you can enter your credentials.

Note: When using File transfer with MobaXterm version >=23.3, the following configuration change has to be made: In the settings in the tab "SSH", change the option "SSH engine" from "<new>" to "<legacy>". Then restart MobaXterm.

Login Example

To login to bwForCluster Helix, proceed as follows:

  1. Login with SSH command or MoabXterm as shown above.
  2. The system will ask for a one-time password Your OTP:. Please enter your OTP and confirm it with Enter/Return. The OTP is not displayed when typing. If you do not have a second factor yet, please create one (see Registration/2FA).
  3. The system will ask you for your service password Password:. Please enter it and confirm it with Enter/Return. The password is not displayed when typing. If you do not have a service password yet or have forgotten it, please create one (see Registration/Password).
  4. You will be greeted by the cluster, followed by a shell.
$ ssh -l hd_ab123 helix.bwservices.uni-heidelberg.de
Your OTP:
Password: 

********************************************************************************
*                                                                              *
*                     Baden-Wuerttemberg HPC Cluster for                       *
*              Structural and Systems Biology, Medical Science,                *
*                 Soft Matter, Computational Humanities, and                   *
*                      Mathematics and Computer Science                        *
*                                                                              *
*                                bwForCluster                                  *
*                        _    _          _   _                                 *
*                       | |  | |        | | (_)                                *
*                       | |__| |   ___  | |  _  __  __                         *
*                       |  __  |  / _ \ | | | | \ \/ /                         *
*                       | |  | | |  __/ | | | |  >  <                          *
*                       |_|  |_|  \___| |_| |_| /_/\_\                         *
*                                                                              *
*                                                                              *
*                   (xCAT 2.16.4 / RHEL 8.8 / GPFS 5.1.8)                      *
*                                                                              *
*                                                                              *
*        bwHPC Wiki : https://wiki.bwhpc.de/e/Helix                            *
*     Ticket System : https://www.bwhpc.de/supportportal                       *
*    Job Monitoring : https://helix-monitoring.bwservices.uni-heidelberg.de    *
*        E-learning : https://training.bwhpc.de/                               *
*                     -> 'Introduction to bwForCluster Helix'                  *
*                                                                              *
********************************************************************************

Last login: ...
[hd_ab123@login ~]$ 

Allowed Activities on Login Nodes

Attention.svg

To guarantee usability for all users 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 notice. Long-running compilation or long-running pre- or post-processing tasks must also be submitted as batch jobs.

The login nodes are the access points to the compute system, your $HOME directory and your workspaces. These nodes are shared with all users. Hence, your activities on the login nodes are primarily limited to setting up your batch jobs. Your activities may also be:

  • quick compilation of program code or
  • quick pre- and post-processing of results from batch jobs.

We advise to use interactive batch jobs for compute and memory intensive compilation and pre- and post-processing tasks.

Related Information

Troubleshooting

If you encounter login problems, it is fastest to first check the following points before contacting the support at the Suppport Portal. If there are known issues with the cluster, we'll inform you at the Helix main page or via e-mail.

  1. The 3 steps from the bwForCluster registration procedure are still valid. This means you have:
    • An entitlemenet. You can check this at ... .
    • An active membership in an active RV. You can check this via ZAS.
    • A valid bwServices registration. You can check this by logging in to bwServices and check your access status. If you have "Lost Access" and the first two points are fulfilled, you might not have an active uniID anymore. As soon as your university membership ends (for example end of contract), you don't have access anymore.
  2. Service Password is correct: If you have forgotten it, you can set a new one via bwServices.
  3. 2FA Token is correct: You can check if your token is working by going to bwServices -> My Services -> Token.
  4. You are in the correct network:
    • Access to bwForCluster Helix is only possible from IP addresses within the BelWü network which connects universities and other scientific institutions in Baden-Württemberg. If your computer is in your university network (e.g. at your office), you should be able to connect to bwForCluster Helix without restrictions. If you are outside the BelWü network (e.g. at home), a VPN (virtual private network) connection to your university network must be established first. Please consult the VPN documentation of your university. To check if you are in the correct network, you can run "ping helix.bwservices.uni-heidelberg.de". If it shows 100% packet loss, you are not in the correct network.
    • You are not using LAN and WLAN at the same time. This prevents connection problems.

Lost Token

To reset your token you have to visit the IT-Service to validate your identity. Mention that you want a reset of your Helix 2FA token. It is important to emphasize that the token reset is for Helix to avoid confusion with the token that is specific to members/students of the university of Heidelberg.

You can visit the IT service point of the URZ in person at INF 330, 69120 Heidelberg. Or you can use the video call service. It is recommended to use the Chrome browser for doing the video call. Please have on official identification ready in any case (Führerschein / Personalausweis) . For further information please see here: https://it-service.uni-heidelberg.de.

To be on the save side, it is advised to create a backup TAN list additionally to the smartphone token.