1 / 10

ESG-NODE

ESG-NODE. Installer. Installer 101. There is not one single script but a family: esg-bootstrap: download the latest installer (esg-node) esg-node: main installer, downloads other scripts esg-globus: everything about globus esg-security: everything bout security

khuong
Télécharger la présentation

ESG-NODE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ESG-NODE Installer Estanislao Gonzalez - DKRZ

  2. Installer 101 • There is not one single script but a family: • esg-bootstrap: download the latest installer (esg-node) • esg-node: main installer, downloads other scripts • esg-globus: everything about globus • esg-security: everything bout security • esg-token[less]-filters: setup TDS and system for this security type • *: There are others… Introductionto DKRZ

  3. Installer 101 - location • Only script that need to be downloaded is esg-bootstrap (previously was installed at /usr/local/bin) • Other scripts are automatically downloaded to the same directory • The node maintains a directory structure (default: /esg) • The configuration is in either in /esg/config/esgf.properties or /etc/esg.env • The configuration is affected by environment variables Introduction to DKRZ

  4. Installer 101 - Technology • All scripts are written in BASH • The installer manages a set of files for performing configuration • It assumes RedHat/CentOS • It is design to install and configure, and upgrade (tested from latest version) the system. Introduction to DKRZ

  5. Installer 101 - Technology • It is (was) meant to be installed by root but from a special user that sudo into it (before the $HOME variable was used, now I “think” there’s a envvar that can be set. • There are some cronjobs installed for that user, this is not described anywhere. • It also contains some utility functions (i.e. managing certificates, etc) • Some functions “assume” there’s a single esg.ini publisher configuration file (e.g. while hardlinking directories to the jailroot of gridftp) Introduction to DKRZ

  6. Installer – critic • Simplifies the download, compilation and configuration considerably. • It leaves the machine in an well known state (assuming everything runs fine) • Helps users to upgrade the system, by upgrading its parts as needed. Introduction to DKRZ

  7. Installer – critic • It makes too many assumptions that are hidden from the user. • It doesn’t adapt easily to the user needs. • It’s not properly tested (could it be? How?). • It’s already a huge script (~4K lines) Introduction to DKRZ

  8. Installer – critic • Debugging is extremely hard. • If the installation breaks, the system will be in an unknown state. • It requires super user rights, but gives no information on what it does. It is assumed to be self describing, but not everyone can read BASH. • Develand main tend to mix. Introduction to DKRZ

  9. Installer Summary • It does work. In my experience, it takes time and bug-fixing and/or tweaking. But it’s certainly better than installing it manually. On the other hand, the knowledge gained by using the script involves knowledge about the script itself and not that of the components being installed. • Using the installer guarantees a common base that simplifies pinpointing errors and helping others. Introduction to DKRZ

  10. Installer – Open questions • It is possible to install such a rich/complex system in a complete unattended manner? • Or by non-experts? • How can we assure people upgrade their nodes? • What about other systems beside RedHat? • How can we open the installing process to the community? Introduction to DKRZ

More Related