INFSO-RI-508833 Enabling Grids for E-sciencE www.eu-egee.org SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.

Slides:



Advertisements
Similar presentations
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
® IBM Software Group © 2010 IBM Corporation What’s New in Profiling & Code Coverage RAD V8 April 21, 2011 Kathy Chan
Revision Control Systems Amin Tootoonchian Kian Mirjalali.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
2/6/2008Prof. Hilfinger CS164 Lecture 71 Version Control Lecture 7.
1 SVN – Tool for Version Control Talal Ahmed ( ) Ali Ahsan ( ) Adil Zia Khan ( ) Farid Ullah ( )
Subversion Takes Back the Night How Version Control makes web development better.
Tool Setup Guide to CMPS 115 Spring 06 Guozheng Ge CS Dept. UCSC April 4, 2006.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Damien Guard (BSc, MBCS) Guernsey Software Developer Forum Change management with Subversion.
Best Practices for Channel Development Al Wold Arizona State University.
Version Control at UCB Version control with Subversion and Subclipse.
Enhancing Developer Productivity using Eclipse Presented by: Tom Sausner.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
Standards for Technology in Automotive Retail STAR Workbench 1.0 Michelle Vidanes & Dave Carver STAR XML Data Architects, Certified Scrum Masters.
SubVersioN – the new Central Service at DESY by Marian Gawron.
HCJB Senior Design Team April 10, Development Tool When working with a team, the need for a central repository is essential Need a system to allow.
Linux Operations and Administration
Source Code Revision Control Software CVS and Subversion (svn)
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
Source Control Repositories for Team Collaboration: SVN, TFS, Git.
The Design Workshop Introduction to Version Control 1.
Subversion, an Open Source Version Control System An Introduction.
Revision Control and Issue Tracking Andrew Watkins.
Version Control with Subversion Quick Reference of Subversion.
Subversion Code Deployment LifeCycle August 2011.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Warmup A programmer’s wife tells him, “Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.” The programmer.
EGEE is a project funded by the European Union under contract IST Build Infrastructure & Release Procedures Integration.
Version control Using Git Version control, using Git1.
1 SEG4912 University of Ottawa by Jason Kealey Software Engineering Capstone Project Tools and Technologies.
Subversion (SVN) Tutorial Source:
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
Progress with migration to SVN Part3: How to work with g4svn and geant4tags tools. Geant4.
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Stephen Childs Trinity College Dublin &
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Stephen Childs Trinity College Dublin &
SWGData and Software Access - 1 UCB, Nov 15/16, 2006 THEMIS SCIENCE WORKING TEAM MEETING Data and Software Access Ken Bromund GST Inc., at NASA/GSFC.
© 2008 by Shawn Spiars; made available under the EPL v1.0 | March 17, 2008 Case Study – Phurnace Software and RCP Shawn Spiars Lead UI Developer Phurnace.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
© 2002 IBM Corporation Transaction Processing Facility TPF Users Group Acapulco May 2004 © 2004 IBM Corporation Pete Nicholls IBM Toronto Lab TPF Toolkit.
All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,
Part 4: FCM and the UM University of Reading, December 2015.
K. Harrison CERN, 22nd September 2004 GANGA: ADA USER INTERFACE - Ganga release status - Job-Options Editor - Python support for AJDL - Job Builder - Python.
INFSO-RI Enabling Grids for E-sciencE Pan Compiler C. Loomis (LAL-Orsay) Quattor Workshop (Madrid) October 2007.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
Transition to SVN server: follow up P.Hristov 24/01/2008.
SVN code server for AliRoot P.Hristov 18/10/2007.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
(1) Introduction to Subversion (SVN) and Google Project Hosting Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
NALINI S. NAUTIYAL SYSTEM SOFTWARE DIVISION Subversion.
CS520 Web Programming Version Control with Subversion Chengyu Sun California State University, Los Angeles.
SCDB Update Michel Jouvin LAL, Orsay March 17, 2010 Quattor Workshop, Thessaloniki.
Software Configuration Management -Subversion- RTLAB YuJin Park.
Version Control with Subversion
Quattor Usage at Nikhef
Concurrent Version Control
Source Code Management
slides borrowed and adapted from Alex Mariakis and CSE 390a
Presentation transcript:

INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI Outline Design Goals Implementation Status How to use it ?

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI Design Goals Multi-cluster mgt./configuration Hierarchical arrangement of templates Treat configuration directly as code mgt. –Branching, tagging,... –Merging, conflict resolution,... Usable “offline” –modification, checking, building,... Must work on linux, Mac OSX, windows, solaris Complete, secure control of cluster from my laptop!

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI Implementation Choices Relies as much as possible on existing tools. Subversion –Directory management –Atomic commits Ant –Equivalent of “make” for Java –Framework for including new “tasks” –Method for executing simple workflows Eclipse (optional) –Provides GUI interface –Integrates well with Subversion and ant (and PAN with little effort)

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI Dependencies Apache 2 server Subversion server/client –Subversion server can be an Apache module or standalone Java 1.5 Pan compiler Ant Eclipse –Mandatory plug-ins : Subclipse, JavaSVN –Optional plug-ins : Colorer Editor, SunShade

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI How It Works ? (Server Side) When configuration is tagged for deployment, compile the configuration on the Web server that serves profiles. –Compilation launched using a SVN hook script –Web server maintains a local workspace from the repository  svn update (switch) to update this copy with last modifications  Compilation using same ant procedure as the user Key based ssh between SVN server and quattor server if on different machines –Plan to move to CGI

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI How To Use It ? Command line –‘svn co / update’ to get a fresh copy/update local workspace –Edit templates –Compile locally and fix errors : ‘ant’ –svn ci to commit changes to repository –‘ant deploy’ : deploy changes  Checks compilation succeeded, no local changes not committed and no changes in the repository not in the local workspace  Involves creation of a SVN branch (tag) and compilation of this branch on the server (not sensitive to further changes to repository) –Can take advantage of all SVN features  Branching, merge, directory renames, revert…

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI How To Use It ? Eclipse GUI : menus for everything –+ : PAN syntax colouring –+ : Error messages are URLs to source code causing the error –+ : Ant targets displayed –- : PAN very slow on Windows (2x Linux) –Deploy not working on Windows if home directory on a network drive Check machine profiles for changes (optional) –Allow to verify before deploying that mods are what expected –Require to save previous result of compilation –A script provided in util/profiles in Quattor CVS repository

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI Eclipse GUI Screenshot

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI SWrep Alternative Not totally part of SCDB… but related Goal : avoid deploying a specific service if you just need http access to RPMs –Some lacking features : ACLs, transport other than http Repository = 1 directory in Apache documents –Matched to a URL –Access control for updating is provided by the file system 1 template associated with each repository –Must be in a repository/ directory –Updated by ‘ant update.rep.templates’ with directory content

SCDB – C. Loomis / M.Jouvin – 16/6/ Enabling Grids for E-sciencE INFSO-RI Status and Documentation Latest release available: – Components: –Build files (300 LOC)  quattor.build.properties, cluster.build.properties (per cluster)  build.xml, quattor.build.xml, lal.tasks.xml,... –quattor.jar (2k LOC) : ant tasks (pure java)  PanSyntaxTask, PanCompileTask  SvnTagTask, NotifyClientTask  RepositoryTask –Subversion hook scripts (200 LOC) –Eclipse PAN integration (100 LOC) Documentation : Quattor Installation Guide