June 22, 2007USATLAS T2-T3 DQ2 0.3 SiteServices Patrick McGuigan

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Pakiti.
MySQL Installation Guide. MySQL Downloading MySQL Installer.
Program Management Portal: Overview for the Client
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Setting up and configuring BCO EE (BPA) Linux Console How I Learned to Stop Worrying and Love BCO EE Dima Seliverstov 3/3/2014.
Grid and CDB Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Introduction to MySQL Administration.  Server startup and shutdown ◦ How to manually start and stop it from the command line ◦ How to arrange an automated.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
11 SUPPORTING LOCAL USERS AND GROUPS Chapter 3. Chapter 3: Supporting Local Users and Groups2 SUPPORTING LOCAL USERS AND GROUPS  Explain the difference.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Complete Weekly Timesheets Select work. Add hours and comments Tell Mgr if ETC=0 and need more time. Tell Mgr if using someone else’s ETC. End week, change.
Patch Management Module 13. Module You Are Here VMware vSphere 4.1: Install, Configure, Manage – Revision A Operations vSphere Environment Introduction.
Solaris Software Packaging and Installation Paul Foster 14/11/2000.
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
The ATLAS Production System. The Architecture ATLAS Production Database Eowyn Lexor Lexor-CondorG Oracle SQL queries Dulcinea NorduGrid Panda OSGLCG The.
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.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
© 2010 VMware Inc. All rights reserved Patch Management Module 13.
1 Team Leader TKS Job Aid. 2 Viewing the On-line Presentation If you are viewing this presentation via Internet Explorer for best results resize the “Notes”
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
© 2012 Avaya, Inc. All rights reserved, Page 1 Module Duration: Module 05: Handling Data in Bulk 3 Hours.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
Introduction to Test Director
How to Install and Use the DQ2 User Tools US ATLAS Tier2 workshop at IU June 20, Bloomington, IN Marco Mambelli University of Chicago.
A. Sim, CRD, L B N L 1 OSG Applications Workshop 6/1/2005 OSG SRM/DRM Readiness and Plan Alex Sim / Jorge Rodriguez Scientific Data Management Group Computational.
DDM-Panda Issues Kaushik De University of Texas At Arlington DDM Workshop, BNL September 29, 2006.
MAGDA Roger Jones UCL 16 th December RWL Jones, Lancaster University MAGDA  Main authors: Wensheng Deng, Torre Wenaus Wensheng DengTorre WenausWensheng.
Introduction to AFS IMSA Intersession 2003 AFS Servers and Clients Brian Sebby, IMSA ‘96 Copyright 2003 by Brian Sebby, Copies of these.
A Brief Documentation.  Provides basic information about connection, server, and client.
BNL DDM Status Report Hironori Ito Brookhaven National Laboratory.
Open Science Grid OSG CE Quick Install Guide Siddhartha E.S University of Florida.
DDM Monitoring David Cameron Pedro Salgado Ricardo Rocha.
T3 analysis Facility V. Bucard, F.Furano, A.Maier, R.Santana, R. Santinelli T3 Analysis Facility The LHCb Computing Model divides collaboration affiliated.
David Adams ATLAS DIAL/ADA JDL and catalogs David Adams BNL December 4, 2003 ATLAS software workshop Production session CERN.
Nurcan Ozturk University of Texas at Arlington US ATLAS Transparent Distributed Facility Workshop University of North Carolina - March 4, 2008 A Distributed.
Microsoft Management Seminar Series SMS 2003 Change Management.
Linux+ Guide to Linux Certification, Third Edition
CMap Version 0.16 Ben Faga. CMap CMap Version 0.16 Bug fixes and code optimizations More intuitive menu system Asynchronous loading of comparative map.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
INFSO-RI Enabling Grids for E-sciencE ATLAS DDM Operations - II Monitoring and Daily Tasks Jiří Chudoba ATLAS meeting, ,
David Adams ATLAS ATLAS distributed data management David Adams BNL February 22, 2005 Database working group ATLAS software workshop.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America SRM + gLite IO Server install Emidio Giorgio.
INFSO-RI Enabling Grids for E-sciencE /10/20054th EGEE Conference - Pisa1 gLite Configuration and Deployment Models JRA1 Integration.
David Adams ATLAS ATLAS-ARDA strategy and priorities David Adams BNL October 21, 2004 ARDA Workshop.
Open Science Grid Build a Grid Session Siddhartha E.S University of Florida.
INFSO-RI Enabling Grids for E-sciencE Installing & configuring Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.
David Adams ATLAS ATLAS Distributed Analysis (ADA) David Adams BNL December 5, 2003 ATLAS software workshop CERN.
Finding Data in ATLAS. May 22, 2009Jack Cranshaw (ANL)2 Starting Point Questions What is the latest reprocessing of cosmics? Are there are any AOD produced.
DDM Central Catalogs and Central Database Pedro Salgado.
Data Analysis w ith PROOF, PQ2, Condor Data Analysis w ith PROOF, PQ2, Condor Neng Xu, Wen Guan, Sau Lan Wu University of Wisconsin-Madison 30-October-09.
Distributed Data Management Miguel Branco DDM development Architecture and developers workplan on behalf of the DDM group.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
The GridPP DIRAC project DIRAC for non-LHC communities.
A GANGA tutorial Professor Roger W.L. Jones Lancaster University.
David Adams ATLAS ADA: ATLAS Distributed Analysis David Adams BNL December 15, 2003 PPDG Collaboration Meeting LBL.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
Data Management at Tier-1 and Tier-2 Centers Hironori Ito Brookhaven National Laboratory US ATLAS Tier-2/Tier-3/OSG meeting March 2010.
VO Box discussion ATLAS NIKHEF January, 2006 Miguel Branco -
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
Open Science Grid Configuring RSV OSG Resource & Service Validation Thomas Wang Grid Operations Center (OSG-GOC) Indiana University.
US ATLAS DDM Operations Alexei Klimentov, BNL US ATLAS Tier-2 Workshop UCSD, Mar 8 th 2007.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Upgrade SFX V3 to V4 Lieve Rottiers.
Chapter 11: Managing Users
Discussions on group meeting
User Guide Subversion client TortoiseSVN
Cloud Migration Training
Presentation transcript:

