22nd April 2002 Steve Traylen, RAL, 1 LCFG Installation Steve Traylen. LCFG – A tool for installation and configuration. UK HEP SYSMAN,

Slides:



Advertisements
Similar presentations
LNL M.Biasotto, Roma, 22 novembre Some notes on WP6 INFN Testbed.
Advertisements

E. Ferro, CNAF, aprile LCFG: testbed upgrade Enrico Ferro INFN-LNL.
LCFG overview and future Michael George University of Liverpool
Andrew McNab - Manchester HEP - 10 May 2002 UK Testbed Deployment Aim of this talk is to the answer the questions: –What are other sites doing? –What are.
Andrew McNab - Manchester HEP - 22 April 2002 EU DataGrid Testbed EU DataGrid Software releases Testbed 1 Job Lifecycle Authorisation at your site More.
Working with Disks and Devices
Linux+ Guide to Linux Certification, Second Edition
The EDG Testbed Introduction and Setup The European DataGrid Project Team
NIS Consistent configuration across the network. Why NIS? Primary reason is to provide same user configuration across the network Users go any machine.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
27-29 September 2002CrossGrid Workshop LINZ1 USE CASES (Task 3.5 Test and Integration) Santiago González de la Hoz CrossGrid Workshop at Linz,
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
CompTIA Linux+ Certification
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 WP4 hands-on workshop: EDG LCFGng exercises
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
WP4-install task report WP4 workshop Barcelona project conference 5/03 German Cancio.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 How to write LCFGng components for EDG 10/2002
EDG LCFGng: concepts Fabric Management Tutorial - n° 2 LCFG (Local ConFiGuration system)  LCFG is originally developed by the.
1 Linux in the Computer Center at CERN Zeuthen Thorsten Kleinwort CERN-IT.
Network Installation Objectives –Manage linux installation from network install server Contents –Preparing for a network installation –Setting up the install.
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
ITI-481: Unix Administration Meeting 3. Today’s Agenda Hands-on exercises with booting and software installation. Account Management Basic Network Configuration.
E. Ferro, CNAF, april Enrico Ferro INFN-LNL LCFG: testbed upgrade.
NIKHEF Test Bed Status David Groep
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
Partner Logo DataGRID WP4 - Fabric Management Status HEPiX 2002, Catania / IT, , Jan Iven Role and.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
UCY HPCL Introduction to the CrossGrid Testbed George Tsouloupas UCY HPCL.
LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed in conjunction with GridPP and EGEE Running LCG, Handy Hints and Tips.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 LCFGng configuration examples Updated 10/2002
EDG Testbed installation and configuration with LCFGng Maite Barroso - WP4
05/29/2002Flavia Donno, INFN-Pisa1 Packaging and distribution issues Flavia Donno, INFN-Pisa EDG/WP8 EDT/WP4 joint meeting, 29 May 2002.
First attempt for validating/testing Testbed 1 Globus and middleware services WP6 Meeting, December 2001 Flavia Donno, Marco Serra for IT and WPs.
German Cancio – WP4 developments Partner Logo System Management: Node Configuration & Software Package Management
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
20-May-2003HEPiX Amsterdam EDG Fabric Management on Solaris G. Cancio Melia, L. Cons, Ph. Defert, I. Reguero, J. Pelegrin, P. Poznanski, C. Ungil Presented.
G. Cancio, L. Cons, Ph. Defert - n°1 October 2002 Software Packages Management System for the EU DataGrid G. Cancio Melia, L. Cons, Ph. Defert. CERN/IT.
Kickstart Installation
Ariel Garcia LCG cluster installation, EGEE training, Ariel Garcia - IWR LCG Cluster Installation Forschungszentrum Karlsruhe in der Helmholtz-Gemeinschaft.
Installing, running, and maintaining large Linux Clusters at CERN Thorsten Kleinwort CERN-IT/FIO CHEP
SPMA & SWRep: Basic exercises HEPiX hands-on, NIKHEF 5/03 German Cancio
1 Linux Security. 2 Linux is not secure No computer system can ever be "completely secure". –make it increasingly difficult for someone to compromise.
University of Bristol 5th GridPP Collaboration Meeting 16/17 September, 2002Owen Maroney University of Bristol 1 Testbed Site –EDG 1.2 –LCFG GridPP Replica.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Sep. 25, 2015.
M.Biasotto, CERN, 5 november Fabric Management Massimo Biasotto, Enrico Ferro – INFN LNL.
C. Aiftimiei, E. Ferro / January LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL.
2-Sep-02Steve Traylen, RAL WP6 Test Bed Report1 RAL and UK WP6 Test Bed Report Steve Traylen, WP6
E. Ferro, CNAF, april Enrico Ferro INFN-LNL Installation of a LCFG server.
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
EGEE is a project funded by the European Union under contract IST GLite Integration Infrastructure Integration Team JRA1.
Linux Operations and Administration
19 July 2003LCG2 Admin Course – Grid ElementsSlide 1 LCG2 Administrators Course Oxford University, 19 th- 21 st July 2004 LCG Grid Elements Steve Traylen.
The EDG Testbed The European DataGrid Project Team
15-Feb-02Steve Traylen, RAL WP6 Test Bed Report1 RAL/UK WP6 Test Bed Report Steve Traylen, WP6 PPGRID/RAL, UK
Linux Configuration using April 12 th 2010 L. Brarda / CERN (some slides & pictures taken from the Quattor website) ‏
The EDG Testbed The European DataGrid Project Team
CERN 19/06/2002 Kickstart file generator Andrea Chierici (INFN-CNAF) Enrico Ferro (INFN-LNL) Marco Serra (INFN-Roma)
TP: Grid site installation BEINGRID site installation.
Automated installations
The European DataGrid Project Team
WP4-install status update
DHCP server & Client Objectives Contents
CompTIA Server+ Certification (Exam SK0-004)
SUSE Linux Enterprise Desktop Administration
The EU DataGrid Fabric Management Services
Presentation transcript:

