SlideShare a Scribd company logo
1 of 48
Download to read offline
MongoDB – Big Data mit Open Source 
CommitterConf Essen 2014 29. Oktober 2014 
Tilman Beitter 
Linux Consultant & Trainer 
B1 Systems GmbH 
beitter@b1-systems.de 
B1 Systems GmbH - Linux/Open Source Consulting, Training, Support & Development
Vorstellung B1 Systems 
gegründet 2004 
primär Linux/Open Source-Themen 
national & international tätig 
über 60 Mitarbeiter 
unabhängig von Soft- und Hardware-Herstellern 
Leistungsangebot: 
Beratung & Consulting 
Support 
Entwicklung 
Training 
Betrieb 
Lösungen 
dezentrale Strukturen 
B1 Systems GmbH MongoDB – Big Data mit Open Source 2 / 48
Schwerpunkte 
Virtualisierung (XEN, KVM & RHEV) 
Systemmanagement (Spacewalk, Red Hat Satellite, SUSE 
Manager) 
Konfigurationsmanagement (Puppet & Chef) 
Monitoring (Nagios & Icinga) 
IaaS Cloud (OpenStack & SUSE Cloud & RDO) 
Hochverfügbarkeit (Pacemaker) 
Shared Storage (GPFS, OCFS2, DRBD & CEPH) 
Dateiaustausch (ownCloud) 
Paketierung (Open Build Service) 
Administratoren oder Entwickler zur Unterstützung des Teams 
vor Ort 
B1 Systems GmbH MongoDB – Big Data mit Open Source 3 / 48
Partner 
B1 Systems GmbH MongoDB – Big Data mit Open Source 4 / 48
Einführung in MongoDB 
B1 Systems GmbH MongoDB – Big Data mit Open Source 5 / 48
Was ist MongoDB? 
Open Source NoSQL Datenbank 
schemafrei 
skalierbar 
dokumentenorientiert 
entwickelt durch MongoDB Inc. 
B1 Systems GmbH MongoDB – Big Data mit Open Source 6 / 48
Vergleich RDBMS und NoSQL 
Vergleich RDBMS und MongoDB-NoSQL 
RDBMS NoSQL 
Database Database 
Table Collection 
Index Index 
Row BSON Document 
Column BSON Field 
Join Embedding and Linking 
Primary Key _id Field 
B1 Systems GmbH MongoDB – Big Data mit Open Source 7 / 48
NoSQL 
„Not Only SQL“ 
nicht relational 
keine Tabellenschemata 
Vermeidung von JOINs 
horizontale Skalierung 
B1 Systems GmbH MongoDB – Big Data mit Open Source 8 / 48
Das BSON Format 
„Binary JSON“ 
bietet mehr Datentypen als JSON 
ermöglicht Speicherung von Binärdaten 
entwickelt für MongoDB 
erweitert zur offiziellen Spezifikation (bsonspec.org) 
B1 Systems GmbH MongoDB – Big Data mit Open Source 9 / 48
Das BSON Format 
Beispieldokument im BSON-Format: 
{ 
"Benutzername": "linus.torvalds", 
"Name": { 
"Vorname": "linus", 
"Nachname": "torvalds", 
}, 
"ÜbergeordneterChef": {}, 
"Kollegen": [ "s.example0", "g.example1" ], 
"IstAbteilungsleiter": true, 
"Abteilungen": null, 
} 
B1 Systems GmbH MongoDB – Big Data mit Open Source 10 / 48
Systemkonfiguration 
B1 Systems GmbH MongoDB – Big Data mit Open Source 11 / 48
Hardwarevoraussetzungen 
Minimale Systemanforderungen: 
Architektur: 
64bit Betriebssystem 
Multicore CPU 
Arbeitsspeicher und Speicherplatz: 
MongoS: OS-Empfehlung 
Configserver: OS-Empfehlung 
Datenbankserver: abhängig von Datenbankgröße 
B1 Systems GmbH MongoDB – Big Data mit Open Source 12 / 48
Basiskonfiguration 
Anpassung der Systemkonfiguration 
Ulimits 
Readahead 
Swap 
Filesystem 
Hugepages 
B1 Systems GmbH MongoDB – Big Data mit Open Source 13 / 48
Dateien und Ports 
Hauptkonfigurationsdatei: /etc/mongodb.conf 
Logdatei: /var/log/mongodb/mongodb.log 
Standardports (TCP): 
27017: mongod & mongos 
27018: monood mit –shardsvr 
27019: mongod mit –configsvr 
27017: mongod status page (= port + 1000) 
B1 Systems GmbH MongoDB – Big Data mit Open Source 14 / 48
Komponenten der MongoDB 
B1 Systems GmbH MongoDB – Big Data mit Open Source 15 / 48
Komponenten und Begrifflichkeiten 1/2 
mongod 
mongos 
ConfigServer 
ReplicaSets 
Sharding 
B1 Systems GmbH MongoDB – Big Data mit Open Source 16 / 48
Komponenten und Begrifflichkeiten 2/2 
Abbildung : MongoDB Standalone/ReplicaSet 
B1 Systems GmbH MongoDB – Big Data mit Open Source 17 / 48
Aufbau – MongoDB Standalone 
B1 Systems GmbH MongoDB – Big Data mit Open Source 18 / 48
Standalone-Instanz 
Testzwecke 
Entwicklung 
kleine Applikationen (keine Redundanz!) 
B1 Systems GmbH MongoDB – Big Data mit Open Source 19 / 48
Konfiguration Standalone 
Basiskonfiguration: 
# cat /etc/mongodb.conf 
fork = true 
port = 27017 
bind_ip = 127.0.0.1 
dbpath = /data/mongodb 
logpath = /var/log/mongodb/mongodb.log 
logappend = true 
nohttpinterface = true 
B1 Systems GmbH MongoDB – Big Data mit Open Source 20 / 48
Authentifizierung 1/3 
Authentifizierung in Basiskonfiguration inaktiv 
Benutzerauthentifizierung pro Datenbank 
Rechtevergabe anhand eines Rollensystems 
B1 Systems GmbH MongoDB – Big Data mit Open Source 21 / 48
Authentifizierung 2/3 
Anlegen Admin-User zur Aktivierung des Auth-Systems: 
$ mongo admin 
connecting to: admin 
> db.addUser("admin", "password"); 
{ 
"user" : "admin", 
"readOnly" : false, 
"pwd" : "9e7085a6bd3bd9d413444d3adad882bd", 
"_id" : ObjectId("526c39bbaa18b118ec0fc039") 
} 
B1 Systems GmbH MongoDB – Big Data mit Open Source 22 / 48
Authentifizierung 3/3 
Anlage eines Applikationsbenutzers: 
$ mongo admin -u admin -p 
connecting to: admin 
> use customers 
> db.addUser({user:"demo",pwd:"password",roles:["read"]}) 
{ 
"user" : "demo", 
"pwd" : "cd9297683105acbc2b7d9a4a8e2c043b", 
"roles" : [ 
"read" 
], 
"_id" : ObjectId("544df94cb6809cdd0bba4107") 
} 
B1 Systems GmbH MongoDB – Big Data mit Open Source 23 / 48
Liveaufbau Standalone 
B1 Systems GmbH MongoDB – Big Data mit Open Source 24 / 48
Aufbau – MongoDB ReplicaSet 
B1 Systems GmbH MongoDB – Big Data mit Open Source 25 / 48
MongoDB ReplicaSet 1/4 
bietet Redundanz 
kann Kapazität bei Reads erhöhen 
erleichtert Backupstrategien und Restores 
besteht aus 3-12 mongod 
existentes Standalone-System kann migriert werden 
B1 Systems GmbH MongoDB – Big Data mit Open Source 26 / 48
MongoDB ReplicaSet 2/4 
B1 Systems GmbH MongoDB – Big Data mit Open Source 27 / 48
MongoDB ReplicaSet 3/4 
B1 Systems GmbH MongoDB – Big Data mit Open Source 28 / 48
MongoDB ReplicaSet 4/4 
B1 Systems GmbH MongoDB – Big Data mit Open Source 29 / 48
Konfiguration ReplicaSet 
Basiskonfiguration: 
# cat /etc/mongodb.conf 
fork = true 
port = 27017 
bind_ip = 127.0.0.1 
dbpath = /data/mongodb 
logpath = /var/log/mongodb/mongodb.log 
logappend = true 
nohttpinterface = true 
auth = true 
keyFile = /etc/mongodb.key 
replSet = rs00 
B1 Systems GmbH MongoDB – Big Data mit Open Source 30 / 48
Konfiguration ReplicaSet 
Für die interne Authentifizierung der einzelnen Clusterkomponenten 
wird ein Authkey erstellt: 
# openssl rand -base64 741 > /etc/mongodb.key 
# chmod 0600 /etc/auth.key 
# chown mongodb:mongodb /etc/mongodb.key 
B1 Systems GmbH MongoDB – Big Data mit Open Source 31 / 48
Initialisierung ReplicaSet 
Basiskonfiguration: 
$ mongo admin -u admin -p 
> newSet = { _id: ’rs00’, members: [ 
... {_id: 0, host: ’mongodb-rs00-01:27117’}, 
... {_id: 1, host: ’mongodb-rs00-02:27127’}, 
... {_id: 2, host: ’mongodb-rs00-03:27137’}]} 
> rs.initiate(newSet) 
[...] 
> rs.status() 
[...] 
B1 Systems GmbH MongoDB – Big Data mit Open Source 32 / 48
Liveaufbau ReplicaSet 
B1 Systems GmbH MongoDB – Big Data mit Open Source 33 / 48
Aufbau – MongoDB ShardedCluster 
B1 Systems GmbH MongoDB – Big Data mit Open Source 34 / 48
MongoDB ShardedCluster 1/5 
bietet vertikale Skalierbarkeit 
kann Kapazität von Writes erhöhen 
erweitert verfügbaren Speicherplatz 
B1 Systems GmbH MongoDB – Big Data mit Open Source 35 / 48
MongoDB ShardedCluster 2/5 
Minimalsetup für einen redundanten MongoDB Cluster: 
2 ReplicaSets mit jeweils 3 mongod-Instanzen 
3 ConfigServer 
2 MongoS Instanzen 
B1 Systems GmbH MongoDB – Big Data mit Open Source 36 / 48
MongoDB ShardedCluster 3/5 
Abbildung : Sharded Cluster 
B1 Systems GmbH MongoDB – Big Data mit Open Source 37 / 48
MongoDB ShardedCluster 4/5 
Abbildung : Sharded Cluster - Beispiel 2 
B1 Systems GmbH MongoDB – Big Data mit Open Source 38 / 48
MongoDB ShardedCluster 5/5 
Abbildung : Sharded Cluster - Beispiel 3 
B1 Systems GmbH MongoDB – Big Data mit Open Source 39 / 48
Konfiguration ConfigServer 
Basiskonfiguration: 
# cat /etc/mongodb.conf 
fork = true 
port = 27019 
bind_ip = 127.0.0.1 
dbpath = /data/mongodb 
auth = true 
keyFile = /etc/mongodb.key 
logpath = /var/log/mongodb/mongodb.log 
logappend = true 
nohttpinterface = true 
configsvr = true 
B1 Systems GmbH MongoDB – Big Data mit Open Source 40 / 48
Konfiguration MongoS 
Basiskonfiguration: 
# cat /etc/mongodb.conf 
fork = true 
bind_ip = 127.0.0.1 
port = 27017 
keyFile = /etc/mongodb.key 
logpath = /var/log/mongodb/mongodb.log 
logappend = true 
nohttpinterface = true 
configdb = mongodb-cfg-01:27019,mongodb-cfg-02:27029,mongodb-cfg-03:27039 
B1 Systems GmbH MongoDB – Big Data mit Open Source 41 / 48
Initialisierung Cluster 1/2 
Anlegen Adminuser Cluster: 
$ mongo admin 
connecting to: admin 
mongos> db.addUser("admin", "password"); 
{ 
"user" : "admin", 
"readOnly" : false, 
"pwd" : "9e7085a6bd3bd9d413444d3adad882bd", 
"_id" : ObjectId("526c39bbaa18b118ec0fc039") 
} 
B1 Systems GmbH MongoDB – Big Data mit Open Source 42 / 48
Initialisierung Cluster 2/2 
Anlegen Adminuser Cluster: 
$ mongo admin -u admin -p 
connecting to: admin 
mongos> use config 
switched to db config 
mongos> sh.addShard("rs00/mongodb-rs00-01:27117") 
{ "shardAdded" : "rs00", "ok" : 1 } 
mongos> sh.status() 
[...] 
B1 Systems GmbH MongoDB – Big Data mit Open Source 43 / 48
Aktivierung Sharding 
Anlegen Adminuser Cluster: 
mongos> sh.enableSharding("demodata") 
{ "ok" : 1 } 
mongos> sh.shardCollection("demodata.products", {_id:1}) 
{ "collectionsharded" : "demodata.products", "ok" : 1 } 
mongos> sh.status() 
[...] 
B1 Systems GmbH MongoDB – Big Data mit Open Source 44 / 48
Liveaufbau ReplicaSet 
B1 Systems GmbH MongoDB – Big Data mit Open Source 45 / 48
Optionale Komponenten 
B1 Systems GmbH MongoDB – Big Data mit Open Source 46 / 48
Optionale Komponenten 
Arbiter 
Hidden Member 
Delayed Member 
B1 Systems GmbH MongoDB – Big Data mit Open Source 47 / 48
Vielen Dank für Ihre Aufmerksamkeit! 
Bei weiteren Fragen wenden Sie sich bitte an info@b1-systems.de 
oder +49 (0)8457 - 931096 
B1 Systems GmbH - Linux/Open Source Consulting, Training, Support & Development

