Presentation is loading. Please wait.

Presentation is loading. Please wait.

Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.

Similar presentations


Presentation on theme: "Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio."— Presentation transcript:

1 Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio

2 Agenda u Linux at CERN u Automating installations u Kickstart usage: Architecture, configuration, problems u Work to be done

3 Linux at CERN u Currently, ~ 1000 PC’s running Linux on the site u most of them farm nodes in the Computer Centre u Now: increase of 50-100 per month u Tomorrow: several thousands PC’s Ô How to manage their installation / reinstallation/ upgrade? u Manual installation takes ~ 20 minutes per node, requiring human interaction

4 Automating installations u Requirements for an automated installation procedure: u run unattended u allow parallel installations u scalable to new clients, and new OS releases u flexible configuration u customizable to specific needs u Examples: JumpStart, Ignite-UX, Kickstart u Examples:

5 Kickstart Overview u Automated installation system provided by RedHat u Configuration file describes system setup for a machine u disk partitions, packages to install, mouse and keyboard setup etc… u May contain a post installation procedure u Configurations may be stored on.. u the installation diskette itself u NFS server using BOOTP

6 Architecture u Register machine in LANDB and BOOTP server u put KS cfg file on NFS server u load installer on target using floppy or ANIS(*) u installer contacts BOOTP server and gets network info and KS config file u mount install server, start main installation MAC address linuxsoft: /ks/asis-w6 NFS mount Installation target (asis-w6) LANDBAFS BOOTP server NFS server mirror update (*)ANIS (=Automated Network Installation System): System for booting over the network an installation client

7 Configuration Example (I) # network setup network --bootproto static ---ip 1.2.3.4 \ --netmask 255.255.255.0 --gateway 1.2.1.1 \ --nameserver 1.2.1.2 # NFS install server to use nfs --server linuxsoft --dir /redhat/cern/6.1 # packages to install %packages @ CERN recommended setup

8 Configuration Example(II) post installation after first reboot: %post (...) cat >/etc/rc.d/init.d/ks-post <<EOF #!/bin/sh -x (...) # install AFS via SUE /usr/sue/etc/sue.install afs (...) EOF

9 Problems u Bugs (RH 6.1): u root password encryption not working u incorrect /etc/hosts generation u X config tool buggy u Other problems: u No low-level configuration for partitions (-> run fdisk in postinstall) u Command syntax changing

10 Current status & limitations u More than 370 systems installed using Kickstart u RedHat releases available: 5.1, 6.0 and 6.1 Limitations: u Kickstart file writing is complex u Kickstart syntax changes u Chaos: how to manage 1000’s of configurations?

11 Installation Management System We are developing a system for managing the installations Client side:User-friendly GUI front-end for defining setups u Templates for several Hardware configs and usage types u farm node, workstation, laptop.. u Configuration defaults u site defaults, group defaults, cluster defaults

12 Installation Management System (II) u Configuration database stored centrally u reuse of configurations u same configuration for multiple installation targets u Flexibility u configuration data stored in intermediate format u reuse stored configurations for new Kickstart releases (.. or other installation systems) u Plugins for extending Kickstart functionality u ie. For site-specific installation options u implemented in the post-install section

13 GUI prototype

14 Contacts u CERN IT/PDP: http://wwwinfo.cern.ch/pdp u Linux at CERN: http://wwwinfo.cern.ch/dis/linux u Automated Network Installation System (ANIS): Christian.Boissat@cern.ch u Installation Management System: German.Cancio@cern.ch, Mark.Olive@cern.ch


Download ppt "Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio."

Similar presentations


Ads by Google