22nd April 2002 Steve Traylen, RAL, 1 LCFG Installation Steve Traylen. LCFG – A tool for installation and configuration. UK HEP SYSMAN, RAL. 22 nd April 2002.

22nd April 2002 Steve Traylen, RAL, 2 About LCFG Started at Edinburgh 9 years ago by Alastair Scobie and Paul Anderson. Installs an RPM based Linux system and configures it. Each machine defined by exactly one profile. Management also possible; the main difference to Kickstart type methods.

22nd April 2002 Steve Traylen, RAL, 3 LCFG Server Components. DHCP Server Provides network information. Software Manages the rpm repository and machine profiles. NFS Server Serves RPM repository. Web Server Server XML machine profiles.

A collection of agents read configuration parameters and either generate traditional config files or directly manipulate various services Abstract configuration parameters for all nodes stored in a central repository ldxprof Load Profile Generic Component Profile Object rdxprof Read Profile LCFG Objects Local cache Client nodes Web Server HTTP XML Profile LCFG Config Files Make XML Profile Server +inet.services telnet login ftp +inet.allow telnet login ftp sshd +inet.allow_telnet ALLOWED_NETWORKS +inet.allow_login ALLOWED_NETWORKS +inet.allow_ftp ALLOWED_NETWORKS +inet.allow_sshd ALL +inet.daemon_sshd yes auth.users myckey +auth.userhome_mickey /home/mickey +auth.usershell_mickey /bin/tcsh +inet.services telnet login ftp +inet.allow telnet login ftp sshd +inet.allow_telnet ALLOWED_NETWORKS +inet.allow_login ALLOWED_NETWORKS +inet.allow_ftp ALLOWED_NETWORKS +inet.allow_sshd ALL +inet.daemon_sshd yes auth.users myckey +auth.userhome_mickey /home/mickey +auth.usershell_mickey /bin/tcsh Config files , /home/MickeyMouseHome /bin/tcsh , /home/MickeyMouseHome /bin/tcsh XML profiles Profile Object inet auth /etc/services /etc/inetd.conf /etc/hosts.allow in.telnetd : , in.rlogind : , in.ftpd : , sshd : ALL /etc/hosts.allow in.telnetd : , in.rlogind : , in.ftpd : , sshd : ALL /etc/shadow /etc/group /etc/passwd.... mickey:x:999:20::/home/Mickey:/bin/tcsh.... /etc/passwd.... mickey:x:999:20::/home/Mickey:/bin/tcsh.... Enrico Ferro, INFN-LNL How LCFG Works in One Slide.