More Related Content

What's hot

Back to Basics – Webinar 3: Schema-Design: Denken in Dokumenten
Back to Basics – Webinar 3: Schema-Design: Denken in DokumentenBack to Basics – Webinar 3: Schema-Design: Denken in Dokumenten
Back to Basics – Webinar 3: Schema-Design: Denken in DokumentenMongoDB
 
MongoDB für Java Programmierer (JUGKA, 11.12.13)
MongoDB für Java Programmierer (JUGKA, 11.12.13)MongoDB für Java Programmierer (JUGKA, 11.12.13)
MongoDB für Java Programmierer (JUGKA, 11.12.13)Uwe Printz
 
Back to Basics-Webinar 5: Einführung in das Aggregation-Framework
Back to Basics-Webinar 5: Einführung in das Aggregation-FrameworkBack to Basics-Webinar 5: Einführung in das Aggregation-Framework
Back to Basics-Webinar 5: Einführung in das Aggregation-FrameworkMongoDB
 
Back to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDB
Back to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDBBack to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDB
Back to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDBMongoDB
 
Einführung in Elasticsearch
Einführung in ElasticsearchEinführung in Elasticsearch
Einführung in ElasticsearchFlorian Hopf
 
2012-01-31 NoSQL in .NET
2012-01-31 NoSQL in .NET2012-01-31 NoSQL in .NET
2012-01-31 NoSQL in .NETJohannes Hoppe
 
