Introduction to CVMFS A way to distribute HEP software on cloud

Slides:



Advertisements
Similar presentations
Delivering Experiment Software to WLCG sites A new approach using the CernVM Filesystem (cvmfs) Ian Collier – RAL Tier 1 HEPSYSMAN.
Advertisements

Copyright 2009 FUJITSU TECHNOLOGY SOLUTIONS PRIMERGY Servers and Windows Server® 2008 R2 Benefit from an efficient, high performance and flexible platform.
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
1 Bridging Clouds with CernVM: ATLAS/PanDA example Wenjing Wu
CVMFS: Software Access Anywhere Dan Bradley Any data, Any time, Anywhere Project.
Linux Operations and Administration
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Distributed Computing for CEPC YAN Tian On Behalf of Distributed Computing Group, CC, IHEP for 4 th CEPC Collaboration Meeting, Sep ,
Barracuda Load Balancer Server Availability and Scalability.
Word Wide Cache Distributed Caching for the Distributed Enterprise.
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Introduction to CVMFS A way to distribute HEP software on cloud Tian Yan (IHEP Computing Center, BESIIICGEM Cloud Computing Summer School.
By: Ashish Gohel 8 th sem ISE.. Why Cloud Computing ? Cloud Computing platforms provides easy access to a company’s high-performance computing and storage.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Support in setting up a non-grid Atlas Tier 3 Doug Benjamin Duke University.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Changes to CernVM-FS repository are staged on an “installation box" using a read/write file system interface. There is a dedicated installation box for.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen CERN
6/23/2005 R. GARDNER OSG Baseline Services 1 OSG Baseline Services In my talk I’d like to discuss two questions:  What capabilities are we aiming for.
DPM Python tools Ivan Calvet IT/SDC-ID DPM Workshop 10 th October 2014.
2012 Objectives for CernVM. PH/SFT Technical Group Meeting CernVM/Subprojects The R&D phase of the project has finished and we continue to work as part.
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
Using CVMFS to serve site software Sarah Williams Indiana University 2/01/121.
+ AliEn site services and monitoring Miguel Martinez Pedreira.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen Budapest
Image Distribution and VMIC (brainstorm) Belmiro Moreira CERN IT-PES-PS.
T3g software services Outline of the T3g Components R. Yoshida (ANL)
Testing CernVM-FS scalability at RAL Tier1 Ian Collier RAL Tier1 Fabric Team WLCG GDB - September
CernVM-FS Infrastructure for EGI VOs Catalin Condurache - STFC RAL Tier1 EGI Webinar, 5 September 2013.
CVMFS: Software Access Anywhere Dan Bradley Any data, Any time, Anywhere Project.
Feedback from CMS Andrew Lahiff STFC Rutherford Appleton Laboratory Contributions from Christoph Wissing, Bockjoo Kim, Alessandro Degano CernVM Users Workshop.
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.
Predrag Buncic (CERN/PH-SFT) CernVM Status. CERN, 24/10/ Virtualization R&D (WP9)  The aim of WP9 is to provide a complete, portable and easy.
Breaking the frontiers of the Grid R. Graciani EGI TF 2012.
CernVM-FS – Best Practice to Consolidate Global Software Distribution Catalin CONDURACHE, Ian COLLIER STFC RAL Tier-1 ISGC15, Taipei, March 2015.
Considerations on Using CernVM-FS for Datasets Sharing Within Various Research Communities Catalin Condurache STFC RAL UK ISGC, Taipei, 18 March 2016.
Cofax Scalability Document Version Scaling Cofax in General The scalability of Cofax is directly related to the system software, hardware and network.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Setting Up a Repository.
CVMFS Alessandro De Salvo Outline  CVMFS architecture  CVMFS usage in the.
Predrag Buncic, CERN/PH-SFT The Future of CernVM.
CHEP 2010 Taipei, 19 October Predrag Buncic Jakob Blomer, Carlos Aguado Sanchez, Pere Mato, Artem Harutyunyan CERN/PH-SFT.
Linux Basics Part 2. VIM Editor vi improved Installed on most Linux machines Can be a bit confusing at first... o Cheat sheets FTW Other popular editors:
Packaging and Deploying Windows Applications
CernVM-FS vs Dataset Sharing
Abstract After a SIG has been approved, one of the next steps is to get products out to users. During this talk, Niels will explain how the Storage SIG.
Status of BESIII Distributed Computing
Use of HLT farm and Clouds in ALICE
By: Raza Usmani SaaS, PaaS & TaaS By: Raza Usmani
AWS Integration in Distributed Computing
Virtualisation for NA49/NA61
NA61/NA49 virtualisation:
Dag Toppe Larsen UiB/CERN CERN,
NA4/medical imaging. Medical Data Manager Installation
CCNA Routing and Switching Routing and Switching Essentials v6.0
Progress on NA61/NA49 software virtualisation Dag Toppe Larsen Wrocław
Dag Toppe Larsen UiB/CERN CERN,
Installation, setup and use - Ferro Backup – V1.1
Quattor in Amazon Cloud
StratusLab Final Periodic Review
StratusLab Final Periodic Review
WLCG experiments FedCloud through VAC/VCycle in the EGI
Virtualisation for NA49/NA61
DriveScale Proprietary Information © 2016
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
WLCG Demonstrator R.Seuster (UVic) 09 November, 2016
CernVM Status Report Predrag Buncic (CERN/PH-SFT).
Chapter 10: Device Discovery, Management, and Maintenance
Microsoft Virtual Academy
Presentation transcript:

Introduction to CVMFS A way to distribute HEP software on cloud Tian Yan (IHEP Computing Center, yant@ihep.ac.cn) 2016 BESIIICGEM Cloud Computing Summer School 2016/07/21, Shandong University, Jinan

Introduction to CVMFS, Tian Yan, 2016/07/21 Outline Overview How does CVMFS work? Install and configure CVMFS server and client Debugging Summary Introduction to CVMFS, Tian Yan, 2016/07/21

Part I OVERVIEW

Introduction to CVMFS, Tian Yan, 2016/07/21 What is CVMFS? CVMFS = CERNVM File System POSIX read-only network file system based on HTTP designed and optimized for HEP software distribution official site: http://cernvm.cern.ch/portal/filesystem Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Why we use it? Widely used in HEP community developed in CERN and widely used in WLCG Fast based on HTTP, allow exploitation of web caches (e.g. squid, commercial content delivery networks) aggressively cached to reduce latency transfer data and metadata on demand Flexible filesystem versioning and hotpatching file-by-file software in VM/Docker image need further packaged Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Why we use it? Scalable stratum 0 (release manager machine), stratum 1(mirror) automatic mirror server selection based on geographic proximity use web/local cache to reduce direct access to server Reliable it verifies data integrity by cryptographic hashes Easy to install, configure and maintain based on HTTP, firewall friendly can be installed by one shell script it’s stable Introduction to CVMFS, Tian Yan, 2016/07/21

Part II How does it work?

Introduction to CVMFS, Tian Yan, 2016/07/21 A glance left side is client; right side is server with http interface virtual filesystem based on FUSE in user space load data only on access Introduction to CVMFS, Tian Yan, 2016/07/21

Openning a file on CVMFS FUSE: filesystem in user space metadata stored in SQLite DB Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 CVMFS server stratums for cern.ch dormain Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 CVMFS repository CVMFS repository is a form of content-addressable storage publish: create file catalog, compress data, calculate hash Introduction to CVMFS, Tian Yan, 2016/07/21

How to install, configure and debug it? Part III How to install, configure and debug it?

Install stratum 0 server Install AUFS-enabled kernel on SL6 # wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm # yum install cvmfs-release*.rpm # yum –disablerepo=“*” –enablerepo=“cernvm-kernel” install kernel # yum –enablerepo=“cernvm-kernel” install aufs2-util # reboot Install cvmfs packages # yum install cvmfs cvmfs-server Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Creating a repository create a repository (bes3.ihep.ac.cn) # cvmfs_server mkfs bes3.ihep.ac.cn update the repository # cvmfs_server transaction bes3.ihep.ac.cn add/edit/delete files/directories in /cvmfs/bes3.ihep.ac.cn publish the repository # cvmfs_server publish bes3.ihep.ac.cn if you want to clear all changes and start over again: # cvmfs_server abort bes3.ihep.ac.cn Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Paths in CVMFS server Some notable file paths in cvmfs server /srv/cvmfs, /srv/cvmfs/<fqrn>, /var/spool/cvmfs can be symlinked to another location before creating the repository Path Description /cvmfs repository mount point, read-only AUFS mountpoints /srv/cvmfs central repo. storage location /srv/cvmfs/<fqrn> storage location of a specific repo. /var/spool/cvmfs internal states of the repo. /etc/cvmfs configuration files and keychains Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Install client Install cvmfs packages: # yum install cvmfs cvmfs-config-default create a file /etc/cvmfs/default.local with content: CVMFS_REPOSITORIES=bes3.ihep.ac.cn CVMFS_HTTP_PROXY=DIRECT CVMFS_CACHE_BASE=/path/to/your/cache/dir CVMFS_QUOTA_LIMIT=10240 create file /etc/cvmfs/config.d/bes3.ihep.ac.cn with content: CVMFS_SERVER_URL=http://your.server/cvmfs/bes3.ihep.ac.cn CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/bes3.ihep.ac.cn.pub Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Install client copy the key in CVMFS server to the same dir in client: /etc/cvmfs/keys/bes3.ihep.ac.cn.pub setup # setenforce 0 # cvmfs_config setup # service autofs restart check if it can be mounted # cvmfs_config probe Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Debugging Check if misconfiguration exist # cvmfs_config chksetup show all the configuration parameters # cvmfs_config showconfig bes3.ihep.ac.cn to exclude autofs/automount as a source of problem, try to mount repo. manually # mount –t cvmfs bes3.ihep.ac.cn /mnt/cvmfs to exclude SELinux as a source of problem, disable it by # setenforce 0 Introduction to CVMFS, Tian Yan, 2016/07/21

Introduction to CVMFS, Tian Yan, 2016/07/21 Summary CVMFS is a widely used filesystem to distributed HEP software in grid, cloud, and cluster sites over WAN It’s a POSIX read-only network filesystem based on FUSE, HTTP, AUFS etc. You can try setting up a server and client on VMs. Thank you! Introduction to CVMFS, Tian Yan, 2016/07/21