Mesosphere and Percona Server for MongoDB Jeff Sandstrom, Product Manager (Percona) Ravi Yadav, Tech. Partnerships Lead (Mesosphere)
Mesosphere DC/OS MICROSERVICES, CONTAINERS, & DEV TOOLS DATA SERVICES, MACHINE LEARNING, & AI Broad workload coverage 1 Run today & tomorrow’s applications including traditional J2EE, containers, analytics & ML 20+ 100+ MORE MORE Application-aware automation 2 Application-Aware Security & Hybrid Cloud Multitenancy Automate workload-specific operating procedures to Automation Compliance Management “as-a-Service” anything from Kubernetes to data services Intelligent resource pooling 3 Datacenter and Cloud as a Single Computing Resource Optimize workload density for highest utilization with Powered by Apache Mesos resource guarantees Unified hybrid cloud operations PHYSICAL INFRASTRUCTURE VIRTUAL MACHINES PUBLIC CLOUDS 4 Securely manage cloud, datacenter, and edge infrastructures from a single control plane Edge Datacenter
Mesos Architecture Spark Cassandra Container Scheduler Scheduler Scheduler Two-level Scheduling 1. Agents advertise resources to Master Mesos Mesos Mesos Master Master Master 2. Master offers resources to Framework 3. Framework rejects / uses resources 4. Agent reports task status to Master Mesos Agent Mesos Agent Mesos Agent Service Mesos Agent Service Docker Cassandra Spark Spark Executor Executor Executor Executor Spark Docker Spark Cassandra Task Task Task Task 3 3
Stateful Problems ● Preparation before the main task ● Runtime execution against state ○ once ○ scheduled ○ user-defined arguments ○ maintenance 4
Stateful Problems ● Conditional recovery scenarios ○ Cassandra: replacing a dead node or dead seed node ○ HDFS: replacing a dead name node ○ HDFS: replacing a dead journal node ● Conditional deployment scenarios ○ HDFS: deployment 5
DC/OS Commons SDK Services Finite State Machine Execution Plans Mongo Kafka Elastic Automated Recovery Universe Packaging App Configuration Networking & Discovery Best Practices Storage Security Platform Feature Integration Monitoring SDK Offer Evaluation Apache Mesos API Resource Accounting Task Reconciliation Tools and Utilities Developer Environment Documentation Integration Test Framework Developer Guide Tutorials & Code Samples Platform API Reference DC/OS 6
DC/OS SDK Use Cases ● A declarative orchestration ● MongoDB! abstraction for Apache Mesos and ● Kubernetes DC/OS. ● Kafka ● Cassandra ● An Apache Mesos scheduler ● Elastic factory. ● HDFS ● EdgeLB ● many more... 7
DC/OS SDK Features ● Rolling configuration / software updates ● Separate deployment / update plans ● Easy Mesos feature consumption ○ CNI, rlimits, readiness checks, running and finished goal states, discoverability of dns, persistent volumes, security features (proprietary) … 8
DC/OS SDK Features ● Horizontal scale out ● Sidecars ● Vertical scaling ● Placement constraints ● Service discovery ● Configuration templating ● Virtual Networks (CNI) ● Rolling updates (configuration) ● Readiness checks ● Rolling upgrades (binaries) ● Health checks ● GPUs ● Custom recovery ● Fine-grained plan control ● Persistent volumes ● Secrets (EE) ● Resource sets ● Security (EE) ● Operator friendly tools (API) ● TLS provisioning (EE) 9
Percona Server for MongoDB COMMUNITY EDITION ENTERPRISE Free and open source Free and open source Subscription ($) MongoDB Community Edition plus: Red Hat identity management ● certification Database Kerberos & LDAP authentication ● Auditing LDAP Percona ● Auditing Authentication Memory SNMP support ● Engine Encrypted storage engine ● In-memory storage engine ● ● Platform certifications: Windows, RedHat/CentOS, Ubuntu, Amazon Linux COMMUNITY Log Hot Commercial licenses, warranty, ● Redaction Backups EDITION and indemnification 10
Percona Server for MongoDB on DC/OS ● Simple installation of MongoDB via ● Auto-configuration of MongoDB UI or CLI Replica Set Configuration ● Single-command installation for rapid ● Auto-configuration of system-level users provisioning for backups and user management ● Multiple MongoDB Replica Sets within a ● CLI actions for Add/Update/Remove of single DC/OS cluster MongoDB Users ● Storage volumes for enhanced data ● Logical backup support with Amazon durability, known as Mesos Dynamic Web Services S3 remote upload Reservations and Persistent Volumes ● Support for auto-deploy of Hidden ● Support for all Percona Server for Replica Set Member for zero-impact MongoDB storage engines, including backups the WiredTiger, MongoRocks, ● Percona Server for MongoDB Auditing InMemory, and MMAPv1 storage support engines 11
12
13
14
Participate in the PSMDB on DC/OS Beta! 1.Install DC/OS (https://dcos.io/install) 2.Search the DC/OS Catalog for percona-mongo 3.Install the percona-mongo package 4.Provide feedback to mesosphere@percona.com NOTE: Replica sets today, sharding later this year 15
Rate My Session 16
Resources Documentation : https://docs.mesosphere.com/services/percona-mongo SDK https://github.com/mesosphere/dcos-commons https://mesosphere.github.io/dcos-commons/developer-guide/ https://docs.mesosphere.com/services/ops-guide/ 17
Thank You!
Recommend
More recommend