Yes zu NoSQL mit MongoDB für .NET-Entwickler
Yes zu NoSQL mit MongoDB für .NET-EntwicklerYes zu NoSQL mit MongoDB für .NET-Entwickler
Yes zu NoSQL mit MongoDB für .NET-EntwicklerGregor Biswanger
 
OSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin Grauel
OSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin GrauelOSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin Grauel
OSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin GrauelNETWAYS
 
Fachmodell-First: Einstieg in das NoSQL-Schema-Design
Fachmodell-First: Einstieg in das NoSQL-Schema-DesignFachmodell-First: Einstieg in das NoSQL-Schema-Design
Fachmodell-First: Einstieg in das NoSQL-Schema-DesignGregor Biswanger
 
Back to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer AnwendungBack to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer AnwendungMongoDB
 
MongoDB: Entwurfsmuster für das NoSQL-Schema-Design
MongoDB: Entwurfsmuster für das NoSQL-Schema-DesignMongoDB: Entwurfsmuster für das NoSQL-Schema-Design
MongoDB: Entwurfsmuster für das NoSQL-Schema-DesignGregor Biswanger
 
Ladezeiten Verbessern - Css Und JavaScript Komprimieren
Ladezeiten Verbessern - Css Und JavaScript KomprimierenLadezeiten Verbessern - Css Und JavaScript Komprimieren
Ladezeiten Verbessern - Css Und JavaScript KomprimierenJoomla! User Group Fulda
 
Zend Framework 2 feat. MongoDB
Zend Framework 2 feat. MongoDBZend Framework 2 feat. MongoDB
Zend Framework 2 feat. MongoDBRalf Eggert
 
