LIP Computing training basic level
1
Outline
2
LIP
LIP- Laboratório de Instrumentação e Física Experimental de Partículas
3
LIP - IT infrastructure
4
Introduction �LIP Computing infrastructure
IT infrastructure context
ISEC - Laced
Minerva Cluster
20x Dell R720
Infiniband
Miguel Couceiro
U. Coimbra
Old Datacenter
Physics Dep.
Small LIP facility
Point-of-Presence
NCG @ LNEC
Sala-Grid Datacenter
New INCD equipment
Old INGRID equipment
LIP specific equipment
LIP users
LIP Tier-2
INCD users
U. Lisboa @ reitoria
Mail, web, VMs
Home directories
LIP @ 3Is
Tape library
Local network+services
BOB @ REN Riba-de-Ave
HPC cluster from FCT
Offered by TACC
20% is managed by INCD+LIP
LIP helping in the storage
IT network infrastructure
U. Coimbra
Old Datacenter
Physics Dep.
NCG @ LNEC
Sala-Grid Datacenter
New L2/L3 switches
48x 10/25 GbE
18x 40/100 GbE
LIP @ 3Is
Tape library
Local network
BOB @ REN Riba-de-Ave
HPC cluster from FCT
U. Lisboa @ reitoria
Mail, web, VMs
Home directories
LIP @ U. Coimbra
LIP @ U. Minho
INTERNET
LNEC
Internal network
INCD Private Net
Introduction �INCD Computing infrastructure
INCD - Infraestrutura Nacional de Computação Distribuída
9
Computing Farm:
Applications run in a compute node:
10
Compute nodes
Job submission�(pauli.ncg.ingrid.pt)
Job scheduling
Scheduler (slurm)
Storage
Computing Farm Advantages:
11
How to access �the infrastructure�SSH
SSH
How to access - SSH
Allow us to connect to local or remote servers �(inside safe/isolated networks)
HOME
LABORATORY
It is the most secure way to establish a �connection between two machines
13
Secure network
Generate an ssh key pair
The key generator will ask for location and file name to which the key is saved to. The recommended is the default by pressing enter with nothing. If you have already a key named id_rsa, choose another name.
This is a password that will protect your private key from someone that not supposed to get their hands on it. Enter the password you wish or continue without a password. The recommended is to choose a strong password.
14
ssh-keygen -b 4096 -t rsa
More details in https://wiki.incd.pt/books/how-to-access/page/create-a-ssh-key
Generate an ssh key pair
You will see the keys stored in your computer:� id_rsa → private key.� id_rsa.pub → public key.
Once the key pair was created, you must send to LIP administrators the public key to associate it to your account. (continue in next slide)
15
ls ~/.ssh/
Generate an ssh key pair
(continuation) Send your public key (id_rsa.pub)
16
cat ~/.ssh/id_rsa.pub
Connect to server
username → replace username that will be set to you by email.
pauli.ncg.ingrid.pt → the name of the server you going to connect to.
If your private key was protected by a passphrase (2.), you going to be asked to insert it.
17
ssh username@pauli.a.incd.pt
How to access - using Windows
18
To start a new terminal, click on “Start local terminal”
How to access - using Windows
19
macOS
Required for export Display:
20
Useful information�Linux commands �&�Best practices
Useful Linux commands
For more commands, check the Quick Reference guide: http://www.macs.hw.ac.uk/~hwloidl/Courses/LinuxIntro/linux-quickref.pdf
22
Best practices 1/x
@LIP with Personal Laptops
23
Best practices 2/x
Secrets
24
Best practices 3/x
Phishing/Ransomware
25
Documentation
&
Helpdesk
Documentation
27
��Helpdesk ( helpdesk@lip.pt)
Good practices:
28
Docker preparation:
For those who require the use Root Software please follow the following guidelines:
https://docs.google.com/presentation/d/1F2AJrJu5wUSf04cbXL_RBAkUEXXQJBsigDc69yTAEfk/edit#slide=id.p
All questions regarding the installation/running should be done in SLack for the internship
29
�Q&A
Nice Internship for everyone!!�Um Bom Estágio para todos!!