DSPACE CLUSTERING DSPACE CLUSTERING VIA PUPPET, HAPROXY AND CEPHFS VIA PUPPET, HAPROXY AND CEPHFS DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
TABLE OF CONTENTS TABLE OF CONTENTS 1. What we want 2. How we get what we want 3. Code example DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
WHAT WE WANT WHAT WE WANT DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
Automatic, customizable and secure all-in-one con�guration DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
Automatic, customizable cluster con�guration which allows for Horizontal scaling, improved availability and improved maintainability DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
WHAT DSPACE NEEDS WHAT DSPACE NEEDS DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
SOFTWARE STACK SOFTWARE STACK Apache web server Tomcat application server PostgreSQL database server Solr index server DSpace web application File system DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
HOW WE GET WHAT WE WANT HOW WE GET WHAT WE WANT DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
SOFTWARE STACK SOFTWARE STACK GitLab: source code management & CI & CD Puppet: con�guration management & orchestration Custom Puppet module for DSpace DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CUSTOM PUPPET MODULE FOR DSPACE CUSTOM PUPPET MODULE FOR DSPACE Handles installation & con�guration of all DSpace components Handles �rewall, orchestration and communication in cluster setting DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
GITLAB + PUPPET GITLAB + PUPPET DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
PUPPET AGENT ON A DSPACE APPLICATION NODE PUPPET AGENT ON A DSPACE APPLICATION NODE Gets con�guration from Puppet Master Clones/pulls the source code Fills and places template �les Runs Maven and Ant Restarts Tomcat DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
DSPACE COMPONENTS DSPACE COMPONENTS DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
SHARED RESOURCES IN A CLUSTER SETTING SHARED RESOURCES IN A CLUSTER SETTING Database Index AssetStore directory (we use CephFS ) Other shared directories (e.g. exports or oai ; we use CephFS ) Session data? No, actually we just pin the client on a worker DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CHARACTERISTICS OF OUR CLUSTERING CHARACTERISTICS OF OUR CLUSTERING The components portal, application, database and index are installed and con�gured on designated nodes All DSpace-speci�c server components listen to local host Web server listens on the public interface In cluster mode all components are transparently connected via HAProxy Secure �rewall and monitoring con�guration DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CONFIGURATION AND CUSTOMIZATION VIA PUPPET MODULE CONFIGURATION AND CUSTOMIZATION VIA PUPPET MODULE General Con�guration of System/Java/Tomcat environment variables Con�guration of general DSpace-related settings Git repository with slightly modi�ed basic DSpace source code, e.g. hot �xes Git repository with different branches of customized code (maven overlay mechanics) DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CODE EXAMPLE CODE EXAMPLE DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CONFIGURATION CLASS CONFIGURATION CLASS DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
ALL-IN-ONE INSTALLATION ALL-IN-ONE INSTALLATION DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CLUSTER INSTALLATION CLUSTER INSTALLATION DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CLUSTER INSTALLATION CLUSTER INSTALLATION DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CLUSTER INSTALLATION CLUSTER INSTALLATION DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CLUSTER INSTALLATION CLUSTER INSTALLATION DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
CLUSTER INSTALLATION CLUSTER INSTALLATION DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
THANK YOU! THANK YOU! Visit us on GitHub . Soon on Puppet Forge . DSpace-Clustering Bernd Nicklas, Paul Münch OR2019 Kontakt: dspace@uni-marburg.de CC BY 4.0
Recommend
More recommend