OSCAR on Debian the EDF Experience Geoffroy Valle Hugues Prisker - - PowerPoint PPT Presentation

oscar on debian the edf experience
SMART_READER_LITE
LIVE PREVIEW

OSCAR on Debian the EDF Experience Geoffroy Valle Hugues Prisker - - PowerPoint PPT Presentation

OSCAR on Debian the EDF Experience Geoffroy Valle Hugues Prisker Jean-Yves Berthou Daniel Leprince 1 15/05/05 Outline OSCARonDebian Introduction Port Issues OSCAR scripts OSCAR prereqs OSCAR Packages EDF Approach


slide-1
SLIDE 1

15/05/05 1

OSCAR on Debian the EDF Experience

Geoffroy Vallée Hugues Prisker Jean-Yves Berthou Daniel Leprince

slide-2
SLIDE 2

15/05/05 2

Outline

OSCARonDebian ›Introduction ›Port Issues

  • OSCAR scripts
  • OSCAR prereqs
  • OSCAR Packages

EDF Approach ›A solution : Bootable CD/DVD ›Proposition to integrate Oscar in an almost automatized Installation

slide-3
SLIDE 3

15/05/05 3

OSCARonDebian - Introduction

OSCAR initially developed for RPM Linux distributions OSCAR based on ›general scripts/libs ›prereqs ›OSCAR packages Since OSCAR 3.0, development of PackMan/DepMan ›Virtualization of the binary package format

slide-4
SLIDE 4

15/05/05 4

OSCAR Port to Debian

Goals ›Port to the Debian Sarge Linux distribution ›Port compatible with the “official” OSCAR suite Issue ›new binary package format (.deb vs. .rpm) with new tools to manage binary packages (apt, dpkg) ›new filesystem organization ›different organization of configuration files

slide-5
SLIDE 5

15/05/05 5

PackMan / DepMan

Simplify the port on new binary packages formats ›no longer depending on RPM packages ›have to create a new “backend” for Debian Some scripts and libs are still rely on RPM packages

OSCAR Package Abstraction Layer (Packman, Depman)

Install Package Update Package Remove Package

RPM Package Deb Package

Other Package Format

RPM Commands Deb Commands Package Management Commands

slide-6
SLIDE 6

15/05/05 6

OSCAR Scripts and Libraries

Scripts and libs: some of them are RPM based Source audit ›find RPM based commands ›create a new abstraction API to replace RPM based commands for more generic commands (extending or creating OSCAR libs) Port to have a “generic” code (not depending on a specific binary package format)

slide-7
SLIDE 7

15/05/05 7

OSCAR Prereqs

OSCAR prereqs are ›Basic software components needed by OSCAR ›Installed during the OSCAR initialization step Problems ›some prereqs are available as RPM packages ›scripts based on RPM commands Port on Debian ›Creation of Debian packages ›Scripts modification using more generic commands

slide-8
SLIDE 8

15/05/05 8

OSCAR Packages Binary Package (e.g. RPM, Deb) XML file Scripts

OSCAR packages' structure ›XML meta-file ›scripts ›binary packages Port to the Debian distro ›Create Deb packages or use existing packages ›Adapt the XML file ›Adapt scripts

slide-9
SLIDE 9

15/05/05 9

Use of Debian Tools

Debian has a specific approach to manage packages ›based on Advanced Package Tool (APT) ›SIS for Debian based on Deboot and APT

  • Deboot to create a basic system, using an online repository
  • APT to install other package into the image, using a local or an online

repository Current solution ›Image created using online repository ›OSCAR packages managed with a local repository

slide-10
SLIDE 10

15/05/05 10

OSCARonDebian – Current State

A development version available ›allows to install a cluster ›compatible with RPM based distributions ›closed to OSCAR 4.1 (simple modifications) Issue ›some OSCAR Packages are not “stable” (Debian packages not compliant with Debian rules) ›still need to be tested ›what is the best way to integrate modifications in OSCAR (current discussions)

slide-11
SLIDE 11

15/05/05 11

Proposal for an OscarOnDebian Installation

How to have a Debian-based environment for Oscar? ›Hand made installation of the master node

  • Long, boring, unreproductible, non industrial solution, ...

›Network Installation

  • Network infrastructure is needed
  • Environment dependancies (pxe, dhcp, floppy, cd, ..)
  • Installation server is needed

›Bootable CD/DVD containing everything

  • Fully independant from environment constraint
slide-12
SLIDE 12

15/05/05 12

Bootable CD/DVD

Goal ›Provide a Debian environment for OSCAR tools Contains (at least) ›Boot loader : Grub

  • Kernel's choice (x86, x86-64, ...)

›Packages .deb

  • Personalized Debian Mirror

›Installation Server

  • FAI embeded server to preinstall the master node
  • Configure the master node as an Oscar server and/or FAI server
slide-13
SLIDE 13

15/05/05 13

Standard Master Node Configuration

Hardware : ›2 network interfaces Environment softwares ›DHCP Server ›Installation server for the nodes (Oscar, FAI, ...) ›User management Authentication (NIS Master/Slave, LDAP, ..) ›NFS Server needed by FAI ›FTP Server for the Debian Mirror Clustering softwares ›PBS/Torque server ›Maui server

slide-14
SLIDE 14

15/05/05 14

How to use Oscar tools ? (Or where to plug OSCAR in this process ?) Boot on CD

Master node pre- configuration

Reboot Installation process

Easier to integrate