2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen
2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen
2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzenCarsten Hetzel
 
Performance trotz Entity Framwork
Performance trotz Entity FramworkPerformance trotz Entity Framwork
Performance trotz Entity FramworkAndré Krämer
 
Entity Framework hinter den Kulissen
Entity Framework hinter den KulissenEntity Framework hinter den Kulissen
Entity Framework hinter den KulissenAndré Krämer
 

What's hot (20)

Back to Basics – Webinar 3: Schema-Design: Denken in Dokumenten
Back to Basics – Webinar 3: Schema-Design: Denken in DokumentenBack to Basics – Webinar 3: Schema-Design: Denken in Dokumenten
Back to Basics – Webinar 3: Schema-Design: Denken in Dokumenten
 
MongoDB für Java Programmierer (JUGKA, 11.12.13)
MongoDB für Java Programmierer (JUGKA, 11.12.13)MongoDB für Java Programmierer (JUGKA, 11.12.13)
MongoDB für Java Programmierer (JUGKA, 11.12.13)
 
Back to Basics-Webinar 5: Einführung in das Aggregation-Framework
Back to Basics-Webinar 5: Einführung in das Aggregation-FrameworkBack to Basics-Webinar 5: Einführung in das Aggregation-Framework
Back to Basics-Webinar 5: Einführung in das Aggregation-Framework
 
Back to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDB
Back to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDBBack to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDB
Back to Basics German 2: Erstellen Sie Ihre erste Anwendung in MongoDB
 
Einführung in Elasticsearch
Einführung in ElasticsearchEinführung in Elasticsearch
Einführung in Elasticsearch
 
2012-01-31 NoSQL in .NET
2012-01-31 NoSQL in .NET2012-01-31 NoSQL in .NET
2012-01-31 NoSQL in .NET
 
Einführung CouchDB
Einführung CouchDBEinführung CouchDB
Einführung CouchDB
 
Yes zu NoSQL mit MongoDB für .NET-Entwickler
Yes zu NoSQL mit MongoDB für .NET-EntwicklerYes zu NoSQL mit MongoDB für .NET-Entwickler
Yes zu NoSQL mit MongoDB für .NET-Entwickler
 
OSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin Grauel
OSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin GrauelOSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin Grauel
OSMC 2010 | Logverarbeitung mit syslog-ng - Status und Zukunft by Martin Grauel
 
Fachmodell-First: Einstieg in das NoSQL-Schema-Design
Fachmodell-First: Einstieg in das NoSQL-Schema-DesignFachmodell-First: Einstieg in das NoSQL-Schema-Design
Fachmodell-First: Einstieg in das NoSQL-Schema-Design
 
Back to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer AnwendungBack to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer Anwendung
 
Einfuehrung in mongo_db_iks
Einfuehrung in mongo_db_iksEinfuehrung in mongo_db_iks
Einfuehrung in mongo_db_iks
 
MongoDB: Entwurfsmuster für das NoSQL-Schema-Design
MongoDB: Entwurfsmuster für das NoSQL-Schema-DesignMongoDB: Entwurfsmuster für das NoSQL-Schema-Design
MongoDB: Entwurfsmuster für das NoSQL-Schema-Design
 
Ladezeiten Verbessern - Css Und JavaScript Komprimieren
Ladezeiten Verbessern - Css Und JavaScript KomprimierenLadezeiten Verbessern - Css Und JavaScript Komprimieren
Ladezeiten Verbessern - Css Und JavaScript Komprimieren
 
Zend Framework 2 feat. MongoDB
Zend Framework 2 feat. MongoDBZend Framework 2 feat. MongoDB
Zend Framework 2 feat. MongoDB
 
2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen
2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen
2013-09-12, sfugcgn: CSS-Selektoren für Datenbankabfragen nutzen
 
Performance trotz Entity Framwork
Performance trotz Entity FramworkPerformance trotz Entity Framwork
Performance trotz Entity Framwork
 
Query Result Caching
Query Result CachingQuery Result Caching
Query Result Caching
 
Entity Framework hinter den Kulissen
Entity Framework hinter den KulissenEntity Framework hinter den Kulissen
Entity Framework hinter den Kulissen
 
Fly2pdf
Fly2pdfFly2pdf
Fly2pdf
 

Viewers also liked

The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4turingfan
 
System biology and its tools
System biology and its toolsSystem biology and its tools
System biology and its toolsGaurav Diwakar
 
PO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringPO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringAgnieszka J.
 
DNA Information and Creation (PDF)
DNA Information and Creation (PDF)DNA Information and Creation (PDF)
DNA Information and Creation (PDF)Hans Rudolf Tremp
 
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsAlan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsPersistent Systems Ltd.
 
Multi-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorMulti-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorLevi Waldron
 
Computational Biology and Bioinformatics
Computational Biology and BioinformaticsComputational Biology and Bioinformatics
Computational Biology and BioinformaticsSharif Shuvo
 
Systems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemSystems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemLars Juhl Jensen
 
IBM - Big Value from Big Data
IBM - Big Value from Big DataIBM - Big Value from Big Data
IBM - Big Value from Big DataWilfried Hoge
 
Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Annex Publishers
 
Day in the Life of a Computer Scientist
Day in the Life of a Computer ScientistDay in the Life of a Computer Scientist
Day in the Life of a Computer ScientistJustin Brunelle
 
Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?IoT User Group Hamburg
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformRising Media Ltd.
 
Tutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopTutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopVivek Krishnakumar
 
Computational Approaches to Systems Biology
Computational Approaches to Systems BiologyComputational Approaches to Systems Biology
Computational Approaches to Systems BiologyMike Hucka
 

