C. Aiftimiei, E. Ferro / January 2003 1 LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL.

Slides:



Advertisements
Similar presentations
E. Ferro, CNAF, aprile LCFG: testbed upgrade Enrico Ferro INFN-LNL.
Advertisements

LCFG overview and future Michael George University of Liverpool
1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
German Cancio – WP4 developments Partner Logo WP4-install plans WP6 meeting, Paris project conference
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Installation. Installation   There are three phases to building an LTSP server: – –Installing the LTSP utilities – –Installing the LTSP client packages.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
PacNOG 6: Nadi, Fiji Installing Ubuntu Server 9.04 Hervey Allen Network Startup Resource Center.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Linux Operations and Administration
Installing Windows Deployment Service
DHCP server & Client Objectives Contents
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 WP4 hands-on workshop: EDG LCFGng exercises
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
WP4-install task report WP4 workshop Barcelona project conference 5/03 German Cancio.
Setting up NIS and HTTP. Network Information Service Reading: 1. Linux NIS HOWTO: howto/HOWTOhttp://
Chapter Fourteen Windows XP Professional Fault Tolerance.
EDG LCFGng: concepts Fabric Management Tutorial - n° 2 LCFG (Local ConFiGuration system)  LCFG is originally developed by the.
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.
Integrating with UCSF’s Shibboleth system
Please Note: Information contained in this document is considered LENOVO CONFIDENTIAL For Lenovo Internal Use Only Do Not Copy or Distribute!! For Lenovo.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
DHCP server & Client Objectives –to learn how to setup dhcp servers Contents –Download and Install The DHCP Package –The /etc/dhcpd.conf File –Upgrading.
E. Ferro, CNAF, april Enrico Ferro INFN-LNL LCFG: testbed upgrade.
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
O.S.C.A.R. Cluster Installation. O.S.C.A.R O.S.C.A.R. Open Source Cluster Application Resource Latest Version: 2.2 ( March, 2003 )
Scott Drucker, Systems Engineer Migrating to Microsoft Vista with WinINSTALL.
A powerful network monitoring system
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.
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.
Ariel Garcia LCG cluster installation, EGEE training, Ariel Garcia - IWR LCG Cluster Installation Forschungszentrum Karlsruhe in der Helmholtz-Gemeinschaft.
Olof Bärring – WP4 summary- 4/9/ n° 1 Partner Logo WP4 report Plans for testbed 2 [Including slides prepared by Lex Holt.]
22nd April 2002 Steve Traylen, RAL, 1 LCFG Installation Steve Traylen. LCFG – A tool for installation and configuration. UK HEP SYSMAN,
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—1-1 Getting Started with Cisco Unified Communications Manager Installing and Upgrading Cisco.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
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
Linux Operations and Administration
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
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
Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering.
CERN 19/06/2002 Kickstart file generator Andrea Chierici (INFN-CNAF) Enrico Ferro (INFN-LNL) Marco Serra (INFN-Roma)
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
MREPO: Yum/Apt repository kickstart installation via PXE GIUSEPPE PLATANIA INFN Catania I Corso di formazione INFN.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Setting Up a Repository.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
PXEBOOT. What is PXEBOOT. The Preboot Execution Environment (PXE) is a service, Establish client/server communication and it will install the OS to the.
Operated by Los Alamos National Security, LLC for NNSA U N C L A S S I F I E D Slide 1 Institutional Install of Red Hat Enterprise Linux From One CD In.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
BY: SALMAN 1.
bitcurator-access-webtools Quick Start Guide
Create setup scripts simply and easily.
BY: SALMAN.
COP 4343 Unix System Administration
WP4-install status update
DHCP server & Client Objectives Contents
SUSE Linux Enterprise Desktop Administration
bitcurator-access-webtools Quick Start Guide
The EU DataGrid Fabric Management Services
Presentation transcript:

C. Aiftimiei, E. Ferro / January LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL

