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/CNCA Computing infrastructure
CNCA - Centro Nacional de Computação Avançada
6
CNCA operations centres in 2025
CNCA-A @ LNEC in Lisbon
HPC / HTC / Cloud / Federation
6000 CPU cores
5 Petabytes online raw
100 Gbps + 100 Gbps LHCONE
Includes the WLCG Tier-2
CNCA-L @ LIP in Lisbon
Tape storage
1 Petabyte backups
10 Gbps
CNCA-C @ UC in Coimbra
(BEING IMPROVED)
Tape storage expansion
20 Petabytes
10 Gbps
CNCA-D @ UTAD in Vila Real
HPC / HTC / Cloud / Federation
5000 CPU cores + IB HDR200
4 Petabytes online raw
10 Gbps + 10 Gbps
CNCA-B @ REN in Riba-de-Ave
(partially moved to Lisbon)
HPC / HTC
2600 CPU cores (640 cores)
384 Terabytes raw
1 Gbps
CNCA Portuguese Distributed Computing Infrastructure
1º Encontro "Computation in Science @UAlg" - 26th October 2018
Peerings
CNCA-D
UTAD
Vila Real
LHCONE
FCCN Géant
RCTS Internet
FCCN
CNCA-C
UC
Coimbra
CNCA-L2
FCCN
CNCA-A
LNEC
Lisboa
CNCA-L
LIP
Lisboa
Backup via RCTS
Peering CNCA L2
Default via CNCA L2
Default via RCTS
Peering LHCONE
PT
Tier2
CNCA Portuguese Distributed Computing Infrastructure
1º Encontro "Computation in Science @UAlg" - 26th October 2018
Introduction �FARM Computing infrastructure
Computing Farm:
Applications run in a compute/worker node:
10
Compute nodes
Job submission�(pauli.a.incd.pt)
Job scheduling
Scheduler (slurm)
Storage
Computing Farm Advantages:
11
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
13
Best practices 1/x
@LIP with Personal Laptops
14
Best practices 2/x
Secrets
15
Best practices 3/x
Phishing/Ransomware
16
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
Is a secure way to establish a �connection between two machines
18
Secure network
SSH (openssh free and opensource)
Linux - Is available natively in all distributions, Fedora, Ubuntu, Mint, etc
Windows - Is available via WSL in all Windows >= 10
WSL is not available to all Windows 10 users by default, but can be installed via Microsoft Store or other means.
macOS - Is available.
19
SSH (Windows WSL v2)
SSH forward keys
1) Edit file .bashrc
2) Add at the end of the file
eval $(ssh-agent -s)
20
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 defaults (Just pressing enter). 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 is not supposed to get their hands on it.
21
ssh-keygen -b 4096
More details in https://wiki.acnca.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 the public key to the LIP administrators, to associate it to your account. (continue in next slide)
22
ls -la ~/.ssh/
Generate an ssh key pair
(continuation) Send your public key (id_rsa.pub)
helpdesk@lip.pt
23
cat ~/.ssh/id_rsa.pub
Connect to server
username → replace username with your username (Sent previously to you by email).
pauli.a.incd.pt → the name of the server you going to connect to.
When the ssh connection is establish, a passphrase will be asked to unlock the private key that is encrypted.
24
ssh username@pauli.a.incd.pt
or
ssh username@paulia.a.acnca.pt
How to access - using Windows
25
To start a new terminal, click on “Start local terminal”
How to access - using Windows
26
macOS
Required for export Display:
27
Documentation
&
Helpdesk
Documentation
29
Slack registration
30
��Helpdesk ( helpdesk@lip.pt)
Good practices:
31
�Q&A
Nice Internship for everyone!!�Um Bom Estágio para todos!!
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 CNCA equipment
Old INGRID equipment
LIP specific equipment
LIP users
LIP Tier-2
CNCA 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 CNCA+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
CNCA Private Net