Viewers also liked (20)

The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4
 
System biology and its tools
System biology and its toolsSystem biology and its tools
System biology and its tools
 
PO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringPO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan Turing
 
Job ppt1
Job ppt1Job ppt1
Job ppt1
 
DNA Information and Creation (PDF)
DNA Information and Creation (PDF)DNA Information and Creation (PDF)
DNA Information and Creation (PDF)
 
Python for Data Science
Python for Data SciencePython for Data Science
Python for Data Science
 
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsAlan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
 
LSESU a Taste of R Language Workshop
LSESU a Taste of R Language WorkshopLSESU a Taste of R Language Workshop
LSESU a Taste of R Language Workshop
 
Donald Knuth
Donald KnuthDonald Knuth
Donald Knuth
 
COMPUTATIONAL BIOLOGY
COMPUTATIONAL BIOLOGYCOMPUTATIONAL BIOLOGY
COMPUTATIONAL BIOLOGY
 
Multi-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorMulti-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/Bioconductor
 
Computational Biology and Bioinformatics
Computational Biology and BioinformaticsComputational Biology and Bioinformatics
Computational Biology and Bioinformatics
 
Systems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemSystems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological system
 
IBM - Big Value from Big Data
IBM - Big Value from Big DataIBM - Big Value from Big Data
IBM - Big Value from Big Data
 
Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)
 
Day in the Life of a Computer Scientist
Day in the Life of a Computer ScientistDay in the Life of a Computer Scientist
Day in the Life of a Computer Scientist
 
Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
 
Tutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopTutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer Workshop
 
Computational Approaches to Systems Biology
Computational Approaches to Systems BiologyComputational Approaches to Systems Biology
Computational Approaches to Systems Biology
 

Similar to MongoDB - Big Data mit Open Source

Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanB1 Systems GmbH
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenB1 Systems GmbH
 
System- & Konfigurationsmanagement mit Foreman & Puppet
System- & Konfigurationsmanagement mit Foreman & Puppet System- & Konfigurationsmanagement mit Foreman & Puppet
System- & Konfigurationsmanagement mit Foreman & Puppet B1 Systems GmbH
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenB1 Systems GmbH
 
OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...
OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...
OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...NETWAYS
 
Ceph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudCeph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudB1 Systems GmbH
 
AdminCamp 2011 Performance
AdminCamp 2011 PerformanceAdminCamp 2011 Performance
AdminCamp 2011 PerformanceUlrich Krause
 
Compact, Compress, De-DUplicate
Compact, Compress, De-DUplicateCompact, Compress, De-DUplicate
Compact, Compress, De-DUplicateUlrich Krause
 
Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?B1 Systems GmbH
 
Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud B1 Systems GmbH
 
Orchestrierung einer Private Cloud mit OpenStack Heat
Orchestrierung einer Private Cloud mit OpenStack Heat Orchestrierung einer Private Cloud mit OpenStack Heat
Orchestrierung einer Private Cloud mit OpenStack Heat B1 Systems GmbH
 
Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanB1 Systems GmbH
 
C/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino DevelopersC/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino DevelopersUlrich Krause
 
TYPO3 CMS 7.1 - Die Neuerungen - pluswerk
TYPO3 CMS 7.1 - Die Neuerungen - pluswerkTYPO3 CMS 7.1 - Die Neuerungen - pluswerk
TYPO3 CMS 7.1 - Die Neuerungen - pluswerkdie.agilen GmbH
 
TYPO3 CMS 7.2 - Die Neuerungen - pluswerk
TYPO3 CMS 7.2 - Die Neuerungen - pluswerkTYPO3 CMS 7.2 - Die Neuerungen - pluswerk
TYPO3 CMS 7.2 - Die Neuerungen - pluswerkdie.agilen GmbH
 
MongoDB: Security-Tipps gegen Hacker
MongoDB: Security-Tipps gegen HackerMongoDB: Security-Tipps gegen Hacker
MongoDB: Security-Tipps gegen HackerGregor Biswanger
 
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEOpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEB1 Systems GmbH
 
TYPO3 CMS 7.6 - Die Neuerungen - pluswerk
TYPO3 CMS 7.6 - Die Neuerungen - pluswerkTYPO3 CMS 7.6 - Die Neuerungen - pluswerk
TYPO3 CMS 7.6 - Die Neuerungen - pluswerkdie.agilen GmbH
 

Similar to MongoDB - Big Data mit Open Source (20)

Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und Foreman
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
 
systemd im Alltag
systemd im Alltagsystemd im Alltag
systemd im Alltag
 
System- & Konfigurationsmanagement mit Foreman & Puppet
System- & Konfigurationsmanagement mit Foreman & Puppet System- & Konfigurationsmanagement mit Foreman & Puppet
System- & Konfigurationsmanagement mit Foreman & Puppet
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
 
OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...
OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...
OSMC 2012 | Automatische Konfiguration von Nagios/Icinga mit Agordamon by Chr...
 
Ceph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudCeph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die Cloud
 
AdminCamp 2011 Performance
AdminCamp 2011 PerformanceAdminCamp 2011 Performance
AdminCamp 2011 Performance
 
Compact, Compress, De-DUplicate
Compact, Compress, De-DUplicateCompact, Compress, De-DUplicate
Compact, Compress, De-DUplicate
 
Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?
 
Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud Sichere und unabhängige Datenverwaltung mit ownCloud
Sichere und unabhängige Datenverwaltung mit ownCloud
 
Orchestrierung einer Private Cloud mit OpenStack Heat
Orchestrierung einer Private Cloud mit OpenStack Heat Orchestrierung einer Private Cloud mit OpenStack Heat
Orchestrierung einer Private Cloud mit OpenStack Heat
 
Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und Foreman
 
