SlideShare a Scribd company logo
1 of 20
Managing PC Operating
Systems with a Revision
    Control System
  Ing.Mag. Gottfried Rudorfer
  Gottfried.Rudorfer@gmx.at
  Wirtschaftsuniversität Wien
       October 25, 1997
The problem
                          System
 Users
                          Administrator
  Want a unique           Tasks
   system                   – Updates
   configuration            – New software
   – Correct                – Configuration of
     preferences for           • operating system
      • Windows-Profile        • applications
      • MS-Office
      • Firefox
Large scale management
of PCs
             Problem: The
              administrative
              effort increases
              proportional with
              the number of
              PCs.
             Goal: Software for
              automatic
              administration of
              the software
PC specific problems
Users with physical access to the
 computer may be able to change
 the software configuration
  – The user installs another operating
    system from USB device
  – The user may change files and/or
    partitions especially when having
    admin-rights
Consequences
The installed software on the
 clients has to be regarded as non
 safe.
A changed software configuration
 has to be expected.

                A software
                distribution
                system has to
                consider this
                consequences!
Existing approaches
If the user reports problems with
 the installation, the PC is
 reinstalled from scratch.
Unattended system installation
 with
  – Network-boot with access to a
    repository server
  – Setup of software packages with
    default settings
Our approach
A system which
  – does not require a complete re-install
    but rather performs a software check.
  – tries to repair the existing
    configuration without a fresh install.
  – is much faster compared to
    unattended full installations
Functionality for the user
Verification of a client.
Speed. Verification is fast because:
  – Installation from scratch is only
    necessary when there was a serious
    change in system configuration.
  – The content of files is not transmitted
    to the client when the attributes of the
    file are identical with the current
    master copy.
Benefits for the
administrator
Programs for the generation of a
 new master copy.
A revision control system to store
 different versions of the master
 copy at the same time.

          Only one PC client
          has to be managed!
Relationship between clients,
server and repository
Updating a client
Client                Server
 Load the               Provides the
  operating system        master copy.
  for the installation.
 Run the
  installation
  program.
 Reboot the
  system.
The operating system for
the installation: Linux
          Generic boot loader
           (LILO)
            – loads the kernel as ram
              disk.
          Initial RAM-Disk
            – the file system is mapped
              into the main memory.
            – Finally /initrc is
              executed.
        The OS has unlimited
        access to the hard disk.
The installation program
Written in Perl5
Functionality
  –   Check the partition table.
  –   Check the file systems.
  –   Mount the file systems.
  –   Ask the server to update the client.
  –   Dismount the file systems.
  –   Write a new master boot record.
  –   Do local customizations.
Replacing the current
master copy
Client           Server
 Boot Linux      The server
 Login at the     executes the
  server as        command rdist
  pc7adm.          at the client using
                   rsh.
                  Management of
                   different master
                   copies with our
                   fsrcs.
The master copy
Is a directory on the server which
 contains all files of a client.
Access with two accounts:
  – pc7inst: for reading the files
  – pc7adm: for writing files
Problem: A working master copy
 might be replaced by a non
 operational version.
Security on the server
The clients shouldn’t have
 unlimited root privileges.
The upload program has to be run
 with root privileges!
Solution:
  – .rhosts
  – No login shell for the upload and download
    users.
  – All programs perform first a chroot to the
    master copy.
The repository of fsrcs
Performance
 Fresh installation of both operating
  systems
  – 909 Mbytes of data
  – approx. 40,000 files
  – 42 minutes
 Check with minor modifications of both
  operating systems
  – 8 minutes
 Check with minor modifications of
  Windows 95
  – 202 Mbytes of data
  – approx. 3,500 files
  – 2 minutes
Future work

Management of different
 hardware configurations with
 one repository.
Merge rdist and fsrcs into
 a single application.
Managing PC Operating
Systems with a Revision
    Control System

      Gottfried Rudorfer
  Gottfried.Rudorfer@gmx.at

More Related Content

What's hot

Part 04 Creating a System Call in Linux
Part 04 Creating a System Call in LinuxPart 04 Creating a System Call in Linux
Part 04 Creating a System Call in LinuxTushar B Kute
 
Operating system deign and implementation
Operating system deign and implementationOperating system deign and implementation
Operating system deign and implementationsangrampatil81
 
Desktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld systemDesktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld systemLokesh Singrol
 
Memory management in_windows_os
Memory management in_windows_osMemory management in_windows_os
Memory management in_windows_osVidhyavaniA
 
Virtualization (Distributed computing)
Virtualization (Distributed computing)Virtualization (Distributed computing)
Virtualization (Distributed computing)Sri Prasanna
 
Em library
Em libraryEm library
Em libraryshady999
 
Lesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery MethodsLesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery MethodsGene Carboni
 
Operating system structures
Operating system structuresOperating system structures
Operating system structuresMohd Arif
 
