Linux Desktop Management with old school NFS-root boot

Similar documents
Linux Embedded devices with PicoDebian Martin Noha

Stateless Compute Cluster

HTTP-FUSE PS3 Linux: an internet boot framework with kboot

Restoring a Suse Linux Enterprise Server 9 64 Bit on Dissimilar Hardware with CBMR for Linux 1.02

Linux Terminal Serve Project (LTSP) An Emerging Cheapest Open Source Client / Server Architecture for Business

Fakultät für Physik Ludwig Maximilians Universität Klaus Steinberger Ralph Simmler Alexander Thomas. HA Cluster using Open Shared Root

Automating the deployment of FreeBSD & PC-BSD systems. BSDCan Kris Moore PC-BSD / ixsystems kris@pcbsd.org

Build Your Own Private Cloud with Ezilla and Haduzilla

Peter Waterman Senior Manager of Technology and Innovation, Managed Hosting Blackboard Inc

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

Argon Client Management Services- Frequently Asked Questions (FAQ)

High Availability and Load Balancing Cluster for Linux Terminal Services

Parallels Cloud Server 6.0 Readme

Virtual Machines and Cloud Cluster. Dan Thanh Ton University of Colorado Denver 2010 SIParCS Internship Mentor: Irfan Elahi

Automatic System Installations And Change Management. with FAI

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Parallels Cloud Server 6.0

WinClon CC. Network-based System Deployment and Management Tool. A Windows Embedded Partner

PARALLELS SERVER 4 BARE METAL README

Moobi: A Thin Server Management System Using BitTorrent

Docker : devops, shared registries, HPC and emerging use cases. François Moreews & Olivier Sallou

VMware vsphere 5.0 Evaluation Guide

Virtualization of Linux based computers: the Linux-VServer project

Installing NICE Windows under Parallels for Mac

MOSIX: High performance Linux farm

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

OpenWRT - embedded Linux for wireless routers

Integration of Virtualized Workernodes in Batch Queueing Systems The ViBatch Concept

EXPLORING LINUX KERNEL: THE EASY WAY!

DRBL and Clonezilla The deployment and restoration system

Planning for an Amanda Disaster Recovery System

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

short introduction to linux high availability description of problem and solution possibilities linux tools

Linux - CentOS 6 Install Guide

Active/Active HA Clustering on Shared Storage with Samba

Deploying Baremetal Instances with OpenStack

2X ThinClientServer: How it works An introduction to 2X ThinClientServer, its features and components

Automated Deployment of Oracle RAC Using Enterprise Manager Provisioning Pack

Integration of Virtualized Worker Nodes in Standard-Batch-Systems CHEP 2009 Prague Oliver Oberst

Copyright by Parallels Holdings, Ltd. All rights reserved.

Embedded Linux development training 4 days session

Solution for private cloud computing

LinMin Bare Metal Provisioning April 15, Functional Overview White Paper

Running Debian on Inexpensive Network Attached Storage Device

Paragon ExtFS for Windows

II. Installing Debian Linux:

Proposal for Virtual Private Server Provisioning

A Minimal Linux Environment for High Performance Computing Systems

Upgrading Cisco UCS Central

NetBoot Fundamentals and Customizations

Free Software in Valencia The LliureX Project

High Availability and Backup Strategies for the Lustre MDS Server

Google. Iustin Pop, <iustin@google.com> Google Switzerland. Sponsored by:

Cluster Implementation and Management; Scheduling

A candidate following a programme of learning leading to this unit will be able to:

Dynamic Extension of a Virtualized Cluster by using Cloud Resources CHEP 2012

EaseUS Todo Backup PXE Server

MS 50292: Administering and Maintaining Windows 7

Edwin Guchu. Implementation of cloud infrastructure using open source software

Migrating to ESXi: How To

Dell NetVault Bare Metal Recovery User s Guide

ALTIRIS Deployment Solution 6.8 Preboot Automation Environment

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

MODULE 1. INSTALLING SUSE LINUX ENTERPRISE SERVER 1. BASIC NOTIONS ON INSTALLATION PROCEDURES

DeskVirt : Low Cost Computing Using Virtualization For Remote Desktop

Continuous Integration in the Cloud with Hudson

LSN 10 Linux Overview

VMware Server 2.0 Essentials. Virtualization Deployment and Management

Linux Terminal Server Project

Windows Deployment Services

Red Hat Linux 7.2 Installation Guide

Survey of Filesystems for Embedded Linux. Presented by Gene Sally CELF

Open Network Install Environment

Google

Installing, Running and Maintaining Large Linux Clusters at CERN

Package Management. Michael Tsai 2016/4/27

Virtualised MikroTik

PARALLELS SERVER BARE METAL 5.0 README

System Management. Leif Nixon. a security perspective 1/37

ABB Technology Days Fall 2013 System 800xA Server and Client Virtualization. ABB Inc 3BSE en. October 29, 2013 Slide 1

Deploying a Virtual Machine (Instance) using a Template via CloudStack UI in v4.5.x (procedure valid until Oct 2015)

A Better Approach to Backup and Bare-Metal Restore: Disk Imaging Technology

Linux/Open Source and Cloud computing Wim Coekaerts Senior Vice President, Linux and Virtualization Engineering

