Javier Delgado Grid-Enabledment of Scientific Applications Professor S. Masoud Sadjadi. Cluster Computing. Essence of a Beowulf. Hardware One head/master node (Several) compute nodes Interconnection modality (e.g. ethernet) Software Parallel Programming Infrastructure
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
F I N
Plus de contenu associé
Transcription de la présentation
Javier Delgado Grid-Enabledment of Scientific Applications Professor S. Masoud Sadjadi Cluster Computing Cluster Computing - GCB
Cluster Computing - GCB Scheduling • Multiple users fighting for resources = bad • Don't allow them to do so directly • Computer users are greedy • Let the system allocate resources • Users like to know job status without having to keep an open session
Cluster Computing - GCB Cluster Solutions • Do-it-yourself (DIY) • OSCAR • Rocks • Pelican HPC (formerly Parallel Knoppix) • Microsoft Windows CCE • OpenMosix (closed March 2008) • Clustermatic (no activity since 2005)
Cluster Computing - GCB DIY Cluster • Advantages • Control • Learning Experience • Disadvantages • Control • Administration
Cluster Computing - GCB Building the Cluster • Install compute node image on the compute node • Manually • PXE Boot (pxelinux, etherboot, etc.) • RedHat Kickstart • etc. • Configure host name, NFS, etc. • ... for each node!
Cluster Computing - GCB Maintainance • Software updates in head node require update in compute node • Failed nodes must be temporarily removed from head node configuration files
Cluster Computing - GCB Building the Cluster • But what if my boss wants a 200-node cluster? • Monster.com • OR come up with your own automation scheme • OR Use OSCAR or Rocks
Cluster Computing - GCB Cluster Solutions • Do-it-yourself (DIY) • OSCAR • Rocks • Pelican HPC (formerly Parallel Knoppix) • Microsoft Windows CCE • OpenMosix (closed March 2008) • Clustermatic (no activity since 2005)
Cluster Computing - GCB OSCAR • Open Source Cluster Application Resources • Fully-integrated software bundle to ease deployment and management of a cluster • Provides • Management Wizard • Command-line tools • System Installation Suite
Cluster Computing - GCB Overview of Process • Install OSCAR-approved Linux distribution • Install OSCAR distribution • Create node image(s) • Add nodes • Start computing
Cluster Computing - GCB OSCAR Management Wizard • Download/install/remove OSCAR packages • Build a cluster image • Add/remove cluster nodes • Configure networking • Reimage or test a node with the Network Boot Manager
Cluster Computing - GCB OSCAR Command Line tools • Everything the Wizard offers • yume • Update node packages • C3 - The Cluster Command Control Tools • provide cluster-wide versions of common commands • Concurrent execution • example 1: copy a file from the head node to all visualization nodes • example 2: execute a script on all compute nodes
Cluster Computing - GCB C3 List of Commands • cexec: execution of any standard command on all cluster nodes • ckill: terminates a user specified process • cget: retrieves files or directories from all cluster nodes • cpush: distribute files or directories to all cluster nodes • cpushimage: update the system image on all cluster nodes using an image captured by the SystemImager tool
Cluster Computing - GCB List of Commands (cont.) • crm: remove files or directories • cshutdown: shutdown or restart all cluster nodes • cnum: returns a node range number based on node name • cname: returns node names based on node ranges • clist: returns all clusters and their type in a configuration file
Example c3 configuration # /etc/c3.conf ## # describes cluster configuration ## cluster gcb { gcb.fiu.edu #head node dead placeholder #change command line to 1 indexing compute-0-[0-8] #first set of nodes exclude 5 #offline node in the range (killed by J. Figueroa) } ------- Cluster Computing - GCB
Cluster Computing - GCB OPIUM • The OSCAR Password Installer and User Management • Synchronize user accounts • Set up passwordless SSH • Periodically check for changes in passwords
Cluster Computing - GCB SIS • System Installation Suite • Installs Linux systems over a network • Image-based • Allows different images for different nodes • Nodes can be booted from network, floppy, or CD.
Cluster Computing - GCB Cluster Solutions • Do-it-yourself (DIY) • OSCAR • Rocks • Pelican HPC (formerly Parallel Knoppix) • Microsoft Windows CCE • OpenMosix (closed March 2008) • Clustermatic (no activity since 2005)
Cluster Computing - GCB Rocks • Disadvantages • Tight-coupling of software • Highly-automated • Advantages • Highly-automated... • But also flexible