Centralized database hosting 23 septembre 2010 1
Summary Introduction Services proposed by DIT Hosting types Examples of implementations On going To conclude 23 septembre 2010 Summary 2
MySQL? Introduction «The world's most popular open source database» Free and Open! Community server, Proxy, Cluster, Workbench, GUI Tools : Open source under licence GPL 2.0. http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 23 septembre 2010 Introduction 3
Introduction Observation: Database management requires abilities you have to acquire, deepen and maintain. A lot of services supported by DIT uses MySQL databases. Decision: Official support of MySQL by DIT, mission is confided at the groupe Exploitation which already manage Oracle databases. Steps: 1. Formation of the staff. 2. Definition of the service characteristics. One framework document. One endorsement by project. 3. Pilot experience (see examples). 4. Service opening (Representative Julia Paolini Certified MySQL DBA). 23 septembre 2010 Introduction 4
Services proposed by DIT Advices, formation, hosting, audit : Advices : Choice of architecture (mutualized, dedicated), storage engine, migration from one version to another, implementing backup plans Formation : MySQL/SQL class. Hosting : Administration of centralized servers. Audit : Performance measuring of existing database, help to optimize queries. 23 septembre 2010 Services proposed by DIT 5
Hosting: mutualized vs dedicated Types Characteristics Mutualized Dedicated Size DB Medium (2Go) All sizes Performances Variable Maximal Offer Fixed Flexible Implementation Fast Variable Cost Free Paying 23 septembre 2010 Hosting types 6
From now on One server mutualized by School Virtual machine (1 CPU, 2G RAM, 36Go HD). For small DB with average activity. Costs: servers and administration supported by DIT. Daily backup by central service Veritas. Nagios monitoring. Time limit of implemention: Fast. Request have to be validated by the school's representative IT. 23 septembre 2010 Hosting types 7
In case of necessity 1 to N Servers dedicated by projects Physical, virtual or mixed machines. All types of DB. Costs : Advices, project management, administration : supported by DIT. Machines, softwares, backups : supported by applicant. Time limit of implementation: Depending of the complexity. 23 septembre 2010 Hosting types 8
Pilot experience Mutualized hosting non transactional (the helpdesk managing system for borrowing equipment) transactional (MyVM) Dedicated hosting non transactional (Moodle) transactional (Grants) 23 septembre 2010 Hosting types 9
Mutualized hosting DIT : 8 DBs : myvm.epfl.ch, sanas.epfl.ch, backup.epfl.ch. DBs mixed 2 VMs et 2 Physicals : 1 Web mutualized 2 Web dedicated 1 BD mutualized ~ 1 Read/s ~ 1 Write/s Up to 5 simultaneous users. 23 septembre 2010 Examples of implementation 10
Dedicated hosting Moodle (e-learning) 1 DB non transactional. 4 VMs, 2 Physicals : 2 tests (1 web, 1 BD) 2 Web 2 DB replicated ~ 200 Reads/s ~ 2 Writes/s Up to 140 simultaneous users. 23 septembre 2010 Examples of implementation 11
Grants : (register proposal for reseachers) 1 DB transactional. Dedicated hosting 3 VMs: 1 test 2 Web/BD replicated. <1 Read/s <1 Write/s Up to 7 simultaneous users. 23 septembre 2010 Examples of implementation 12
Dedicated hosting Tequila : (authentification) 6 VM, 3 Physical. 5(n) Web and DB(select) 2 Applicatives 2 DB On the DB section : ~ 30 Reads/s ~ 20 Writes/s Up to 225 simultaneous users. 23 septembre 2010 Examples of implementation 13
On going Jahia : (CMS) 6 VM, 4 Physical. 4 tests (2 DB, 2 app.) 4 Web 2 DB 23 septembre 2010 On going 14
To conclude Portal mysql.epfl.ch For your projects Contact the MySQL administrator s team by mail: mysql-admin@groupes.epfl.ch. In case of problem! Contact the DIT s helpdesk by mail: support-it@epfl.ch. by phone : 1234 23 septembre 2010 To conclude 15
Thank you for your attention! Questions? 23 septembre 2010 16