BAIT1003 Chapter 6
BAIT1003 Chapter 6BAIT1003 Chapter 6
BAIT1003 Chapter 6limsh
 
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module ProgrammingPart 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module ProgrammingTushar B Kute
 
Deploying Windows 7 With Configuration Manager 2007 R2
Deploying Windows 7 With Configuration Manager 2007 R2Deploying Windows 7 With Configuration Manager 2007 R2
Deploying Windows 7 With Configuration Manager 2007 R2Amit Gatenyo
 
Unit+nine+ +additional+topics+and+resources
Unit+nine+ +additional+topics+and+resourcesUnit+nine+ +additional+topics+and+resources
Unit+nine+ +additional+topics+and+resourcesErdo Deshiant Garnaby
 
Kernel Module Programming
Kernel Module ProgrammingKernel Module Programming
Kernel Module ProgrammingSaurabh Bangad
 
System administration with automation
System administration with automationSystem administration with automation
System administration with automationShivam Srivastava
 
Planning Optimal Lotus Quickr services for Portal (J2EE) Deployments
Planning Optimal Lotus Quickr services for Portal (J2EE) DeploymentsPlanning Optimal Lotus Quickr services for Portal (J2EE) Deployments
Planning Optimal Lotus Quickr services for Portal (J2EE) DeploymentsStuart McIntyre
 

What's hot (20)

Resume_Rakesh
Resume_RakeshResume_Rakesh
Resume_Rakesh
 
Part 04 Creating a System Call in Linux
Part 04 Creating a System Call in LinuxPart 04 Creating a System Call in Linux
Part 04 Creating a System Call in Linux
 
Ch03
Ch03Ch03
Ch03
 
OS Structure
OS StructureOS Structure
OS Structure
 
Data recovery glossary w
Data recovery glossary   wData recovery glossary   w
Data recovery glossary w
 
Operating system deign and implementation
Operating system deign and implementationOperating system deign and implementation
Operating system deign and implementation
 
Desktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld systemDesktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld system
 
Memory management in_windows_os
Memory management in_windows_osMemory management in_windows_os
Memory management in_windows_os
 
Virtualization (Distributed computing)
Virtualization (Distributed computing)Virtualization (Distributed computing)
Virtualization (Distributed computing)
 
Em library
Em libraryEm library
Em library
 
Lesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery MethodsLesson 8 - Understanding Backup and Recovery Methods
Lesson 8 - Understanding Backup and Recovery Methods
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 
BAIT1003 Chapter 6
BAIT1003 Chapter 6BAIT1003 Chapter 6
BAIT1003 Chapter 6
 
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module ProgrammingPart 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
 
Deploying Windows 7 With Configuration Manager 2007 R2
Deploying Windows 7 With Configuration Manager 2007 R2Deploying Windows 7 With Configuration Manager 2007 R2
Deploying Windows 7 With Configuration Manager 2007 R2
 
SP1_Battlecard
SP1_BattlecardSP1_Battlecard
SP1_Battlecard
 
Unit+nine+ +additional+topics+and+resources
Unit+nine+ +additional+topics+and+resourcesUnit+nine+ +additional+topics+and+resources
Unit+nine+ +additional+topics+and+resources
 
Kernel Module Programming
Kernel Module ProgrammingKernel Module Programming
Kernel Module Programming
 
System administration with automation
System administration with automationSystem administration with automation
System administration with automation
 
Planning Optimal Lotus Quickr services for Portal (J2EE) Deployments
Planning Optimal Lotus Quickr services for Portal (J2EE) DeploymentsPlanning Optimal Lotus Quickr services for Portal (J2EE) Deployments
Planning Optimal Lotus Quickr services for Portal (J2EE) Deployments
 

Similar to Managing Operating Systems with a Revision Control System

ITC Lecture02.pptx
ITC Lecture02.pptxITC Lecture02.pptx
ITC Lecture02.pptxssuser368f5d
 
Workstations-02.pptx
Workstations-02.pptxWorkstations-02.pptx
Workstations-02.pptxDorcask3
 
Advanced Storage Area Network
Advanced Storage Area NetworkAdvanced Storage Area Network
Advanced Storage Area NetworkSoumee Maschatak
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2vasuballa
 
Systems and Applications.pptx
Systems and Applications.pptxSystems and Applications.pptx
Systems and Applications.pptxMonaNashaat3
 
hardware and software upgrade
hardware and software upgradehardware and software upgrade
hardware and software upgradeDana Popescu
 
Reformat PPT.pptx
Reformat PPT.pptxReformat PPT.pptx
Reformat PPT.pptxLINDYLGERAL
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05ayahye
 
Linux Disaster Recovery Made Easy
Linux Disaster Recovery Made EasyLinux Disaster Recovery Made Easy
Linux Disaster Recovery Made EasyNovell
 
Computer hardware1
Computer hardware1Computer hardware1
Computer hardware1paniseema
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...yaminohime
 
