The Infrastructure of the Libreoffice Project
Total Page:16
File Type:pdf, Size:1020Kb
TheThe infrastructureinfrastructure ofof thethe LibreOffceLibreOffce projectproject Alexander Werner The Document Foundation LibreOffce Conference Bern September 2#1 1 About Alex A lon$ lon$ time of activity for free software 'ember of The Document Foundation responsible for the project's infrastructure as freelancer )ython enthusiast " Looking into the engine room * Controlled chaos O,n dedicated servers Debian 2 Dedicated servers rented by others 1buntu 1"3# -osted services Amavisd .ginx 'ailman Apache 'lmmj '&!/L !altstack )ostgre!/L O,ncloud Deployment on bare metal 'ediawi+i 0's Dovecot 1FW 'irmon !hore,all 4therpad )ostfx )lanet 'irrorbrain 4tc. pp. Askbot )lone !ilverstripe 6ump to the next level 5 Taming the chaos Goals -igh a%ailability of services Fe,er services ,ith the same purpose Better maintainability Better use of resources Easier scalability 7 Taming the chaos Reaching the goals -igh a%ailability 1se current %irtualization and stora$e technolo$ies Build a cloud9like infrastructure :et better suited hard,are Fe,er services ,ith the same purpose Find duplicate services Choose the one that ,orks best Better maintainability ;educe the number of different speced servers ;educe conf$uration complexity 2 Taming the chaos Reaching the goals Better use of resources !oftware that needs less C)1=RAM Looking for simpler conf$uration Easier scalability :et hard,are that is suffcient for quite a number of VMs 'ake use of an infrastructure=cloud pro%ider < Our new engine 74 cores "57:B RA' x2TB Enterprise Level SATA HDDs -ardware ;AID ;edundant power suppl& Direct LAN connection between two of them @)'@ enou$h I)s (both v4 and v6) ? The gearbox o0irt as infrastructure provider )rovides virtual machines, %irtual storage and %irtual net,orks on top of CentOS 735 ;unning in self hosted en$ine mode – management engine as 0' :lusterFS as replicated storage 'igration of VMs bet,een hosts without do,ntime E0' as virtualization technolo$& 1# Our chauffeur !altStack for infrastructure orchestration One master commands multiple minions !impleC yaml based confguration 0er& fast and parallel Bootstrapping of the ,hole platform possible !etup of new VM (production ready) from scratch ,ithin "0 minutes Documentation of the confguration 'ost parts open sourced Agithub.com/tdf/salt-states9base) 11 The ,hole platform Easy to $i%e ne, admins fne9$rained access due to salt-based user mana$ement Easy to maintain: changes to the salt-master propa$ate to the ,hole infrastructure -ighly a%ailableF 0's failo%er to the other host Effcient use of resources: 0's can scale %er& largeC memor& o%ercommit included @t scales easilyF 0's and additional hard,are hosts can be easil& pro%isioned 1" The masterplan 1* What's next Writing salt-states that pro%ision the platform on testing hard,are Allocation of the hard,are b& the hoster )ro%ision the nodes 'o%e the existing 0's to the ne, platformC starting ,ith the sta$ing ones 'o%e ser%ices from exisiting bare9metal machines to separated Vms Change from Apache to Nginx, from '&SQL to )GSQL etc3 1 6oin us, it(s fun! @nfra confcall on Tuesday, September 9, 17 !0 "#T -elp appreciated in all areas 0irtualization Backup 'onitorin$ !!O LDAP Databases Webser%er 'ailserver 15 Communication channels $tdf%infra at irc.freenode.net website&global.libreof(ce'org mailin$ list subscribe ,ith ,ebsite+subscribeIglobal.libreoffce.or$ own wi+i category at https://wiki.documentfoundation'org)+nfra mail the admin team at [email protected] 17 Than+ you for your attentionG An& questions? 49Mail: alexIdocumentfoundation3org @;C: awerner All text and ima$e content in this document, unless other,ise specifed, is licensed under the Creati%e Commons Attribution9!hare Ali+e *3# License This does not include the LibreOffce name, lo$oC or icon 12.