C/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino DevelopersC/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino Developers
 
TYPO3 CMS 7.1 - Die Neuerungen - pluswerk
TYPO3 CMS 7.1 - Die Neuerungen - pluswerkTYPO3 CMS 7.1 - Die Neuerungen - pluswerk
TYPO3 CMS 7.1 - Die Neuerungen - pluswerk
 
TYPO3 CMS 7.2 - Die Neuerungen - pluswerk
TYPO3 CMS 7.2 - Die Neuerungen - pluswerkTYPO3 CMS 7.2 - Die Neuerungen - pluswerk
TYPO3 CMS 7.2 - Die Neuerungen - pluswerk
 
MongoDB: Security-Tipps gegen Hacker
MongoDB: Security-Tipps gegen HackerMongoDB: Security-Tipps gegen Hacker
MongoDB: Security-Tipps gegen Hacker
 
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEOpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
 
SuperSUSE – die Lösung für dynamisch wachsenden Speicher
SuperSUSE – die Lösung für dynamisch wachsenden SpeicherSuperSUSE – die Lösung für dynamisch wachsenden Speicher
SuperSUSE – die Lösung für dynamisch wachsenden Speicher
 
TYPO3 CMS 7.6 - Die Neuerungen - pluswerk
TYPO3 CMS 7.6 - Die Neuerungen - pluswerkTYPO3 CMS 7.6 - Die Neuerungen - pluswerk
TYPO3 CMS 7.6 - Die Neuerungen - pluswerk
 

More from B1 Systems GmbH

Ubuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingUbuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingB1 Systems GmbH
 
Ubuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenUbuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenB1 Systems GmbH
 
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoAndroid mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoB1 Systems GmbH
 
Ambilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionAmbilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionB1 Systems GmbH
 
B1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Systems GmbH
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersB1 Systems GmbH
 
Ausrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerAusrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerB1 Systems GmbH
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitBits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitB1 Systems GmbH
 
End of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackEnd of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackB1 Systems GmbH
 
E-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGE-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGB1 Systems GmbH
 
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenSome Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenB1 Systems GmbH
 
Entwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit VagrantEntwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit VagrantB1 Systems GmbH
 
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...B1 Systems GmbH
 
Softwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and SpaceSoftwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and SpaceB1 Systems GmbH
 
Migrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SEMigrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SEB1 Systems GmbH
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersB1 Systems GmbH
 
Openstack im unternehmerischen Einsatz
Openstack im unternehmerischen EinsatzOpenstack im unternehmerischen Einsatz
Openstack im unternehmerischen EinsatzB1 Systems GmbH
 
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...B1 Systems GmbH
 

More from B1 Systems GmbH (20)

Ubuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingUbuntu-/Debian-Packaging
Ubuntu-/Debian-Packaging
 
Ubuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenUbuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreiben
 
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoAndroid mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
 
Ambilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionAmbilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & Hyperion
 
B1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AG
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for Datacenters
 
Ausrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerAusrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit Docker
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitBits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
 
End of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackEnd of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStack
 
E-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGE-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPG
 
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenSome Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
 
Entwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit VagrantEntwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit Vagrant
 
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
 
Softwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and SpaceSoftwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and Space
 
Migrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SEMigrating deployment processes and Continuous Integration at SAP SE
Migrating deployment processes and Continuous Integration at SAP SE
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for Datacenters
 
Openstack im unternehmerischen Einsatz
Openstack im unternehmerischen EinsatzOpenstack im unternehmerischen Einsatz
Openstack im unternehmerischen Einsatz
 
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
Klein, aber oho - Continuous Delivery von Micro Applications mit Jenkins, Doc...
 

