National Energy Research Scientific Computing Center (NERSC) CHOS - CHROOT OS Shane Canon NERSC Center Division, LBNL SC 2004 November 2004.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
PlanetLab V3 and beyond Steve Muir Princeton University September 17, 2004.
PlanetLab Operating System support* *a work in progress.
What to expect.  Linux  Windows Server (2008 or 2012)
Microsoft Windows Server 2008 Software Deployment Chris Rutherford EKU Technology: CEN/CET.
Types of Parallel Computers
Exploring the UNIX File System and File Security
INFSO-RI An On-Demand Dynamic Virtualization Manager Øyvind Valen-Sendstad CERN – IT/GD, ETICS Virtual Node bootstrapper.
Office of Science U.S. Department of Energy Grids and Portals at NERSC Presented by Steve Chan.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
The UNIX File System.
Guide To UNIX Using Linux Third Edition
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
NETOP ONDEMAND What’s new in version 2.1? DECEMBER 09 NETOP ONDEMAND1.
Installing software on personal computer
Patch Management Module 13. Module You Are Here VMware vSphere 4.1: Install, Configure, Manage – Revision A Operations vSphere Environment Introduction.
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Tanenbaum 8.3 See references
Guide To UNIX Using Linux Fourth Edition
IT:Network:Microsoft Server 2 Chapter 27 WINDOWS SERVER UPDATE SERVICES.
© 2010 VMware Inc. All rights reserved Patch Management Module 13.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
XSEDE14 Reproducibility Workshop: Reproducibility in Large Scale Computing – Where do we stand Mark R. Fahey, NICS Robert McLay, TACC XSEDE14 - Reproducibility.
Copyright © 2011 EMC Corporation. All Rights Reserved. MODULE – 6 VIRTUALIZED DATA CENTER – DESKTOP AND APPLICATION 1.
IOS110 Introduction to Operating Systems using Windows Session 8 1.
Module 19 Managing Multiple Servers. Module Overview Working with Multiple Servers Virtualizing SQL Server Deploying and Upgrading Data-Tier Applications.
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.
Carrying Your Environment With You or Virtual Machine Migration Abstraction for Research Computing.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Managing in Multiple Operating System Environments OS administration in an hp-ux and Linux environment Steeve Daigle, HP & Steve Cooke, HP.
Linux Introduction What is Linux? How do you use it?
Issues Autonomic operation (fault tolerance) Minimize interference to applications Hardware support for new operating systems Resource management (global.
CIS 450 – Network Security Chapter 14 – Specific Exploits for UNIX.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Chapter Two Exploring the UNIX File System and File Security.
CHAPTER Creating and Managing Users and Groups. Chapter Objectives Explain the use of Local Users and Groups Tool in the Systems Tools Option to create.
Migration from SL4 to SL5 at CC-Lyon J ü rgen Brunner.
Module 4 Planning for Group Policy. Module Overview Planning Group Policy Application Planning Group Policy Processing Planning the Management of Group.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
Dissecting the Windows CE Build Process James Y. Wilson Principal Engineer, Windows Embedded MVP CalAmp, Inc. James Y. Wilson Principal Engineer, Windows.
Ian Gable University of Victoria 1 Deploying HEP Applications Using Xen and Globus Virtual Workspaces A. Agarwal, A. Charbonneau, R. Desmarais, R. Enge,
Virtual techdays INDIA │ august 2010 virtual techdays INDIA │ august 2010 Consolidate and Virtualize your Linux Environment M.S.Anand │ Technology.
Manage Directories and Files in Linux Part 2. 2 Identify File Types in the Linux System The file types in Linux referred to as normal files and directories.
CERN IT Department t LHCb Software Distribution Roberto Santinelli CERN IT/GS.
Office of Science U.S. Department of Energy Grid Security at NERSC/LBL Presented by Steve Chan Network, Security and Servers
Race conditions and synchronization issues Exploiting UNIX.
Application Migration Fritz Ohman Alphageek
LINUX Presented By Parvathy Subramanian. April 23, 2008LINUX, By Parvathy Subramanian2 Agenda ► Introduction ► Standard design for security systems ►
Security-Enhanced Linux Stephanie Stelling Center for Information Security Department of Computer Science University of Tulsa, Tulsa, OK
VMware Certified Professional 6-Data Center Virtualization Beta 2V0-621Exam.
Aaron Corso COSC Spring What is LAMP?  A ‘solution stack’, or package of an OS and software consisting of:  Linux  Apache  MySQL  PHP.
Managing Servers Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Using Remote DesktopPlan server management strategies 2.1 Delegating.
II EGEE conference Den Haag November, ROC-CIC status in Italy
Linux and Coldfusion MX Mid-Michigan Coldfusion User’s Group, Nov
A Scalable and Resilient PanDA Service for Open Science Grid Dantong Yu Grid Group RHIC and US ATLAS Computing Facility.
Scientific Linux Inventory Project (SLIP) Troy Dawson Connie Sieh.
Use Cases, Issues, Proposed Solutions: Software and Environment Non Privileged User Package Management Francois-Denis Gonthier Kryptiva inc.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
CompTIA Server+ Certification (Exam SK0-004)
Patch Management Module 13.
Dag Toppe Larsen UiB/CERN CERN,
Dag Toppe Larsen UiB/CERN CERN,
IM-pack: Software Installation Using Disk Images
OS Virtualization.
Exploring the UNIX File System and File Security
Network File System (NFS)
Presentation transcript:

National Energy Research Scientific Computing Center (NERSC) CHOS - CHROOT OS Shane Canon NERSC Center Division, LBNL SC 2004 November 2004

10/20/20042 Background PDSF is a medium size cluster used by a diverse group of High Energy and Nuclear Physics Groups ATLAS CDF STAR KamLAND SNO SNFactory (Astrophysics)

10/20/20043 Motivation Problem Groups were starting to request different versions of RedHat (RH 7.2, RH 7.3, RH8) Solution CHOS - In house developed framework for supporting multiple OSs concurrently on a single system.

10/20/20044 Requirements Support multiple OSs concurrently on each node Not require partitioning the cluster Be nearly transparent to the users Integrate with the batch/scheduler system Easily deployable across the cluster Scale with the number of requested OS releases Must be secure

10/20/20045 CHOS - CHROOT OS At its core, CHOS is chroot’ing into an alternate OS However, this alone isn’t enough –File systems (both real and virtual) –Batch integration needed –Should be transparent and automatic –Preferred that it scaleable for many OSs

10/20/20046 Kernel Module Creates to files in proc file system (/proc/chos) –/proc/chos/link - Special symbolic link –/proc/chos/setlink - Writable file to set path for link /proc/chos/link has the following traits –Settable by setlink –Each process sees link pointing to its set value –Child processes inherit value of parent Following checks –Only root can set valid paths

10/20/20047 The link file

10/20/20048 PAM Module PAM module that provide a “session” component PAM module looks at contents of.chos file in the user’s home directory Performs the necessary steps to initiate a CHOS session Sets CHOS environment variable Can be added to PAM configuration for ssh to automatically use the alternate OS upon login

10/20/20049 Batch Integration Modified job starters are used for that batch system Job starter looks for CHOS environmental variable Automatically switches if CHOS variable is set to a valid OS PAM module sets CHOS variable, so no further action is required by the user wanting to run the same OS

10/20/ CHOS – In Action

10/20/ Use Examples Different groups can have their own custom OS Independently upgrading base OS without forcing users to switch platforms Provide test bed for users evaluating or migrating to new OSs. Support 32 bit OS on 64 bit base OS (and kernel) Provide access to older releases (un-maintained) in more secure fashion for re-running old codes or applications Run binaries compiled for a specific release in CHOS, while running other services in base OS

10/20/ Security Services would typically be run out of just the base OS Disable setuid programs in alternate OSs to limit security risks. If application needs to be setuid, symlink to local installation CHROOT is a privileged operation for a reason –CHOS allows administrator to specify which alternate OSs are allowed –CHOS checks against this list before initiating a CHOS session

10/20/ Current Status Tested with both 2.4 and 2.6 kernels Base OS: RedHat, SuSE, Fedora, Scientific Linux Alternate OS: RedHat, Fedora, Scientific Linux Tested with multiple versions of RedHat and SuSE

10/20/ Future Work Simplified installation - Already in RPM format. Future release may automatically mount local file systems under CHOS PAM enabled job starter - Re-use PAM module for batch system as well. This job starter could have other uses (pam_limits). Kernel patch version instead of module to avoid some tricks

10/20/ Conclusion Dealing with competing requirements from users is a typical problem for shared resources CHOS greatly diminishes this problem for providing various operating systems CHOS also helps decouple the needs of the system administrator from the needs of the user