22nd April 2002 Steve Traylen, RAL, 5 Documentation Server installation guide from WP4 on on Testbed installation guide using LCFG from WP6 LCFG Extras, experiances from RAL. extras/ extras/

22nd April 2002 Steve Traylen, RAL, 6 Software Installation Install a plain Redhat 6.2. Directory /opt/local requires 4-6 gigabytes. Apply Redhat’s updates except for RPM v4. Install edg-updaterep rpm. Review ` man updaterep ` and /etc/updaterep.conf. Running /usr/sbin/updaterep grabs everything. Install RPMs in documentation.

22nd April 2002 Steve Traylen, RAL, 7 Prepare NFS Directory /opt/local/linux contains all the RPMS and rpm lists. Add /opt/local/linux *(ro) to /etc/exports. LCFG clients use an NFS mounted root file system at install time located at /opt/local/linux/installroot/6.2 RPM list for root file system is /opt/local/linux/6.2/rpmcfg/installroot Run make installroot to build the root fs /opt/local/linux/installroot.

22nd April 2002 Steve Traylen, RAL, 8 Fetch Machine Profiles and RPM Lists Maintained in CVS as module edg-release. CVS tag of edg-release is the overall version of datagrid software, e.g. 1.0, 1.1, Set up CVS as described and check out the current release: cvs checkout –r v1_1_4 edg-release. Profiles: cp edg-release/source/* /var/obj/conf/profile/source/. RPM lists: cp edg-release/rpmcfg/* /opt/local/linux/6.2/rpmcfg/.

22nd April 2002 Steve Traylen, RAL, 9 Customise Machine Profile Located in /var/obj/conf/profile/source. Edit site-cfg.h => globus.conf, info-mds.conf, gdmp.conf and others. Files testbed001 - testbed004 are sample UI, CE, SE and WN. Rename one, e.g. gppui. Edit gppui ; hostname and hardware. +update.modlist eepro100 +update.mod_eepro100 alias eth0 eepro100 +update.rootpwd hj%4aJkf\k45

22nd April 2002 Steve Traylen, RAL, 10 Compile Machine Profile Compile gppui profile with /usr/sbin/mkxprof –v –A gppui. Common errors include:  File not found.  Undefined attributes.  Duplicate values.

22nd April 2002 Steve Traylen, RAL, 11 Verify RPM Lists Located in /opt/local/linux/6.2/rpmcfg. One per node type, CE-rpm, UI-rpm, NM- rpm, RB-rpm, SE-rpm and WN-rpm. Use make create TARGET=CE-rpm. Common errors:  File not found.  Missing RPMS caused by update in the lists or updates in available RPMS.

22nd April 2002 Steve Traylen, RAL, 12 Install Clients Boot floppy disk provided. Boot procedure: –Kernel boots. –Broadcast for network values. –Mount NFS root file system, init=/etc/dcsrc, download machine profile. –Partition and format hard disk. –Mount hard disk, install RPMS. –Install MBR with LILO. –Reboot, configure according to profile, reboot.

22nd April 2002 Steve Traylen, RAL, 13 LCFG, What Is Good? Configuration is modular so similar machines are easy. Configuration can be modified. –Converting a CE to an SE, less than a minute. –Installing and backing out is possible. Snap shot of configuration is available including all the tiny incremental changes.

22nd April 2002 Steve Traylen, RAL, 14 LCFG, What is Bad? Adds a whole new layer of configuration. –Sysadmins have to learn to configure /etc/resolv.conf again. –A software developer knows how to configure /etc/edg/info-mds.conf but not /var/obj/conf/profile/source/ComputingElement.h. Security problems: host authentication is weak, no shadow passwords.