Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

LinuxTag 2010 - Advanced Software Management with RPM

787 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

LinuxTag 2010 - Advanced Software Management with RPM

  1. 1. www.immobilienscout24.deAdvancedSoftware Management with RPMBerlin | 09.06.2010 | Schlomo SchapiroSystemarchitekt, Open Source Evangelist Lizenz: http://creativecommons.org/licenses/by-nc-nd/3.0/de/
  2. 2. Agenda Background Vision – The Linux Way of Doing Things Glue DiscussionSeite 2 | Advanced Software Management with RPM | Schlomo Schapiro
  3. 3. Background ImmobilienScout24  Leading real estate listing portal in Germany  Run everything on RHEL5 x86_64, XEN, Apache, Tomcat ...  ~ 600 servers for DEV, QA, PROD and surrounding systems Fairly automated deployment & configuration management  home brew  OS independent (back then we used also Windows...)  Lots of reinvented wheels included  Configuration management based on layering Challenges  Faster, better, cheaper  Automation, Validation, continuous (live) deploymentSeite 3 | Advanced Software Management with RPM | Schlomo Schapiro
  4. 4. Vision – The Linux Way of Doing Things Software Management  Packaging and versioning of files  Static image of a server  Unified view of system, application and configuration level  Strong validation  Upgrades and downgrades, rollbacks, transaction sets  Under Linux we can say configuration = software  RPM System Management  Cause change between 2 static states  Manage (= control) services  Remote control  Func and funcshell, puppet, SSH-based (home brew)Seite 4 | Advanced Software Management with RPM | Schlomo Schapiro
  5. 5. Proof Of Concept Simplified setup of our current environment  Configuration management with layering  Simple Templating (variable substitution)  Bare-metal provisioning (cobbler, kickstart)  Convert existing IS24 software packages to RPM  1 configuration RPM per host with all files included  System management through SSH and Linux commands  Software management with yum update Result  It works!  Config change → host rollout = Time to type svn and yum  Provisioning, update, rollback and validation  Templating back end could be smarterSeite 5 | Advanced Software Management with RPM | Schlomo Schapiro
  6. 6. Big Picture Host Requires Provides DB_HOST DB_USER tstweb01 httpd, db01 prod is24-tomcat Templating DB svn ciconfig Config YUM IS24 software├── all SVN│ └── etc Post-commit Repository Automated RPM│ └── is24 hook creation│ └── system.properties creates├── loc is24-config-$hostname│ └── tst RPM│ └── etc│ └── is24│ ├── web.properties is24-config-tstweb01-1.0-$rev.rpm:│ └── db.properties /etc/is24/system.properties├── typ│ └── web /etc/is24/db.properties db.host=@@@DB_HOST@@@├── loctyp db.user=@@@DB_USER@@@ /etc/is24/web.properties│ └── tstweb db.port=3306│ └── etc│ └── is24│ └── web.properties└── host [root@tstweb01 ~]# yum update └── tstweb02 Seite 6 | Advanced Software Management with RPM | Schlomo Schapiro
  7. 7. RPM Dependencies is24-config-tstweb01 Requires httpd is24-mod_jk is24-tomcat is24-base-env is24-appl-env is24-tomcat-data is24-jcris24-contentrules is24-jcr-base is24-sitemapassembler is24-jtools is24-sitemapassembler-config jdk Seite 7 | Advanced Software Management with RPM | Schlomo Schapiro
  8. 8. Take it easyPut everything into a package and watchas the system does its job for youSeite 8
  9. 9. Thank you very much!Please contact me forfurther discussions about this talk.Contact:Immobilien Scout GmbH Phone: +49 30 243 01-1229Andreasstraße 10 Email: schlomo.schapiro@immobilienscout24.de10243 Berlin URL: www.immobilienscout24.deSeite 9

×