Advanced Linux System Administration on Red Hat

Operating System Installation Guidelines

More Efficient Virtualization Management: Templates

DESIGN OF A VIRTUAL COMPUTER LAB ENVIRONMENT FOR HANDS-ON INFORMATION SECURITY EXERCISES *

Parallels Cloud Server 6.0

NCI National Facility


SUSE LINUX Enterprise Server for SGI Altix Systems

HP Compaq Thin Client Imaging Tool HP Compaq Thin Client t5000 Series

A review of BackupAssist within a Hyper-V Environment

VMware ESXi 3.5 update 2

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

Release Notes for Fuel and Fuel Web Version 3.0.1

This presentation provides an overview of the architecture of the IBM Workload Deployer product.

VERITAS NetBackup Bare Metal Restore 6.0

Btrfs and Rollback How It Works and How to Avoid Pitfalls

Over-the-top Upgrade Guide for Snare Server v7

Transcription:

Linux Desktop Management with old school NFS-root boot Christopher Huhn C.Huhn@gsi.de IT, Linux and HPC group GSI Darmstadt Hepix 2009, Berkeley

Outline Evolution of NFS-root system at GSI Technology of the current implementation and its strength Pitfalls Further directions 2

Operating System via Network Common concept for X-Terminals, nowadays called Thin Clients Embedded systems Support in the Linux-Kernel since ever Diskless systems 1996: NFS-Root-Client Mini-HOWTO Consolidation effort in the days before sophisticated installation and configuration management infrastructure 3

Isn't it anachronistic? Thin clients are still a topic (e. g. LTSP) Crosslinks to virtualization issues: OS image management How do you make sure that OS instances are up to date on boot? Might be a VM Might also be a forgotten lab PC that was offline for a long time 4

GSI Linux desktops More a fat client Standard desktop PCs Usually not diskless Hardware zoo ranges from Pentium 3 to Nehalem server hardware Some work as servers (NFS, SSH) NFS-boot also used for batch worker nodes ~ 400 desktops running Debian Etch, Lenny in preparation Neil McGovern <neilm@debian.org> 5

Classic concept Booting via Network NFS-root filesystem Mounted via kernel subsystem Dedicated root file system for each client Etherboot loader on floppy, kernel and network settings served via BOOTP /usr shared between all clients and their OS server Read-only for the clients Client and Server OS not independent 6

Current concept Network boot via PXE, kernel + initrd via TFTP read-only OS image shared between clients i.e. no write access to / for the clients Distinct from OS server installation OS servers are plain NFS servers (no HA) Moving Clients from one server to another only requires DHCP reconfiguration 7

tmpfs and unionfs Some areas of the FS must still be writable Implementation relies on special purpose file systems: 1)tmpfs: automatically resizing ramdisk 2)unionfs/aufs: stackable copyon-write file system with semitransparency Changes to standard Debian installation mainly consists of 2 init scripts Savannah Grandfather http://www.flickr.com/photos/savannahgrandfather/364949591 8

Init-script #1 As early as possible /local: tmpfs /etc: tmpfs + NFS unification Files checked out from central SVNrepository fstab, X config, SSH host keys,... /root, /media on tmpfs 9

Init-script #2 Immediately after mounting of local disks /tmp: local partition or tmpfs /var: local partition or tmpfs + NFS unification 10

Putting it all together Basic network configuration Load boot menu Load kernel and initrd, start kernel PXE Kernel Initrd Extract and start initial ramdisk Gather additional boot options from DHCP Mount the root file system and start init Setup tmpfs and unions for /etc, /root, /media Mount local partitions Setup union for /var Start the DHCP client... Init 11

Image creation fai dirinstall... Almost identical to bare metal install No golden image copied from server to server Implicit configuration by ad-hoc administration Often undocumented Mutation problems 12

Client configuration management Configuration management (cfengine/cron) 1)Tasks on OS server outside client image (mainly server configuration) 2)Tasks to run on OS server inside client images (settings for all clients) No manual ad-hoc administration here! 3)Tasks to run on clients directly e.g. access control rules Standard cron jobs must be split: Logfiles must be rotated on the clients but updatedb should run on the server 13

Strengths of NFS-root concept Advanced security Read-only system installation Offline security updates Tight control of running systems Fast OS deployment Fast upgrades Potential diskless operation Works nicely as a rescue system 14

Drawbacks Totally network dependent Unification file system woes esp. background updates Service restarts after upgrades But: Can you work with a standalone desktop when the network is broken? Libc upgrade requires ssh restart on all clients Permission mismatch problems Permissions very important on /var Unionfs copyup bugs System account name UID mappings may be different after OS change Dynamically assigned at installation time 15

Outlook Replace 32bit compatibility layer (chroot) on 64bit by complete 32bit NFS-root Alternatives to NFS (v3): HA cluster for OS servers NFS v4, Live-CD/DVD, HTTP, Lustre,... Load-balanced / active-active Netboot NFS-root VMs: GSI Linux Desktop inside Windows/MacOS, offsite? Secure (PXE-)Boot process This is no concept for mobile computers 16

Questions? GSI in the autumn Thank you for your attention! 17