Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleReference Documentation

HPC2020: How to connect

First of all, letLet's try explore how to connect to the computing services via SSH:ATOS HPCF or ECS.

Table of Contents

Accessing a login node

  1. Access the default login node of the ATOS HPCF or ECS and take note of what node you are in 

    Expand
    titleSolution - HPCF


    No Format
    ssh hpc-login
    hostname



    Expand
    titleSolution - ECS


    No Format
    ssh ecs-login
    hostname



  2. Open a new tab in your terminal and connect again. Did you get the same hostname? Why is that?

    Expand
    titleAnswer

    hpc-login hostname is an alias to a load-balanced service of login nodes. You may land on a different one every time you connect.

    ecs-login is an alias to a specific login node of the ECS virtual cluster. It is not automatically load-balanced, so you will typically land on the same node on consecutive connections.

    Both aliases will always point to a working login node, and the actual node and complex behind it may change depending on the load, system sessions or outages.


  3. Now, from your open SSH session on Atos HPCF or ECS, connect to the main login alias again. Did it ask for a password? Can you set your account up so jumps between hosts are done without a password?

    Expand
    titleAnswer

    Password-less SSH between ECMWF hosts such as Atos HPCF or ECS nodes, or VDI hosts is not set up by default. If you were asked for a password, you can run the following command from your Atos HPCF, ECS or VDI session to set up  key-based authentication:

    No Format
    ssh-key-setup

    After this you should be able to jump between hosts without having to introduce your password.

    Besides being convenient, this setup is also necessary for other tools such as ECACCESS or ecinteractive to work properly.


...