Cluster Overview: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
Line 6: Line 6:
::This is the cluster front-end, to use the cluster, you need to log into those machines
::This is the cluster front-end, to use the cluster, you need to log into those machines
::::Servers : [ m0 , m1 , m2 , m3 ] , [ m5 , m6 , m7 , m8 , m9 ]
::::Servers : [ m0 , m1 , m2 , m3 ] , [ m5 , m6 , m7 , m8 , m9 ]
:: The '''File Server''' provides the user home on the UIs. It is a highly efficient & redundant storage node of ~70 TB capacity with regular backups.
<br>
<br>
* The '''Computing Machines :'''
* The '''Computing Machines :'''
Line 14: Line 16:
::::Servers : nodeXX-YY
::::Servers : nodeXX-YY
<br>
<br>
* The '''Storage Machines'''
* The '''Mass Storage'''
** The '''Storage Element''': it is the brain of the cluster storage. Grid accessible, it knows where all the files are, and manages all the storage nodes.
** The '''Storage Element''': it is the brain of the cluster storage. Grid accessible, it knows where all the files are, and manages all the storage nodes.
::::Server : maite
::::Server : maite
:* The '''Storage Nodes''': This is the memory of the cluster : they contain big data files. In total, they provide ~2300 TB of grid-accessible storage.
:* The '''Storage Nodes''': This is the memory of the cluster : they contain big data files. In total, they provide ~2300 TB of grid-accessible storage.
::::Servers : beharXXX
::::Servers : beharXXX
:* The '''User Storage''': it provides the home of the UIs. It is a highly efficient & redundant storage node of ~70 TB capacity.


<br>
<br>
== How to Connect ==
== How to Connect ==



Revision as of 15:46, 21 January 2016

Overview

The cluster is composed 3 groups of machines :

  • The User Interfaces (UI)
This is the cluster front-end, to use the cluster, you need to log into those machines
Servers : [ m0 , m1 , m2 , m3 ] , [ m5 , m6 , m7 , m8 , m9 ]
The File Server provides the user home on the UIs. It is a highly efficient & redundant storage node of ~70 TB capacity with regular backups.


  • The Computing Machines :
    • The Computing Element (CE): This server is the brain of the batch system : it manages all the submitted jobs, and send them to the worker nodes.
Servers : cream02
  • The Worker Nodes (WN): This is the power of the cluster : they run multiple jobs in parallel and send the results & status back to the CE.
Servers : nodeXX-YY


  • The Mass Storage
    • The Storage Element: it is the brain of the cluster storage. Grid accessible, it knows where all the files are, and manages all the storage nodes.
Server : maite
  • The Storage Nodes: This is the memory of the cluster : they contain big data files. In total, they provide ~2300 TB of grid-accessible storage.
Servers : beharXXX


How to Connect

To connect to the cluster, you need to have sent us your public ssh key. In a terminal, type the following:

ssh -X -o ServerAliveInterval=100 username@m0.iihe.ac.be
Tip: the -o ServerAliveInterval=100 option is used to keep your session alive for a long period of time ! You should not be disconnected during a whole day of work.

After a successful login, you'll see this message :


         @@@@@@@@     @@@@             @@@@@     @@@@@@@
            @@       @    @            @@   @    @@
            @@            @    @@@@    @@@@@     @@@@
            @@         @@              @@    @   @@@@
            @@       @                 @@    @   @@
            @@       @@@@@@            @@@@@@    @@@@@@@
                              @ IIHE   

  Welcome to the t2b cluster ! You are on the following UI: m2 
You can find more info on our wiki page: http://t2bwiki.iihe.ac.be To contact us: grid_admin@listserv.vub.ac.be
Please remember this machine will allow you only 600s (10 minutes) of cpu time per processes. ________________________________________________________________________ Your Quota on /user: 43% used (282G left) There are 2 users here | Load: 7.51 /8 CPUs (2%) | Mem: 80% used


Please observe all the information in this message:

  • The wiki link, where you should go first to find the information
  • The email used for the cluster support (please use this one rather than personal mail, this way everyone on the support team can answer and track the progress.)
  • The cpu time limit imposed per process, as we divided our UIs into 2 groups.
The light task UIs (max CPU time = 10 minutes) : they are used for crab/local job submission, writing code, building debugging ...
m0.iihe.ac.be, m1.iihe.ac.be, m2.iihe.ac.be, m3.iihe.ac.be
The CPU-intensive UIs (max CPU time = 5 hours) : they are available for CPU-intensive and long tasks, although you should prefer using local job submission ...
m5.iihe.ac.be, m6.iihe.ac.be, m7.iihe.ac.be, m8.iihe.ac.be and m9.iihe.ac.be
  • The quota you have left on /user
  • Information about how heavily this UI is used. If any of them is red (ie above optimal usage), please consider using another UI. Please be mindful of other users and don't start too many processes, epsecially if the UI is already under charge.


Data Storage & Directory Structure

There are 2 main directories to store your work and data:

  • /user [/$USER] : this is your home directory. You have an enforced quota there, as it is an expensive storage with redundancy and daily backups.
  • /pnfs [/iihe/cms/store/user/$USER] : this is where you can store a large amount of data, and is also grid-accessible. If you need more than 2 TB, please contact us. THere is no backups there, so be careful of what you do !


There are other directories than you might want to take notice of:

  • /group : same as /user , but if you need to share/produce in a group.
  • /scratch : a temporary scratch space for your job. Use $TMPDIR on the WNs, it is cleanned after each job :)
  • /cvmfs : Centralised CVMFS software repository from CERN. It should contain most of the software you will need.
  • /swmgrs : local area for shared software not in /cvmfs . You can use a nice tool to find the software and versions available.


Batch System

Queues

The cluster is decomposed in queues


localgrid highmem express
Description default queue, all available nodes except express
Subgroup of localgrid with WNs having 4GB Mem / Slot
01/2016 : Not enabled yet
Limited walltime
# CPU's (Jobs) 2344
768
16
Walltime limit 95 hours 20 minutes
Memory limit 2 Gb
4 Gb
2 Gb
Max # jobs running / User 400 jobs
3 jobs
Max # jobs sent to the batch system / User 2500 jobs
100 jobs


Job submission

To submit a job, you just have to use the qsub command :

qsub myjob.sh

OPTIONS

  • -q queueName : choose the queue (default: any)
  • -N jobName : name of the job
  • -I : (capital i) pass in interactive mode
  • -m mailaddress : set mail address (use in conjonction with -m) : MUST be @ulb.ac.be or @vub.ac.be
  • -m [a|b|e] : send mail on job status change (a = aborted , b = begin, e = end)
  • -l : resources options


Job management

To see all jobs (running / queued), you can use the qstat command, or go to the JobView page to have a summary of what's running.

qstat

OPTIONS

  • -u username : list only jobs submitted by username
  • -n : show nodes where jobs are running
  • -q : show the job repartition on queues


If you want to test the batch system, you can follow the workbook here


Backup

Backup of /user & /group
There is no way for users to access the backups. Just send a mail to grid_admin@listserv.vub.iihe.ac.be specifying the file(s)/folder(s) you want, and the date you want it from.

Our zfs server allows us to do regular snapshots:

  • There is one done everyday at midnight, we keep the last seven of those (so a complete week).
  • We also have one snapshot per week, and keep the last 4 of them (so a month).
  • Additionnaly, the /user is backed up every day to a secondary machine, in case our main fileserver goes down.


Usefull links

Ganglia Monitoring : status of all our servers.
JobView Monitoring  : summary of the cluster usage.