June 22, 2007USATLAS T2-T3 DQ2 0.3 SiteServices Patrick McGuigan

June 22, 2007 USATLAS T2-T3 Outline SiteServices Installation Operation LRC Impacts Management

June 22, 2007 USATLAS T2-T3 SiteServices Installation Installation Instructions  OSG specific recommendations/additions shown later USATLAS TWiki page for documenting progress Pre-installation Checklist  Different machine from LRC  RHEL4/SL4/SLC4  MySQL 5.1 See section 2.6 for /etc/my.cnf  APT

June 22, 2007 USATLAS T2-T3 Installation (cont.) As root $ apt-get check $ apt-get -f remove Add gLite/DQ2 repositories to apt configuration (see instructions) $ apt-get update $ apt-get install dq2-siteservices $ apt-get install fetch-crl $ apt-get install lcg-CA

June 22, 2007 USATLAS T2-T3 Configuration MySQL account for running DQ2  OSG recommendation Step 2.6: Don’t use dq2user/dqpwd Don’t need: GRANT ALL PRIVILEGES ON _dq2.* TO IDENTIFIED BY '$DBPWD‘; $. /opt/dq2/profile.d/dq2_post_install.sh

June 22, 2007 USATLAS T2-T3 Configuration OSG Recommendation:  Remove world readable config files  After running dq2_post_install.sh but before modifying config files do: $ chown –R. /opt/dq2/etc $ chmod –R o-r /opt/dq2/etc

June 22, 2007 USATLAS T2-T3 Organization /opt/dq2/  bin/ contains dq2 client commands  etc/ contains configuration files  profile.d/ contains source file  doc/ html documentation /opt/glite FTS clients / glite-gridftp-mkdir /opt/lcg LFC client /opt/globus VDT as released by gLite /opt/dashboard Dashboard services (not ARDA) /usr/lib/python2.3/site-packages/dq2 Code

June 22, 2007 USATLAS T2-T3 Site Customizations Login as. Provide contact string for _dq2 write account /opt/dq2/etc/dq2-agents/dq2-agents.cfg dbconnection=mysql:// Provide contact string for LRC write account /opt/dq2/etc/dq2-info/dq2-info.cfg catalog_ =mysql:// :3306/localreplicas Provide MyProxy Password /opt/dq2/etc/dq2-transfertool-fts/dq2-transfertool-fts.cfg defaultMyProxyPassword= Provide site name(s) to be served /opt/dq2/etc/dq2-service-fetcher/dq2-service-fetcher.cfg sites=UTA_TEST1,UTA_SWT2

