User Login

1 Login Nodes

The login nodes are the only interface by which users use the computation platform. Users edit files, debug programs and submit their job scripts on the login nodes. Users can use the computing resources after successfully logged in to the computing platform with their AFS accounts and passwords.

The operation systems provided by the computing platform are Scientific Linux, and the OS version of login nodes are listed in Tab. 1. No. 2 is the login node information for LHAASO cluster and 3 for HXMT.

No. OS of Login Nodes Num Domain
1 CentOS Linux 7.8 (64 bit) 16 (701-716) lxslc7.ihep.ac.cn
2 Scientific Linux 7.5 (64 bit) 2 (01-02) lhmtlogin.lhaaso.ihep.ac.cn
3 CentOS 7.8 (64 bit) 11 (01-11) hlogin.ihep.ac.cn

Tab. 1 Operation Systems and domains for login nodes

Computing Center has deployed loading balancing policies for the three types of login nodes, and the computation platform will automatically assigin a login node with the lightest load to user so long as he or she specify the domain of login node.

2 Login Clusters via SSH

Here we will illustrate the cluster login steps under Windows, Linux and macOS via ssh.

2.1 Login Clusters under Linux

Running ssh in the terminal is the most convenient way to login clusters.

  1. Login SL6 nodes. Due to the permission problem of AFS, user cannot modify anything after logged in via private keys, so user should use PASSWORD to login clusters.

    [user@localhost ~] ssh username@lxslc6.ihep.ac.cn
    
  2. Use private key or password to login clusters, and one need to run aklog -d if logged in via private keys, while don't need to if via PASSWORD.

    ### using password
    [user@localhost ~] ssh username@lxslc7.ihep.ac.cn
    ### using private key
    [user@localhost ~] ssh -i ~/.ssh/id_rsa username@lxslc7.ihep.ac.cn
    [username@lxslc701 ~] kinit
    Password:
    
  3. Login LHAASO cluster. The OS of LHAASO login nodes are SL7, one need to run aklog after logged in via private keys.

    [user@localhost ~] ssh username@lhmtlogin.lhaaso.ihep.ac.cn
    [username@lhmtlogin-xxx ~] kinit
    Password:
    

2.2 Login Clusters under macOS

Please refer to the procedures of Login Clusters under Linux.

2.3 Login Clusters under Windows

There is no native SSH clients under Windows before Windows 10, under which user can add OpenSSH by adding additional functions in the Control Panel.

2.3.1 SSH Clients

There are many 3rd-party ssh clients, and here some frequently-used clients are listed as following:

2.3.2 Login Procedures Illustration

Here we will illustrate the login process of Putty.

  1. Download Putty installer package and install Putty 。
  2. Open Putty, and fill Host Name with user@hostname, Port usually with 22. Press save button to save session. If there is a saved session, select the saved session, and press load button to load the session.
    putty-1
  3. If one wannt login cluster with private key,fill Connection -> SSH -> Auth with own private key's path,as following.
    putty-2
  4. Login clusters. Press the Open button.
    putty-3

    One might be encountered with the problem of host key not matching, and press Yes.
    putty-4

    If one login without private key, one will be asked to provide password to login clusters.
    putty-5

3 Remote Desktop to Login Clusters

One can login clusters via remote desktop by way of VNC and Remote Desktop.

3.1 Login Clusters via VNC

3.1.1

For the first time using VNC, the remote system will ask you to generating a password for VNC login.

$[username@lxslc601 ~] vncserver
You will require a password to access your desktops.

Password:
Verify:

New 'lxslc601.ihep.ac.cn:1 (username)' desktop is lxslc601.ihep.ac.cn:1

Creating default startup script /afs/ihep.ac.cn/users/u/username/.vnc/xstartup
Starting applications specified in /afs/ihep.ac.cn/users/u/username/.vnc/xstartup
Log file is /afs/ihep.ac.cn/users/u/username/.vnc/lxslc601.ihep.ac.cn:1.log

Next time to login via VNC, one only need to run vncserver on the clusters and then login via VNC softwares.

3.1.2 Linux

3.1.3 Windows

3.1.4 macOS

results matching ""

    No results matching ""