[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer
[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer
[AMD] Novel Use of Perforce for Software Auto-updates and File TransferPerforce
 

Similar to Managing Operating Systems with a Revision Control System (20)

ITC Lecture02.pptx
ITC Lecture02.pptxITC Lecture02.pptx
ITC Lecture02.pptx
 
Workstations-02.pptx
Workstations-02.pptxWorkstations-02.pptx
Workstations-02.pptx
 
Roll of os
Roll of osRoll of os
Roll of os
 
Roll of os
Roll of osRoll of os
Roll of os
 
Ansible.pdf
Ansible.pdfAnsible.pdf
Ansible.pdf
 
Advanced Storage Area Network
Advanced Storage Area NetworkAdvanced Storage Area Network
Advanced Storage Area Network
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
Systems and Applications.pptx
Systems and Applications.pptxSystems and Applications.pptx
Systems and Applications.pptx
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
hardware and software upgrade
hardware and software upgradehardware and software upgrade
hardware and software upgrade
 
Reformat PPT.pptx
Reformat PPT.pptxReformat PPT.pptx
Reformat PPT.pptx
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05
 
Uc14 chap05
Uc14 chap05Uc14 chap05
Uc14 chap05
 
Linux Disaster Recovery Made Easy
Linux Disaster Recovery Made EasyLinux Disaster Recovery Made Easy
Linux Disaster Recovery Made Easy
 
Computer hardware1
Computer hardware1Computer hardware1
Computer hardware1
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 5 - System ...
 
Unit 4
Unit  4Unit  4
Unit 4
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer
[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer
[AMD] Novel Use of Perforce for Software Auto-updates and File Transfer
 

Managing Operating Systems with a Revision Control System

  • 1. Managing PC Operating Systems with a Revision Control System Ing.Mag. Gottfried Rudorfer Gottfried.Rudorfer@gmx.at Wirtschaftsuniversität Wien October 25, 1997
  • 2. The problem System Users Administrator  Want a unique  Tasks system – Updates configuration – New software – Correct – Configuration of preferences for • operating system • Windows-Profile • applications • MS-Office • Firefox
  • 3. Large scale management of PCs  Problem: The administrative effort increases proportional with the number of PCs.  Goal: Software for automatic administration of the software
  • 4. PC specific problems Users with physical access to the computer may be able to change the software configuration – The user installs another operating system from USB device – The user may change files and/or partitions especially when having admin-rights
  • 5. Consequences The installed software on the clients has to be regarded as non safe. A changed software configuration has to be expected. A software distribution system has to consider this consequences!
  • 6. Existing approaches If the user reports problems with the installation, the PC is reinstalled from scratch. Unattended system installation with – Network-boot with access to a repository server – Setup of software packages with default settings
  • 7. Our approach A system which – does not require a complete re-install but rather performs a software check. – tries to repair the existing configuration without a fresh install. – is much faster compared to unattended full installations
  • 8. Functionality for the user Verification of a client. Speed. Verification is fast because: – Installation from scratch is only necessary when there was a serious change in system configuration. – The content of files is not transmitted to the client when the attributes of the file are identical with the current master copy.
  • 9. Benefits for the administrator Programs for the generation of a new master copy. A revision control system to store different versions of the master copy at the same time. Only one PC client has to be managed!
  • 11. Updating a client Client Server  Load the  Provides the operating system master copy. for the installation.  Run the installation program.  Reboot the system.
  • 12. The operating system for the installation: Linux  Generic boot loader (LILO) – loads the kernel as ram disk.  Initial RAM-Disk – the file system is mapped into the main memory. – Finally /initrc is executed. The OS has unlimited access to the hard disk.
  • 13. The installation program Written in Perl5 Functionality – Check the partition table. – Check the file systems. – Mount the file systems. – Ask the server to update the client. – Dismount the file systems. – Write a new master boot record. – Do local customizations.
  • 14. Replacing the current master copy Client Server  Boot Linux  The server  Login at the executes the server as command rdist pc7adm. at the client using rsh.  Management of different master copies with our fsrcs.
  • 15. The master copy Is a directory on the server which contains all files of a client. Access with two accounts: – pc7inst: for reading the files – pc7adm: for writing files Problem: A working master copy might be replaced by a non operational version.
  • 16. Security on the server The clients shouldn’t have unlimited root privileges. The upload program has to be run with root privileges! Solution: – .rhosts – No login shell for the upload and download users. – All programs perform first a chroot to the master copy.
  • 18. Performance  Fresh installation of both operating systems – 909 Mbytes of data – approx. 40,000 files – 42 minutes  Check with minor modifications of both operating systems – 8 minutes  Check with minor modifications of Windows 95 – 202 Mbytes of data – approx. 3,500 files – 2 minutes
  • 19. Future work Management of different hardware configurations with one repository. Merge rdist and fsrcs into a single application.
  • 20. Managing PC Operating Systems with a Revision Control System Gottfried Rudorfer Gottfried.Rudorfer@gmx.at