June 22, 2007 USATLAS T2-T3 Site Customizations (cont.) Provide override for storage location [OPTIONAL] /opt/dq2/etc/dq2-info/dq2-info.cfg srm_ =gsiftp:// /different/path/ Alter storage location by dataset pattern [OPTIONAL] /opt/dq2/etc/dq2-agents-subscription/dq2-agents-subscription.cfg storagePattern={'.*AOD.*': ' :// /different/path/AOD/'} This is a Python dictionary where regular expressions (re module) are keys and storage URL’s are values Create script file ~/setup.sh for and source it export X509_USER_PROXY="/tmp/x509up_u`id -u`" export MYPROXY_SERVER="myproxy.usatlas.bnl.gov“ export http_proxy=some.host.name source /opt/dq2/profile.d/dq2_env.sh

June 22, 2007 USATLAS T2-T3 Starting Service FIRST TIME ONLY $ dq2site-recreate-database Proxies (30days): $ grid-proxy-init –valid 720:00 $ myproxy-init -d -c 720 Normal operation: $ dashb-agent-start dq2udpserver $ dashb-agent-start dq2agents $ dashb-agent-start dq2fetcher

June 22, 2007 USATLAS T2-T3 Stopping Services $ dashb-agent-stop dq2fetcher $ dashb-agent-stop dq2agents $ dashb-agent-stop dq2udpserver

June 22, 2007 USATLAS T2-T3 Catalogs Clients DQ used dq2 command with operation as parameter DQ2 0.3 uses separate commands:  dq2-register-subscription  dq2-delete-subscription  dq2-list-dataset  See /opt/dq2/bin

June 22, 2007 USATLAS T2-T3 Logging Logging is less specific than 0.2.X Default configuration puts log in /tmp/dq2.log Override in /opt/dq2/etc/logging.cfg logging.cfg:args=('/tmp/dq2.log','a', ,5) ARDA Monitoring is using test instance at:

June 22, 2007 USATLAS T2-T3 Outstanding Issues Allowing subscriber to specify share LFC client is generating spurious output to shell DQ2 logs contain warning about proxy Location of dashboard lock files dashb-agent-stop sometimes fails Agents can take some time to stop PFN’s might be renamed; leaf no longer LFN

June 22, 2007 USATLAS T2-T3 Where we are today (6/22) BNLPANDA, BU, AGLT2, UTA_SWT2, SLACXRD have latest code UTA_SWT2 in production, but … Serious problem seems to exist with how DQ2 is handling Panda’s sub datasets Can’t resume AOD replication Much more testing is needed

June 22, 2007 USATLAS T2-T3 LRC implications New LRC being developed Most locations using existing LRC’s  LRC coupled to a DQ installation  Sites that rotate NFS storage need to change files on multiple machines Installing the current LRC, via pacman, needs to be fixed

June 22, 2007 USATLAS T2-T3 Site Management DQ2 schedules data movement DQ2 does not manage the storage location Quotas don’t provide mechanism for this  What if production system is at quota? How to decide what to delete? How to automate this so that production can stay below some cap? How to manage this for users/groups

June 22, 2007 USATLAS T2-T3 cleanse.py Walks filesystem; takes leaf names as LFN Looks for LFN in local LRC and BNL LRC Respects archival flag of local LRC Deletes files that are replicated at BNL if downloaded more than 5 days ago

June 22, 2007 USATLAS T2-T3 cleanse.py Drawbacks:  Slow: Not using bulk methods for LRC lookups  Deletes LRC first then physical copy  Not aggressive Files not in local LRC are not deleted  Proposing 3 day limit Files not in BNL LRC are not deleted  Proposing 3 week limit  Not particularly intelligent Deletes as many files as possible Doesn’t order files

June 22, 2007 USATLAS T2-T3 deleteDatasetLocal.py Deletes a named dataset from storage/LRC Issues:  Does not respect archival flag?  Needs to be updated for dq2 0.3

June 22, 2007 USATLAS T2-T3 Aborted datasets How to delete these from Tier 2’s Alexei maintains list of datatsets that have been aborted Wensheng maintains list of guid’s that could be at T2 Several options: 1. Use deleteDatasetLocal.py by getting dataset names from Alexei’s db 2. Modify cleanse.py to gather list from Wensheng’s DB 3. Have Wensheng’s script overload archival flag; modify cleanse.py to delete “D” flags 4. Modify cleanse.py as mentioned before to delete files not at BNL My vote is 4 If BNL deletes their file/LRC entry, a copy at Tier2 would be available for deletion within 3 weeks