Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University.

Slides:



Advertisements
Similar presentations
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Advertisements

Linux Booting Procedure
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Maintaining a Stable Windows Environment Mark Padgett & Bret Madsen.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Linux Intro Linux, the do it yourself OS Linux, successor to MINIX Linux, Unix for the masses (PC users) History:
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
1 Web Server Administration Chapter 3 Installing the Server.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Guide To UNIX Using Linux Third Edition
Chapter 2 INSTALLTION OF LINUX DISTRIBUTION. Minimum hardware requirement 1) DVD drive: You must have a DVD drive (either DVD-ROM or DVD burner), and.
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
NETW-240 Linux Installation Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Booting and boot levels
Manage Directories and Files in Linux
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Tutorial 11 Installing, Updating, and Configuring Software
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Chapter Fourteen Windows XP Professional Fault Tolerance.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
Chapter Two Exploring the UNIX File System and File Security.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
WINDOWS XP PROFESSIONAL AUTOMATING THE WINDOWS XP INSTALLATION Bilal Munir Mughal Chapter-2 1.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Linux Introduction What is Linux? How do you use it?
USING YOUR INSTALLED LINUX SYSTEM.  Common Linux Tasks  Installing Custom Packages  Common GUI Applications  Command Line Shell  Directory Structure/Navigation.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
UNIX/LINUX OPERATING SYSTEM. Introduction to Linux Introduction to Unix History of UNIX What is Linux Linux Distributions Linux Installation Unix File.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
© N. Ganesan, Ph.D., All rights reserved. Windows Server Installation Nanda Ganesan, Ph.D.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
Embedded Software Design Week II Linux Intro Linux Kernel.
Red Hat ® I NTERNET S YS A DMIN Introduction to Linux.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
1 C1-UD 6-2 INSTALLING LINUX Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems) Ferran Chic PELE-08/09 (Pla Experimental Llengües.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
UNIX Filesystem and Hierarchy AfNOG 2008 Workshop May Rabat, Morocco.
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
System Administration Startup Process. Why Care? ● Every process on your system comes about by following a specific chain of events from the machine startup.
Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller.
Getting Started with Linux
Create setup scripts simply and easily.
Loading an Operating System
Guide to Linux Installation and Administration, 2e
Chapter 3 Installing Red Hat Linux
Welcome to Linux Chap#1 Hanin Abdulrahman.
UBUNTU INSTALLATION
UNIX Filesystem and Hierarchy
Exploring the UNIX File System and File Security
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
Chapter 7 File and file System structure
Installing Linux Redhat:
Lecture 43 Syed Mansoor Sarwar
OPS235: Week 1 Installing Linux (Lab1: Investigations 4 - )
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
January 26th, 2004 Class Meeting 2
Presentation transcript:

Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University of Manchester

Overview ● Environment ● Description of the system ● How to look after it ● Why is it this way? ● Evaluation

Satisfying the Demand?

Where We Started ● Environment ● Overheads ● Underhanded, sneaky ● Sources of Ideas

Environment ● Existing clusters ● Windows XP support team – Including me for boot loader and Linux ● Supervisors who monitor hardware ● Thousands of users

Overheads ● By operating system ● By version ● By distribution ● By number of machines ● By type of user and usage

Underhand ● Be made available without fuss ● Installable without significant effort ● Maintenance must piggy back on existing arrangements ● All must interoperate with existing – user management system in LDAP – file systems

Sources of Ideas ● Filesystem Hierarchy Standard – read-only /usr ● Knoppix ● Debian supported some ability to configure the system at boot time ● Previous work on centrally managed HP systems ● Previous install system for teaching cluster

Description of the System ● Base layer ● Files on disk ● Cache ● Full system on the network

Base 9Mb On disk 70Mb Full system 5.8Gb Cache 500Mb Description of the system

Base Layer ● In a separate partition, also containing: – GRUB – Novell's ZenWorks ● Kernel1495 Kb ● Ramdisk7506 Kb ● Config file50 bytes

Base Layer (booting) ● Boot from this kernel with ramdisk as root. ● Locate config file, which describes other partitions on the disk(s). ● Swap on (mkswap if necessary). ● Mount / (mkfs if necessary). ● Copy/install minimum system from ramdisk. ● pivot_root

Files on Disk ● System files (/bin, /etc, /lib, /sbin, /var) ● /local (/usr/local -> /local) – /local/home ● Symbolic links (/usr, /opt, many others) ● 521 files, 634 symbolic links, 70 Mb

Files on Disk (booting) ● AFS file system starts. ● The package command maintains directory structure. ● It also checks all resident files for size, date, permissions, and ownership. ● It also checks all directories, links, devices. ● It also deletes all local scratch and temporary files (not including cache files).

Adaptation of package ● Locally written utility (75 lines of C). ● Config file + hostname (FQ) + IP address. ● Package's own macro processor mpp. ● Package. ● Reboot option

Cache ● Feature of AFS file system. ● Set to 500 Mb maximum. ● Persistent across reboots. ● File access -> check -> use cached copy |-> get a new copy

Cache (booting) ● AFS file system already accessible. ● A special script (per cluster/machine) may run after the local system is checked. ● /sbin/init starts after this. ● Changes must be made to ordinary startup and shutdown.

Mutation

Full System ● Copy of normal distribution, modified to remove networking and some init scripts. ● On Network (in AFS)3.2 Gb ● Read only – no access controls. ● AFS ACLs can be used for licensed software, if necessary. ● Users and authentication (various) ● User filestore (various)

Users and Authentication ● In central LDAP system: pam_ldap ● Special UNIX user names for courses created at boot time: pam_unix ● AFS users: pam_afs

Filestore ● Novell (mounted as NCPFS) ● SAN (mounted as SMBFS) ● Local UNIX filestore set up at boot time ● AFS for system files and a few users

The Management

How to Look After It ● Installation ● Administration ● Routine maintenance ● Bugs and problems

sec Boot GRUB P + Password + Return -- Interaction Setup Disk areas; mkfs and mkswap Reboot unattended; fill root partition GDM graphical login Start /sbin/init and boot scripts Installation Timeline NB: This can run in parallel. sec Boot GRUB P + Password + Return -- Interaction Setup Disk areas; mkfs and mkswap Reboot unattended; fill root partition GDM graphical login Start /sbin/init and boot scripts sec Boot GRUB P + Password + Return -- Interaction Setup Disk areas; mkfs and mkswap Reboot unattended; fill root partition GDM graphical login Start /sbin/init and boot scripts Boot GRUB P + Password + Return -- Interaction Setup Disk areas; mkfs and mkswap Reboot unattended; fill root partition GDM graphical login Start /sbin/init and boot scripts sec

Installation with X configuration ● 2 min to line mode login ● login – configure X – save XF86Config-4 – define new hardware type ● reboot

Administration ● rsync AFS read-only image to directory ● chroot ● apt-get update; apt-get dist-upgrade ● rsync directory to AFS ● test ● release read-write copy to read-only copy

Maintenance ● Config files for package ● Changes in init scripts ● Preventing services from running: – no exim – no sshd – no portmap ● Bugs in debian

Problems and Bugs ● Currently based on Debian ● Politics ● Changes in our local user infrastructure ● Using the system and applications in a way not foreseen by the developers

Why is it This Way? ● Constraints of politics ● Constraints of resources ● Constraints of management ● This is the only way we can do this without: – money – people – hardware

Evaluation ● Not rocket science ● Delays – at boot time – when using any program for the first time on that machine ● It works

Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University of Manchester