C. Aiftimiei, E. Ferro / January " Where are documentation & packages " LCFGng in 1 slide " Differences between LCFG and LCFGng " Server installation: –Install a RH62 + openssh + 3 additional packages –Download the RPM from the EDG repository –Install additional packages automatically –Build installroot(s) –Set up services: DHCP, NFS, Apache, mkxprofd –Prepare and build XML profile(s) [see Andrea's slides] –Install a node via floppy –Install a node via PXE Roadmap

C. Aiftimiei, E. Ferro / January Client nodes LCFGng Server LCFGng in 1 slide Notification ( UDP ) Source files XML profiles Compile r (mkxprof) HTTP server Download (HTTP) Clien t Daemo n ( rdxprof ) Local cache Profil e Componen t Components

C. Aiftimiei, E. Ferro / January " You can find LCFGng server installation guide in PDF, PS, HTML: – lcfg/documentation " The software packages are available here: – –Please note that almost all will be downloaded automatically Documentation and software packages

C. Aiftimiei, E. Ferro / January " These changes are described in detail in: – lcfg/documentation/lcfgng-migration.txt " Support both RedHat 6.2 and Cern Redhat " Both XML profiles and source directories changed :-( ".def files are in a different directory (in the past they were with the configuration files) " Many components (i.e. objects) changed (some splitted, some added, some removed). See the previous link for the details. LCFG vs LCFGng (1/2)

C. Aiftimiei, E. Ferro / January " mkxprof, the XML compiler  Now it must be run as a daemon: /sbin/service mkxprofd start  To rebuild the profiles you must reload the daemon: /sbin/service mkxprofd reload " A web interface is available with  the status of mkxprof: /status  To select which nodes should be installed: /install/install.cgi " Installation more flexyble: –Now it is possible to specify additional commands that must be run during the installation customizing the LCFGng configuration files –Added PXE support LCFG vs LCFGng (2/2)

C. Aiftimiei, E. Ferro / January " You should install a RedHat Linux 6.2 node that will provide the following services: –NFS: to distribute the software packages and rpm lists –DHCP: for the 1st installation –HTTP: to distribute the XML profiles " Why RH6.2? To simplify the update of an existing LCFG server " From: – Download and install the latest version of these 3 packages: –edg-populate-serverng, updaterpms-static-server, edg-updaterep " Download and install ssh for RedHat from: – 1/9: To start install a RH62

C. Aiftimiei, E. Ferro / January /9: Download packages via updaterep " To download all the EDG, RedHat and external packages you can use a tool called updaterep (see man updaterep) " Due to the frequent changes on RPM repositories :-(, get the updaterep's configuration file matching your EDG release from: – " updaterep will –Create automatically the required directory –Download via wget only the packages that are not already present  Write automatically the hdfiles ( package.rpm->.package.rpm ) (they are needed by updaterpms, the packages installer) –Write a 'Makefile' in each repository to create the hdfiles " With LCFGng you must use version 2. version of updaterep

C. Aiftimiei, E. Ferro / January /9: Installation/upgrade of server packages " If you are upgrading an existing LCFGng server you have to remove the old packages with something like: –rpm -e lcfg-adapt-server –rpm -e `rpm -qa | grep 'obj-.*-server'` " To install other packages run this script (it is provided by edg-populate- serverng) –/opt/local/linux/utils/installpackages-ngserver

C. Aiftimiei, E. Ferro / January /9: Building installroot(s) " The installroot is a basic Linux system mounted via NFS during the installation. This script will create the RPM DB and install all the required packages. So run: – /opt/local/linux/utils/create-nginstallroot-rh62 " You have also to provide an installparams file; customize it changing the default keyboard (UK) to your preferred: –cd /opt/local/linux/nginstallroot/6.2/etc –cp installparams.default installparams –vi installparams " Follow similar steps for RH 7.3 (the installroot are differents)

C. Aiftimiei, E. Ferro / January /9: Set up DHCP " To configure DHCP: –touch /var/state/dhcp/dhcpd.leases –An example of /etc/dhcpd.conf is provided in /etc/dhcpd.conf.ngexample " Remember to customize there: –Domain, DNS, gateway " And for each node you need: –MAC address, IP address " To start it –/etc/rc.d/init.d/dhcpd start " Enable it for the future:  / sbin/chkconfig --level 2345 dhcpd on " Warning: some dhcpd.conf lines changed from the old LCFG!

C. Aiftimiei, E. Ferro / January /9: Set up NFS " An example of /etc/export is provided by /etc/exports.ngexample. The installroot and the RPM repositories should be read-only available to the clients " Start (or restart) the nfs service: –/etc/rc.d/init.d/nfs start –/etc/rc.d/init.d/nfslock start " Enable them for the future: –/sbin/chkconfig --level 345 nfs on –/sbin/chkconfig --level 345 nfslock on

C. Aiftimiei, E. Ferro / January /9: Set up HTTP " Shut down apache (if running) –/etc/rc.d/init.d/httpd stop " Follow the instructions on the server installation guide to customize some lines on /etc/httpd/conf/httpd.conf " Create an htpasswd file to protect the CGI script used to select the machines to install (it will be explained in the next PXE slides): –htpasswd -c /etc/httpd/.htpasswd lcfgng " Start it and enable it: –/etc/rc.d/init.d/httpd start –/sbin/chkconfig --level 345 httpd on

C. Aiftimiei, E. Ferro / January /9: Set up mkxprofd " In LCFGng mkxprof must be run as daemon " Start and enabled mkxprofd: –/etc/rc.d/init.d/mkxprofd start –/sbin/chkconfig --level 345 nfslock on " When you change the configuration files and you have to deploy the changes to the client, you should reload the daemon so it will rebuild the XML files and send the notifications: –/etc/rc.d/init.d/mkxprofd reload " The compilation output is available only via web :-( – /status/

C. Aiftimiei, E. Ferro / January /9: Build the XML profiles " See Andrea's presentation in the afternoon...

C. Aiftimiei, E. Ferro / January " There are two diskettes, RH62 or RH731. Download the image: – lcfg/packages/external/diskettes/ " Write the image on a diskette –dd if= of=/dev/fd0 bs=1024 " Boot from it on the client and confirm manually when asked " Put a look on the server: –tail -f /var/log/messages " Cross all your fingers ;-) Install a client: floppy

C. Aiftimiei, E. Ferro / January /3: Install a client: PXE " Copy the loader, provided by the package syslinux, in /tftpboot: –cp /usr/lib/syslinux/pxelinux.0 /tftpboot/ " Enable TFTP in /etc/inetd.conf by adding this line: – tftp dgram udp wait root/usr/sbin/tcpd in.tftpd -s /tftpboot " Restart the service: –/etc/rc.d/init.d/inetd restart " Via web you can choose which nodes should be installed. If there is the corresponfing XML profile, the node will be listed here: – /install/install.cgi " This web interface updates some symlinks that are used by pxelinux to choose the boot from the local disk or the installation via network " On the next slide a screen shot...

C. Aiftimiei, E. Ferro / January /3 How pxelinux works (only for curious) LCFG serverNode NIC (broadcast): "Please, I need an IP" DHCP server: "Your IP is ; to boot you have to load a file called pxelinux.0" NIC (now configured): "Could you give me this pxelinux.0"? TFTP server: "Of course, it's for free!" pxelinux.0: "Thank you Sir. I am the OS loader. Could send me my configuration file (it is called as my ipaddress)?" TFTP server: "Yessir" – pxelinux.0 looks into its configuration file and decide if it has to boot from the local disk or to mount via NFS a root file system (and starting automatic installation without manual intervention)

C. Aiftimiei, E. Ferro / January /3: Web interface for PXE installations " This CGI script creates symlinks so each client download its configuration file " At the end the installation script, using wget, calls another CGI script that restore the boot from hard disk