Presentation is loading. Please wait.

Presentation is loading. Please wait.

36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.

Similar presentations


Presentation on theme: "36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis."— Presentation transcript:

1 36 th LHCb Software Week Pere Mato/CERN

2  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis locally and on the Grid independent of physical software and hardware platform (Linux, Windows, MacOS) ◦ Decouple application lifecycle from evolution of system infrastructure ◦ Reduce effort to install, maintain and keep up to date the experiment software ◦ Lower the cost of software development by reducing the number of compiler-platform combinations 3/9/09pere.mato@cern.ch2

3  rPath Linux 1 (www.rpath.org) ◦ Slim Linux OS binary compatible with RH/SLC4  rAA - rPath Linux Appliance Agent ◦ Web user interface ◦ XMLRPC API  rBuilder ◦ A tool to build VM images for various virtualization platforms  CVMFS - CernVM file system ◦ Read only file system optimized for software distribution  Aggressive caching ◦ Operational in offline mode  For as long as you stay within the cache Build types  Installable CD/DVD  Stub Image  Raw Filesystem Image  Netboot Image  Compressed Tar File  Demo CD/DVD (Live CD/DVD)  Raw Hard Disk Image  Vmware ® Virtual Appliance  Vmware ® ESX Server Virtual Appliance  Microsoft ® VHD Virtual Apliance  Xen Enterprise Virtual Appliance  Virtual Iron Virtual Appliance  Parallels Virtual Appliance  Amazon Machine Image  Update CD/DVD  Appliance Installable ISO 3/9/093

4 pere.mato@cern.ch group-cernvm (core packages) group-cernvm (core packages) group-cernvm-devel (development tools) group-cernvm-devel (development tools) group-slc4 (SLC4 compatibility) group-slc4 (SLC4 compatibility) group- (groups and extra packages required by experiment) group- (groups and extra packages required by experiment) 100 MB compat-db4 compat-openssl compat-libstdc++slc3 compat-libxml2 compat-readline compat-tcl compat-tk group- -desktop (lightweight X environment) group- -desktop (lightweight X environment) group-cernvm-desktop (X11) group-cernvm-desktop (X11) 3/9/094

5  CernVM File System (CVMFS) is derived from Parrot (http://www.cctools.org) and its GROW-FS code base and adapted to run as a FUSE kernel module adding extra features like: ◦ possibility to use multiple file catalogues on the server side ◦ transparent file compression under given size threshold ◦ dynamical expansion of environment variables embedded in symbolic links pere.mato@cern.ch3/9/095

6 pere.mato@cern.ch3/9/096

7  Experiments publish new releases themselves ◦ Installation done in a dedicated Virtual machine, which then synchronizes with Web Server  Transparent to CernVM end-users ◦ New versions appear in the ‘local’ file system 3/9/097pere.mato@cern.ch

8  A complete Data Analysis environment is available for each Exp. ◦ Code check-out, edition, compilation, local small test, debugging, … ◦ Castor data files access, Grid submission, … ◦ Event displays, interactive data analysis, …  No user installation required !!  Suspend/Resume capability !! 3/9/09pere.mato@cern.ch8

9  Available now for download from ◦ http://cern.ch/cernvm/?page=Release1.01 http://cern.ch/cernvm/?page=Release1.01  Can be run on ◦ Linux (KVM, Xen,VMware Player, VirtualBox) ◦ Windows(WMware Player, VirtualBox) ◦ Mac (Fusion, Parallels, VirtualBox)  Release Notes ◦ http://cern.ch/cernvm/?page=ReleaseNotes http://cern.ch/cernvm/?page=ReleaseNotes  HowTo ◦ http://cern.ch/cernvm/?page=HowTo http://cern.ch/cernvm/?page=HowTo  Appliance can be configured and used with ALICE, LHCb, ATLAS (and CMS) software frameworks pere.mato@cern.ch3/9/099

10  Remove single point of failure, develop and test a Content Delivery Network  Migrate CernVM to rPath Linux 2 (SLC5 compatible)  Migration of our pilot services on IT hosted resources  Investigate CernVM as job hosting environment ◦ Voluntary computing such as BOINC ◦ Dedicated virtual facilities 3/9/09pere.mato@cern.ch10

11 pere.mato@cern.ch Primary (master) software repository Secondary software repository Secondary software repository Reverse Proxy Load Balancing Reverse Proxy Load Balancing Reverse Proxy CernVM (thin client) Site Reverse Proxy Load Balancing Reverse Proxy Regional Reverse Proxy Content Delivery Network 3/9/0911

12  To be really useful new software releases of LHCb needs to be published on CVMF ◦ Nightlies will be also desirable  The basic instructions to Librarians ◦ ssh -l -webfs.cern.ch ◦ setenv MYSITEROOT /opt/ /… ◦ install_project.py –p -v -b ◦ …test installation… ◦ /usr/bin/cvmfs-update -c (create tag) ◦ /usr/bin/cvmfs-update -p (publish)  No different than installing in any other platform 3/9/09pere.mato@cern.ch12

13 3/9/09pere.mato@cern.ch13

14  Install VMWare Fusion (http://www.vmware.com/) or VirtualBox (http://www.virtualbox.org/)http://www.vmware.comhttp://www.virtualbox.org/  Step-by-step instructions (from ATLAS) ◦ https://twiki.cern.ch/twiki/bin/view/Atlas/CernVMGuideDetail https://twiki.cern.ch/twiki/bin/view/Atlas/CernVMGuideDetail ◦ Additional instructions for VirtualBox (port forwarding)  Optionally add a User disk  Boot CernVM  Configure using Web Browser ◦ LHCb configuration ◦ User account ◦ Upgrade to ‘group-lhcb-desktop’  Start desktop (startx)  Start using as ‘lxplus’ 3/9/09pere.mato@cern.ch14

15  It is convenient to separate the ‘system’ disk from the ‘user’ disk  Instructions ◦ create the disk using VMware settings (SCSI) ◦ create partition (fdisk /mnt/sdb...) ◦ format (fsmake -L home -t ext3 /mnt/sdb1) ◦ edit /etc/fstab and add the line "LABEL=home /home ext3 defaults 1 1” ◦ create user home directory (mkdir /home/ ) 3/9/09pere.mato@cern.ch15


Download ppt "36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis."

Similar presentations


Ads by Google