MongoDB - Big Data mit Open Source

  • 1. MongoDB – Big Data mit Open Source CommitterConf Essen 2014 29. Oktober 2014 Tilman Beitter Linux Consultant & Trainer B1 Systems GmbH beitter@b1-systems.de B1 Systems GmbH - Linux/Open Source Consulting, Training, Support & Development
  • 2. Vorstellung B1 Systems gegründet 2004 primär Linux/Open Source-Themen national & international tätig über 60 Mitarbeiter unabhängig von Soft- und Hardware-Herstellern Leistungsangebot: Beratung & Consulting Support Entwicklung Training Betrieb Lösungen dezentrale Strukturen B1 Systems GmbH MongoDB – Big Data mit Open Source 2 / 48
  • 3. Schwerpunkte Virtualisierung (XEN, KVM & RHEV) Systemmanagement (Spacewalk, Red Hat Satellite, SUSE Manager) Konfigurationsmanagement (Puppet & Chef) Monitoring (Nagios & Icinga) IaaS Cloud (OpenStack & SUSE Cloud & RDO) Hochverfügbarkeit (Pacemaker) Shared Storage (GPFS, OCFS2, DRBD & CEPH) Dateiaustausch (ownCloud) Paketierung (Open Build Service) Administratoren oder Entwickler zur Unterstützung des Teams vor Ort B1 Systems GmbH MongoDB – Big Data mit Open Source 3 / 48
  • 4. Partner B1 Systems GmbH MongoDB – Big Data mit Open Source 4 / 48
  • 5. Einführung in MongoDB B1 Systems GmbH MongoDB – Big Data mit Open Source 5 / 48
  • 6. Was ist MongoDB? Open Source NoSQL Datenbank schemafrei skalierbar dokumentenorientiert entwickelt durch MongoDB Inc. B1 Systems GmbH MongoDB – Big Data mit Open Source 6 / 48
  • 7. Vergleich RDBMS und NoSQL Vergleich RDBMS und MongoDB-NoSQL RDBMS NoSQL Database Database Table Collection Index Index Row BSON Document Column BSON Field Join Embedding and Linking Primary Key _id Field B1 Systems GmbH MongoDB – Big Data mit Open Source 7 / 48
  • 8. NoSQL „Not Only SQL“ nicht relational keine Tabellenschemata Vermeidung von JOINs horizontale Skalierung B1 Systems GmbH MongoDB – Big Data mit Open Source 8 / 48
  • 9. Das BSON Format „Binary JSON“ bietet mehr Datentypen als JSON ermöglicht Speicherung von Binärdaten entwickelt für MongoDB erweitert zur offiziellen Spezifikation (bsonspec.org) B1 Systems GmbH MongoDB – Big Data mit Open Source 9 / 48
  • 10. Das BSON Format Beispieldokument im BSON-Format: { "Benutzername": "linus.torvalds", "Name": { "Vorname": "linus", "Nachname": "torvalds", }, "ÜbergeordneterChef": {}, "Kollegen": [ "s.example0", "g.example1" ], "IstAbteilungsleiter": true, "Abteilungen": null, } B1 Systems GmbH MongoDB – Big Data mit Open Source 10 / 48
  • 11. Systemkonfiguration B1 Systems GmbH MongoDB – Big Data mit Open Source 11 / 48
  • 12. Hardwarevoraussetzungen Minimale Systemanforderungen: Architektur: 64bit Betriebssystem Multicore CPU Arbeitsspeicher und Speicherplatz: MongoS: OS-Empfehlung Configserver: OS-Empfehlung Datenbankserver: abhängig von Datenbankgröße B1 Systems GmbH MongoDB – Big Data mit Open Source 12 / 48
  • 13. Basiskonfiguration Anpassung der Systemkonfiguration Ulimits Readahead Swap Filesystem Hugepages B1 Systems GmbH MongoDB – Big Data mit Open Source 13 / 48
  • 14. Dateien und Ports Hauptkonfigurationsdatei: /etc/mongodb.conf Logdatei: /var/log/mongodb/mongodb.log Standardports (TCP): 27017: mongod & mongos 27018: monood mit –shardsvr 27019: mongod mit –configsvr 27017: mongod status page (= port + 1000) B1 Systems GmbH MongoDB – Big Data mit Open Source 14 / 48
  • 15. Komponenten der MongoDB B1 Systems GmbH MongoDB – Big Data mit Open Source 15 / 48
  • 16. Komponenten und Begrifflichkeiten 1/2 mongod mongos ConfigServer ReplicaSets Sharding B1 Systems GmbH MongoDB – Big Data mit Open Source 16 / 48
  • 17. Komponenten und Begrifflichkeiten 2/2 Abbildung : MongoDB Standalone/ReplicaSet B1 Systems GmbH MongoDB – Big Data mit Open Source 17 / 48
  • 18. Aufbau – MongoDB Standalone B1 Systems GmbH MongoDB – Big Data mit Open Source 18 / 48
  • 19. Standalone-Instanz Testzwecke Entwicklung kleine Applikationen (keine Redundanz!) B1 Systems GmbH MongoDB – Big Data mit Open Source 19 / 48
  • 20. Konfiguration Standalone Basiskonfiguration: # cat /etc/mongodb.conf fork = true port = 27017 bind_ip = 127.0.0.1 dbpath = /data/mongodb logpath = /var/log/mongodb/mongodb.log logappend = true nohttpinterface = true B1 Systems GmbH MongoDB – Big Data mit Open Source 20 / 48
  • 21. Authentifizierung 1/3 Authentifizierung in Basiskonfiguration inaktiv Benutzerauthentifizierung pro Datenbank Rechtevergabe anhand eines Rollensystems B1 Systems GmbH MongoDB – Big Data mit Open Source 21 / 48
  • 22. Authentifizierung 2/3 Anlegen Admin-User zur Aktivierung des Auth-Systems: $ mongo admin connecting to: admin > db.addUser("admin", "password"); { "user" : "admin", "readOnly" : false, "pwd" : "9e7085a6bd3bd9d413444d3adad882bd", "_id" : ObjectId("526c39bbaa18b118ec0fc039") } B1 Systems GmbH MongoDB – Big Data mit Open Source 22 / 48
  • 23. Authentifizierung 3/3 Anlage eines Applikationsbenutzers: $ mongo admin -u admin -p connecting to: admin > use customers > db.addUser({user:"demo",pwd:"password",roles:["read"]}) { "user" : "demo", "pwd" : "cd9297683105acbc2b7d9a4a8e2c043b", "roles" : [ "read" ], "_id" : ObjectId("544df94cb6809cdd0bba4107") } B1 Systems GmbH MongoDB – Big Data mit Open Source 23 / 48
  • 24. Liveaufbau Standalone B1 Systems GmbH MongoDB – Big Data mit Open Source 24 / 48
  • 25. Aufbau – MongoDB ReplicaSet B1 Systems GmbH MongoDB – Big Data mit Open Source 25 / 48
  • 26. MongoDB ReplicaSet 1/4 bietet Redundanz kann Kapazität bei Reads erhöhen erleichtert Backupstrategien und Restores besteht aus 3-12 mongod existentes Standalone-System kann migriert werden B1 Systems GmbH MongoDB – Big Data mit Open Source 26 / 48
  • 27. MongoDB ReplicaSet 2/4 B1 Systems GmbH MongoDB – Big Data mit Open Source 27 / 48
  • 28. MongoDB ReplicaSet 3/4 B1 Systems GmbH MongoDB – Big Data mit Open Source 28 / 48
  • 29. MongoDB ReplicaSet 4/4 B1 Systems GmbH MongoDB – Big Data mit Open Source 29 / 48
  • 30. Konfiguration ReplicaSet Basiskonfiguration: # cat /etc/mongodb.conf fork = true port = 27017 bind_ip = 127.0.0.1 dbpath = /data/mongodb logpath = /var/log/mongodb/mongodb.log logappend = true nohttpinterface = true auth = true keyFile = /etc/mongodb.key replSet = rs00 B1 Systems GmbH MongoDB – Big Data mit Open Source 30 / 48
  • 31. Konfiguration ReplicaSet Für die interne Authentifizierung der einzelnen Clusterkomponenten wird ein Authkey erstellt: # openssl rand -base64 741 > /etc/mongodb.key # chmod 0600 /etc/auth.key # chown mongodb:mongodb /etc/mongodb.key B1 Systems GmbH MongoDB – Big Data mit Open Source 31 / 48
  • 32. Initialisierung ReplicaSet Basiskonfiguration: $ mongo admin -u admin -p > newSet = { _id: ’rs00’, members: [ ... {_id: 0, host: ’mongodb-rs00-01:27117’}, ... {_id: 1, host: ’mongodb-rs00-02:27127’}, ... {_id: 2, host: ’mongodb-rs00-03:27137’}]} > rs.initiate(newSet) [...] > rs.status() [...] B1 Systems GmbH MongoDB – Big Data mit Open Source 32 / 48
  • 33. Liveaufbau ReplicaSet B1 Systems GmbH MongoDB – Big Data mit Open Source 33 / 48
  • 34. Aufbau – MongoDB ShardedCluster B1 Systems GmbH MongoDB – Big Data mit Open Source 34 / 48
  • 35. MongoDB ShardedCluster 1/5 bietet vertikale Skalierbarkeit kann Kapazität von Writes erhöhen erweitert verfügbaren Speicherplatz B1 Systems GmbH MongoDB – Big Data mit Open Source 35 / 48
  • 36. MongoDB ShardedCluster 2/5 Minimalsetup für einen redundanten MongoDB Cluster: 2 ReplicaSets mit jeweils 3 mongod-Instanzen 3 ConfigServer 2 MongoS Instanzen B1 Systems GmbH MongoDB – Big Data mit Open Source 36 / 48
  • 37. MongoDB ShardedCluster 3/5 Abbildung : Sharded Cluster B1 Systems GmbH MongoDB – Big Data mit Open Source 37 / 48
  • 38. MongoDB ShardedCluster 4/5 Abbildung : Sharded Cluster - Beispiel 2 B1 Systems GmbH MongoDB – Big Data mit Open Source 38 / 48
  • 39. MongoDB ShardedCluster 5/5 Abbildung : Sharded Cluster - Beispiel 3 B1 Systems GmbH MongoDB – Big Data mit Open Source 39 / 48
  • 40. Konfiguration ConfigServer Basiskonfiguration: # cat /etc/mongodb.conf fork = true port = 27019 bind_ip = 127.0.0.1 dbpath = /data/mongodb auth = true keyFile = /etc/mongodb.key logpath = /var/log/mongodb/mongodb.log logappend = true nohttpinterface = true configsvr = true B1 Systems GmbH MongoDB – Big Data mit Open Source 40 / 48
  • 41. Konfiguration MongoS Basiskonfiguration: # cat /etc/mongodb.conf fork = true bind_ip = 127.0.0.1 port = 27017 keyFile = /etc/mongodb.key logpath = /var/log/mongodb/mongodb.log logappend = true nohttpinterface = true configdb = mongodb-cfg-01:27019,mongodb-cfg-02:27029,mongodb-cfg-03:27039 B1 Systems GmbH MongoDB – Big Data mit Open Source 41 / 48
  • 42. Initialisierung Cluster 1/2 Anlegen Adminuser Cluster: $ mongo admin connecting to: admin mongos> db.addUser("admin", "password"); { "user" : "admin", "readOnly" : false, "pwd" : "9e7085a6bd3bd9d413444d3adad882bd", "_id" : ObjectId("526c39bbaa18b118ec0fc039") } B1 Systems GmbH MongoDB – Big Data mit Open Source 42 / 48
  • 43. Initialisierung Cluster 2/2 Anlegen Adminuser Cluster: $ mongo admin -u admin -p connecting to: admin mongos> use config switched to db config mongos> sh.addShard("rs00/mongodb-rs00-01:27117") { "shardAdded" : "rs00", "ok" : 1 } mongos> sh.status() [...] B1 Systems GmbH MongoDB – Big Data mit Open Source 43 / 48
  • 44. Aktivierung Sharding Anlegen Adminuser Cluster: mongos> sh.enableSharding("demodata") { "ok" : 1 } mongos> sh.shardCollection("demodata.products", {_id:1}) { "collectionsharded" : "demodata.products", "ok" : 1 } mongos> sh.status() [...] B1 Systems GmbH MongoDB – Big Data mit Open Source 44 / 48
  • 45. Liveaufbau ReplicaSet B1 Systems GmbH MongoDB – Big Data mit Open Source 45 / 48
  • 46. Optionale Komponenten B1 Systems GmbH MongoDB – Big Data mit Open Source 46 / 48
  • 47. Optionale Komponenten Arbiter Hidden Member Delayed Member B1 Systems GmbH MongoDB – Big Data mit Open Source 47 / 48
  • 48. Vielen Dank für Ihre Aufmerksamkeit! Bei weiteren Fragen wenden Sie sich bitte an info@b1-systems.de oder +49 (0)8457 - 931096 B1 Systems GmbH - Linux/Open Source Consulting, Training, Support & Development